We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6cd9da commit 5d22a62Copy full SHA for 5d22a62
sql/types/conversion.go
@@ -559,8 +559,7 @@ func TypesEqual(a, b sql.Type) bool {
559
// https://dev.mysql.com/doc/refman/8.4/en/flow-control-functions.html#function_if and
560
// https://dev.mysql.com/doc/refman/8.4/en/flow-control-functions.html#function_ifnull
561
// TODO: Currently returns the most general type via Promote(). Update to match MySQL (pick the more general of the two
562
-//
563
-// given types)
+// given types)
564
func GeneralizeTypes(a, b sql.Type) sql.Type {
565
if IsText(a) || IsText(b) {
566
// TODO: handle case-sensitive strings
0 commit comments