This commit is contained in:
Zach Musgrave
2025-12-08 17:37:34 -08:00
parent 85884d4159
commit 5583bca12d

View File

@@ -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
}
}