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

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Fri May 13 12:40:52 EDT 2011


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

Steven Hawkins closed TEIID-1281.
---------------------------------



> 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