Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-854

[GH-559] Fix LOCATE expression on SQL Anywhere and SQLite

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: Platforms
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of deeky666:

      Url: https://github.com/doctrine/dbal/pull/559

      Message:

      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.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-559] was closed:
        https://github.com/doctrine/dbal/pull/559

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-559] was closed: https://github.com/doctrine/dbal/pull/559
        Show
        Steve Müller added a comment - Fixed in commit: https://github.com/doctrine/dbal/commit/0833d00b1c3674b49091221491ba55f00424711c

          People

          • Assignee:
            Steve Müller
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: