From f614795f9535581a103b65ebb1fa9ee3bb409bfb Mon Sep 17 00:00:00 2001 From: whwyy Date: Wed, 13 Dec 2023 17:07:01 +0800 Subject: [PATCH] eee --- Command.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Command.php b/Command.php index 095c991..f5335c4 100644 --- a/Command.php +++ b/Command.php @@ -121,6 +121,8 @@ class Command extends Component throw new Exception('(' . $prepare->errorInfo()[0] . ')' . $client->errorInfo()[2]); } + $prepare->execute($this->params); + $result = $method == 'rowCount' ? $prepare->rowCount() : $prepare->{$method}(PDO::FETCH_ASSOC); $prepare->closeCursor();