Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-810

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

    Details

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

      Description

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

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

      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.

        Activity

        Hide
        Doctrine Bot added a comment -

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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: