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 -
          Hide
          Doctrine Bot added a comment -

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

          Show
          Doctrine Bot added a comment - A related Github Pull-Request [GH-288] was closed: https://github.com/doctrine/dbal/pull/288
          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 ]

          This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

          • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DBAL-468, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

            People

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

              Dates

              • Created:
                Updated:
                Resolved: