Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-488

[GH-301] Fixing issue when number of positional parameters != number of given types

    Details

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

      Description

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

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

      Message:

      When passing incomplete type information to `Connection::query()`, `SQLParserUtils` currently behaves the wrong way as it ignores all typing information instead falling back to a default (`PDO::PARAM_STR`). I don���t know this place very well, so please review carefully.

        Activity

        Hide
        Doctrine Bot added a comment -

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

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-301] was closed: https://github.com/doctrine/common/pull/301
        Hide
        Doctrine Bot added a comment -

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

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-301] was closed: https://github.com/doctrine/dbal/pull/301

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: