diff --git a/VERSION b/VERSION index 78aecb3..231699d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2410.630136 +0.2410.630140 diff --git a/src/Db/MariaDb/MariaDbConnection.php b/src/Db/MariaDb/MariaDbConnection.php index 5c1e057..c9b2cf3 100644 --- a/src/Db/MariaDb/MariaDbConnection.php +++ b/src/Db/MariaDb/MariaDbConnection.php @@ -1,7 +1,7 @@ connection->insert_id; } - /** - * Sends a keep alive request to the server, or tries to reconnect if it has gone down. - * - * @return bool true if the keep alive was successful, false if the server is Gone. - */ - public function ping(): bool { - return $this->connection->ping(); - } - - /** - * Runs various refresh operations, see the REFRESH_ constants for the flags. - * - * @param int $flags A bitset of REFRESH_ flags. - */ - public function refresh(int $flags): void { - $this->connection->refresh($flags); - } - public function beginTransaction(): DbTransaction { if(!$this->connection->begin_transaction()) $this->throwLastError(); @@ -329,16 +255,6 @@ class MariaDbConnection implements DbConnection { return $this->connection->thread_id; } - /** - * Asks the server to kill a thread. - * - * @param int $threadId ID of the thread that should be killed. - * @return bool true if the thread was killed, false if not. - */ - public function killThread(int $threadId): bool { - return $this->connection->kill($threadId); - } - /** * @return MariaDbStatement A database statement. */