Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1742

SYSTEMALIAS column of type BOOLEAN in SYS.SYSALIASES is created with the incorrect maximun length of 0

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1
    • None
    • SQL
    • Normal

    Description

      Boolean type's correct maximum width is 1.

      Seen by the COLUMN_SIZE column from DatabaseMetaData.getColumns returning 0 instead of 1.

      Caused by passing a 0 instead of a 1 in SYSAliasesRowFactory, will be fixed by DERBY-1734, which stops
      code like this passing in information that is redundant (and hence a chance for it to be wrong).

      Don't believe ir has any affect on the runtime behaviour of the system, adding this issue to investigate if an upgrade fix is required
      or just leave it at the wrong value for old databases.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              djd Daniel John Debrunner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: