Skip to content

Commit dff2d00

Browse files
committed
[ga-format-pr] Run ./format_repo.sh to fix formatting
1 parent 97605e7 commit dff2d00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/types/conversion.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ func GeneralizeTypes(a, b sql.Type) sql.Type {
642642
if b == Null {
643643
return a
644644
}
645-
645+
646646
if a == b {
647647
return a
648648
}
@@ -720,11 +720,11 @@ func GeneralizeTypes(a, b sql.Type) sql.Type {
720720
if IsNumber(a) && IsNumber(b) {
721721
return generalizeNumberTypes(a, b)
722722
}
723-
723+
724724
if IsText(a) || IsText(b) {
725725
return a
726726
}
727-
727+
728728
// TODO: decide if we want to make this VarChar to match MySQL, match VarChar length to max of two types
729729
return LongText
730730
}

0 commit comments

Comments
 (0)