• 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
..
Driver Loading commit data...
Events Loading commit data...
Functional Loading commit data...
Logging Loading commit data...
Mocks Loading commit data...
Platforms Loading commit data...
Portability Loading commit data...
Query Loading commit data...
Schema Loading commit data...
Sharding Loading commit data...
Types Loading commit data...
ConfigurationTest.php Loading commit data...
ConnectionTest.php Loading commit data...
DBALExceptionTest.php Loading commit data...
DriverManagerTest.php Loading commit data...
SQLParserUtilsTest.php Loading commit data...
StatementTest.php Loading commit data...
UtilTest.php Loading commit data...