Skip to content

Commit

Permalink
use Equals method for sql.Types
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifersp committed Nov 7, 2024
1 parent 3281d09 commit 260794c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/types/conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,6 @@ func TypesEqual(a, b sql.Type) bool {
}
return false
default:
return a == b
return a.Equals(b)
}
}

0 comments on commit 260794c

Please sign in to comment.