fix(db): Too few arguments for Doctrine\DBAL\Driver::getDatabasePlatform - expecting versionProvider to be passed

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2024-07-02 10:58:05 +02:00
parent 5823d58d30
commit e8ef23d052
No known key found for this signature in database
GPG key ID: 74434EFE0D2E2205

View file

@ -702,7 +702,7 @@ class Connection extends PrimaryReadReplicaConnection {
}
try {
$this->_conn->query($this->getDriver()->getDatabasePlatform()->getDummySelectSQL());
$this->_conn->query($this->getDatabasePlatform()->getDummySelectSQL());
$this->lastConnectionCheck[$this->getConnectionName()] = time();
} catch (ConnectionLost|\Exception $e) {
$this->logger->warning('Exception during connectivity check, closing and reconnecting', ['exception' => $e]);