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

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Mon Jan 24 14:30:53 EST 2011


     [ https://issues.jboss.org/browse/TEIID-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-1281.
-----------------------------------

    Resolution: Done


added handling only for the length parameter and added a note in the release notes that negative start indexing is not supported by db2/derby.

> DB2 substring index bounds are different than teiid
> ---------------------------------------------------
>
>                 Key: TEIID-1281
>                 URL: https://issues.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.4
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list