blackbeam / rust-mysql-simple

Mysql client library implemented in rust.
Apache License 2.0
652 stars 145 forks source link

Support on `MYSQL_TYPE_TEXT` #336

Open wangxiaoying opened 1 year ago

wangxiaoying commented 1 year ago

Currently if the column is specified as TEXT type, the column_type() result we get is MYSQL_TYPE_BLOB, which is the same with BLOB type, and thus cannot differentiate binary and non-binary strings.

Should we add new types like MYSQL_TYPE_TEXT, or is there a way workaround?