esnme/ultramysql — pull request #12 by hongqn (2012-02-29 05:55:33+00:00)
Title: Decode string for *TEXT columns

MySQL uses BLOB type code family to represent both *BLOB and *TEXT column types. In original code, they are both treated as binary BLOBs, hence ignore the charset and return python strings. This pull request use the field flags to find out the real type, and decode to unicode if it is a TEXT column.