From ffc2af69dae90a7bbfa3955dabcf44078c6579f0 Mon Sep 17 00:00:00 2001 From: whwyy Date: Tue, 30 Jun 2026 22:54:04 +0800 Subject: [PATCH] eee --- Command.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Command.php b/Command.php index 09901bb..ef75151 100644 --- a/Command.php +++ b/Command.php @@ -148,8 +148,7 @@ class Command extends Component } } - $errorMsg = 'Max retry exceeded for SQL: ' . $this->sql; - return $this->getLogger()->logCategory($errorMsg, 'mysql'); + return $this->getLogger()->logCategory('Max retry exceeded for SQL: ' . $this->sql, 'mysql'); } @@ -193,6 +192,8 @@ class Command extends Component $this->connection->release($client); return $prepare->rowCount(); } + + var_dump($this->sql, $result); $this->connection->release($client); return $result == 0 ? $prepare->rowCount() : (int)$result; @@ -213,8 +214,7 @@ class Command extends Component } } - $errorMsg = 'Max retry exceeded for SQL: ' . $this->sql; - return $this->getLogger()->logCategory($errorMsg, 'mysql'); + return $this->getLogger()->logCategory('Max retry exceeded for SQL: ' . $this->sql, 'mysql'); }