This commit is contained in:
2026-07-06 21:25:47 +08:00
parent efb3077bec
commit 06de50699a
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -181,12 +181,10 @@ class Command extends Component
}
if (($execute = $prepare->execute($this->params)) === false) {
if ($prepare->execute($this->params) === false) {
throw new Exception('(' . $prepare->errorInfo()[0] . ')' . $prepare->errorInfo()[2]);
}
var_dump($execute);
$prepare->closeCursor();
$result = $client->lastInsertId();