[teiid-issues] [JBoss JIRA] Created: (TEIID-1281) DB2 substring index bounds are different than teiid

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Tue Sep 28 11:11:28 EDT 2010


DB2 substring index bounds are different than teiid
---------------------------------------------------

                 Key: TEIID-1281
                 URL: https://jira.jboss.org/browse/TEIID-1281
             Project: Teiid
          Issue Type: Quality Risk
          Components: Misc. Connectors
    Affects Versions: 7.0
            Reporter: Steven Hawkins
            Assignee: Steven Hawkins
            Priority: Minor
             Fix For: 7.3


DB2/Derby do not allow the start argument to be negative or be greater than or equal to the length.  The length parameter cannot be negative (Teiid returns null), and it plus the start cannot exceed the string length.

In general we are inconsistent with our handling of negative string indexing.  For example the locate function.  We should look at making this more consistent in Teiid 8.

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

        


More information about the teiid-issues mailing list