This commit is contained in:
2026-07-06 21:15:25 +08:00
parent 26395d7d29
commit 3e72503b6a
2 changed files with 4 additions and 3 deletions
+4
View File
@@ -179,6 +179,10 @@ class Command extends Component
if (($prepare = $client->prepare($this->sql)) === false) {
throw new Exception('(' . $prepare->errorInfo()[0] . ')' . $prepare->errorInfo()[2]);
}
var_dump($this->sql, $this->params);
if ($prepare->execute($this->params) === false) {
throw new Exception('(' . $prepare->errorInfo()[0] . ')' . $prepare->errorInfo()[2]);
}