Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-468

[GH-288] Fix fetchColumn not caching

    Details

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

      Description

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

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

      Message:

      Column cache wasn't working because the emptied flag is only set
      when fetch no longer returns a row. With fetch column the code
      only calls fetch once and so emptied flag never got set.

      Created two test cases, one to test fetchColumn, and one to test
      that the return value is false if the data doesn't get saved in the cache.

        Issue Links

          Activity

          Benjamin Eberlei created issue -
          Benjamin Eberlei made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Invalid [ 6 ]
          Benjamin Eberlei made changes -
          Link This issue relates to DBAL-715 [ DBAL-715 ]

            People

            • Assignee:
              Benjamin Eberlei
              Reporter:
              Benjamin Eberlei
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: