From cfd9136664f2f746cfe1389ca22fdff04b9ae179 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Wed, 25 Oct 2023 23:19:05 -0400 Subject: [PATCH] Fix usage of deprecated method in ReconnectStrategy Fixes #17382 --- src/Database/Retry/ReconnectStrategy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Retry/ReconnectStrategy.php b/src/Database/Retry/ReconnectStrategy.php index 7d76cc01e02..ac847810fe6 100644 --- a/src/Database/Retry/ReconnectStrategy.php +++ b/src/Database/Retry/ReconnectStrategy.php @@ -104,7 +104,7 @@ protected function reconnect(): bool try { // Make sure we free any resources associated with the old connection - $this->connection->disconnect(); + $this->connection->getDriver()->disconnect(); } catch (Exception $e) { }