Unicode <-> CHAR(1)
MySQL database connector for Python programming
Brought to you by:
adustman
This line in Connection.init looks like it should be
removed:
conv[FIELD_TYPE.CHAR] = u
CHAR, BOOL and TINY are all equivalent, and by default
mapped to int, which is definitely what you want for
BOOL.
It's only when enabling unicode translation that this line of
code executes and causes transformation of CHAR/BOOL/
TINY fields to unicode strings...
Sorry if this is a known issue, I didn't dig around too far.
Logged In: YES
user_id=71372
This has been fixed in the current CVS tree.
Logged In: YES
user_id=71372
you are correct, fixed post-0.9.3b1