~maria-captains/mariadb-java-client/trunk

Viewing all changes in revision 416.

  • Committer: Vladislav Vaintroub
  • Date: 2013-03-07 20:47:19 UTC
  • Revision ID: wlad@montyprogram.com-20130307204719-c93jtina3yt4u6gz
CONJ-28 : CHAR BINARY or VARCHAR BINARY field are erronerously handled as BINARY type.
They should be treated as character, as  BINARY only specified collation (i.e sort order), but the column still contains strings  not blobs.

The patch fixes MySQLColumnInformation.isBinary() function to return true only  character set is 63 - the  binary pseudo-charset code

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: