Skip to content

Commit

Permalink
[Cache][Lock] Fix PDO store not creating table + add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HypeMC committed Nov 20, 2023
1 parent f84fd4f commit cbcd80a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Session/Storage/Handler/SessionHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public static function createHandler($connection): AbstractSessionHandler
}

$connection = DriverManager::getConnection($params, $config);
// The condition should be removed once support for DBAL <3.3 is dropped
$connection = method_exists($connection, 'getNativeConnection') ? $connection->getNativeConnection() : $connection->getWrappedConnection();
// no break;

Expand Down

0 comments on commit cbcd80a

Please sign in to comment.