Skip to content

Commit

Permalink
Revert workaround for persistent PDO connections (#6623)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored Nov 24, 2024
1 parent 437cb2f commit 8138048
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Driver/PDO/PDOConnect.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ private function doConnect(
string $password,
array $options,
): PDO {
// see https://github.com/php/php-src/issues/16314
if (PHP_VERSION_ID < 80400 || ($options[PDO::ATTR_PERSISTENT] ?? false) === true) {
if (PHP_VERSION_ID < 80400) {
return new PDO($dsn, $username, $password, $options);
}

Expand Down

0 comments on commit 8138048

Please sign in to comment.