• 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
bin Loading commit data...
docs Loading commit data...
lib Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
UPGRADE.md Loading commit data...
build.properties Loading commit data...
build.xml Loading commit data...
composer.json Loading commit data...
phpunit.xml.dist Loading commit data...
run-all.sh Loading commit data...