Andy Dustman - 2007-04-03

Logged In: YES
user_id=71372
Originator: NO

There's already a related bug for this, but I think I closed it with a Later resolution, because I'll need API changes to fix it.

Also see the bottom of this page:

http://dev.mysql.com/doc/refman/5.0/en/c-api-datatypes.html

"To distinguish between binary and non-binary data for string data types, check whether the charsetnr value is 63. If so, the character set is binary, which indicates binary rather than non-binary data. This is how to distinguish between BINARY and CHAR, VARBINARY and VARCHAR, and BLOB and TEXT."

Right now there's no good way to do this.