mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-08 00:39:48 -06:00
bug fix
This commit is contained in:
@@ -296,12 +296,12 @@ func convertLiteralKeyValue(ctx *sql.Context, colTyp sql.ColumnExpressionType, v
|
||||
// For extended types, use the rich type conversion methods
|
||||
if srcEt, ok := srcType.(sql.ExtendedType); ok {
|
||||
if destEt, ok := destType.(sql.ExtendedType); ok {
|
||||
converted, err := destEt.ConvertToType(ctx, srcEt, val.Value())
|
||||
converted, inRange, err := destEt.ConvertToType(ctx, srcEt, val.Value())
|
||||
if err != nil {
|
||||
return nil, false, err
|
||||
}
|
||||
|
||||
return converted, sql.InRange, nil
|
||||
return converted, inRange, nil
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user