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
In Connector/NET, MySqlDataReader.GetX is lax, and will usually succeed when asked to convert a column of any MySqlDbType to the X CLR type (e.g., call GetDecimal on a MEDIUMINT UNSIGNED column, or call GetString on a FLOAT column).
MySqlConnector is much stricter and (currently) mostly only performs Int16/Int32/Int64 conversions.
If the strict conversion rules are kept (see #406) then they should be documented in "Migrating from Connector/NET".
The text was updated successfully, but these errors were encountered:
In Connector/NET,
MySqlDataReader.GetX
is lax, and will usually succeed when asked to convert a column of any MySqlDbType to theX
CLR type (e.g., callGetDecimal
on aMEDIUMINT UNSIGNED
column, or callGetString
on aFLOAT
column).MySqlConnector is much stricter and (currently) mostly only performs Int16/Int32/Int64 conversions.
If the strict conversion rules are kept (see #406) then they should be documented in "Migrating from Connector/NET".
The text was updated successfully, but these errors were encountered: