MariaDB Client Library for Java Applications
  1. MariaDB Client Library for Java Applications
  2. CONJ-15

MySQLDatabaseMetaData.getColumns returns column size values 3 times their size

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: jdbc-1.1.1
    • Labels:
      None
    • Global Rank:
      2432

      Description

      MySQLDatabaseMetaData.getColumns is returning values 3 times as big as they should be for column sizes. This is due to LEAST(CHARACTER_OCTET_LENGTH,"Integer.MAX_VALUE") being used instead of LEAST(CHARACTER_MAXIMUM_LENGTH,"Integer.MAX_VALUE") for the column 'COLUMN_SIZE'.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Vladislav Vaintroub
            Reporter:
            George El Boustani
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h