locate function returns invalid value when first parameter is empty string
--------------------------------------------------------------------------
Key: DERBY-1949
URL: http://issues.apache.org/jira/browse/DERBY-1949
Project: Derby
Issue Type: Bug
Components: SQL
Affects Versions: 10.2.1.6, 10.1.3.1
Environment: N/A
Reporter: Oleksandr Alesinskyy
locate function returns false invalid when first parameter is empty string,
e.g.
values(locate('','A')
results in 1, which is obviously wrong
--
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