Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-963

[GH-652] Add close() method in MasterSlaveConnection.php

    Details

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

      Description

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

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

      Message:

      MasterSlaveConnection would use parent::close() to close connection, and it would close master connection, but slave connection.

      That will increase the sqlite connections, and occur the "too many open files" error when I run our test.

        Issue Links

          Activity

          Hide
          Doctrine Bot added a comment -

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

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

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: