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
Attempting to use a char MySqlParameter with type Char causes an exception at AppendSqlString():
System.NotSupportedException: Parameter type Char (DbType: StringFixedLength) not currently supported.
Workaround: call ToString() on the character value when creating the MySqlParameter, but kind of annoying. Requires a shim or property type change if using Dapper or other ORM. Connector/NET handles this OOTB.
Seems like it should be a quick fix, I'll try to come back to this later. Trying to get tests to pass locally before modifying anything.
Activity
Support char-valued parameters. Fixes #412
Support char-valued parameters. Fixes #412
bgrainger commentedon Dec 20, 2017
Fixed in 0.33.2.