doctrine/dbal — pull request #559 by deeky666 (2014-03-31 19:18:07+00:00)
Title: Fix LOCATE expression on SQL Anywhere and SQLite

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.