Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of deeky666:
This fixes an error in the LOCATE expression on SQL Anywhere by using the native LOCATE SQL function now, as well as an error with the LOCATE expression on SQLite where the offset was evaluated incorrectly.
Also added functional tests to finally verify this stuff.
Comment created by @doctrinebot:
A related Github Pull-Request [GH-559] was closed:
Comment created by @deeky666:
Fixed in commit: 0833d00
Issue was closed with resolution "Fixed"