You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not 100% sure what the equivalent is for Postgres, but the problem that prompted this issue doesn't exist there.
In MySQL, numeric columns can be unsigned. Unfortunately, the DATA_TYPE column does not report that (but the COLUMN_TYPE column does). It's impossible to have a uint or its variants in Go with the currently exposed data. It's therefore possible to send invalid values to MySQL (such as negatives).
The text was updated successfully, but these errors were encountered:
resolvesgnormal#86
In MySQL, the DATA_TYPE column contains only the basic type of the
column. The COLUMN_TYPE column provides a more detailed explanation of
the column's type, including "unsigned" for numeric types.
I'm not 100% sure what the equivalent is for Postgres, but the problem that prompted this issue doesn't exist there.
In MySQL, numeric columns can be unsigned. Unfortunately, the DATA_TYPE column does not report that (but the COLUMN_TYPE column does). It's impossible to have a
uint
or its variants in Go with the currently exposed data. It's therefore possible to send invalid values to MySQL (such as negatives).The text was updated successfully, but these errors were encountered: