Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1394

getColumnDisplaySize() method returns incorrect value for varchar columns

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.3.0, 3.3.0, 4.2.1, 3.2.1
    • Labels:
      None
    • Environment:

      windows 7

      Description

      The ResultSetMetaData.getColumnDisplaySize() method returns incorrect value for varchar columns. For example: for a varchar(20) column, getColumnDisplaySize() incorrectly returns value of 10 instead of 20. This contrasts with a char(20) column, for which getColumnDisplaySize() returns the correct value of 20.

        Attachments

        1. PHOENIX-1394.patch
          5 kB
          Samarth Jain

          Issue Links

            Activity

              People

              • Assignee:
                samarthjain Samarth Jain
                Reporter:
                sergiolob Sergio Lob
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: