-
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 | ||
Mocks | ||
Types | ||
DbalFunctionalTestCase.php | ||
DbalTestCase.php | ||
DoctrineTestCase.php | ||
TestInit.php | ||
TestUtil.php |