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

                 Key: DERBY-1742
                 URL: http://issues.apache.org/jira/browse/DERBY-1742
             Project: Derby
          Issue Type: Bug
          Components: SQL
    Affects Versions: 10.1.3.1, 10.1.3.0, 10.1.2.1, 10.1.1.0, 10.0.2.1, 10.0.2.0
            Reporter: Daniel John Debrunner
            Priority: Trivial


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to