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 97605e7 commit dff2d00Copy full SHA for dff2d00
sql/types/conversion.go
@@ -642,7 +642,7 @@ func GeneralizeTypes(a, b sql.Type) sql.Type {
642
if b == Null {
643
return a
644
}
645
-
+
646
if a == b {
647
648
@@ -720,11 +720,11 @@ func GeneralizeTypes(a, b sql.Type) sql.Type {
720
if IsNumber(a) && IsNumber(b) {
721
return generalizeNumberTypes(a, b)
722
723
724
if IsText(a) || IsText(b) {
725
726
727
728
// TODO: decide if we want to make this VarChar to match MySQL, match VarChar length to max of two types
729
return LongText
730
0 commit comments