• Jason Allred's avatar
    Prevent Connection from maintaining a second reference to an injected PDO... · 731e9287
    Jason Allred authored
    Prevent Connection from maintaining a second reference to an injected PDO object. Previously, if a developer explicitly closed the Connection, only the _conn reference was destroyed, but the _params['pdo'] reference remained and kept the PDO connection alive. By unsetting the _params reference, we maintain only the _conn reference, exactly as if the PDO connection is generated internally.
    731e9287
Name
Last commit
Last update
..
DBAL Loading commit data...
Mocks Loading commit data...
Types Loading commit data...
DbalFunctionalTestCase.php Loading commit data...
DbalTestCase.php Loading commit data...
DoctrineTestCase.php Loading commit data...
TestInit.php Loading commit data...
TestUtil.php Loading commit data...