Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-15

MySQLDatabaseMetaData.getColumns returns column size values 3 times their size

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.1
    • Component/s: None
    • Labels:
      None

      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'.

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              wlad Vladislav Vaintroub
              Reporter:
              george 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