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

Viewing all changes in revision 397.

  • Committer: Vladislav Vaintroub
  • Date: 2013-02-02 13:37:14 UTC
  • Revision ID: wlad@montyprogram.com-20130202133714-1qc4us4xuzisbuvg
CONJ-15 - DatabaseMedataData.getColumns() returned incorrect value in "COLUMN_SIZE" column for character data.

Fix is to use I_S.COLUMNS.CHARACTER_MAXIMUM_LENGTH instead of I_IS.COLUMNS.CHARACTER_OCTET_LENGTH
to calculate COLUMN_SIZE

Also, return COLUMN_SIZE for temporal datatypes instead of NULL.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: