Skip to content

Commit 5d22a62

Browse files
committed
fix comment
1 parent c6cd9da commit 5d22a62

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sql/types/conversion.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,8 +559,7 @@ func TypesEqual(a, b sql.Type) bool {
559559
// https://dev.mysql.com/doc/refman/8.4/en/flow-control-functions.html#function_if and
560560
// https://dev.mysql.com/doc/refman/8.4/en/flow-control-functions.html#function_ifnull
561561
// TODO: Currently returns the most general type via Promote(). Update to match MySQL (pick the more general of the two
562-
//
563-
// given types)
562+
// given types)
564563
func GeneralizeTypes(a, b sql.Type) sql.Type {
565564
if IsText(a) || IsText(b) {
566565
// TODO: handle case-sensitive strings

0 commit comments

Comments
 (0)