db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Pendleton (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-1949) locate function documentation should clarify behavior when first parameter is empty string
Date Fri, 30 Mar 2007 05:28:25 GMT

     [ https://issues.apache.org/jira/browse/DERBY-1949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bryan Pendleton updated DERBY-1949:
-----------------------------------

    Component/s: Documentation
    Description: 
Documentation for the locate function does not clearly explain the behavior when first parameter
is empty string, e.g. 

values locate('','A')

results in 1, and 

values locate('', 'ABC', 5)

returns 5, but the documentation does not clearly explain why this is so.

  was:
locate function returns false invalid when first parameter is empty string,
e.g. 

values(locate('','A')

results in 1, which is obviously wrong

     Derby Info:   (was: [Existing Application Impact])
        Summary: locate function documentation should clarify behavior when first parameter
is empty string  (was: locate function returns invalid value when first parameter is empty
string)

Thanks Dan. Good points. I tried to clarify the summary and description. I will also change
the resolution.

> locate function documentation should clarify behavior when first parameter is empty string
> ------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1949
>                 URL: https://issues.apache.org/jira/browse/DERBY-1949
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation, SQL
>    Affects Versions: 10.1.3.1, 10.2.1.6
>         Environment: N/A
>            Reporter: Oleksandr Alesinskyy
>         Assigned To: Bryan Pendleton
>             Fix For: 10.3.0.0
>
>         Attachments: docs.diff, docs_v2.diff, rrefsqlj61998.html, rrefsqlj61998.html
>
>
> Documentation for the locate function does not clearly explain the behavior when first
parameter is empty string, e.g. 
> values locate('','A')
> results in 1, and 
> values locate('', 'ABC', 5)
> returns 5, but the documentation does not clearly explain why this is so.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message