This commit is contained in:
2025-05-19 11:06:27 +08:00
parent 94857ecb46
commit 45b949747d
+1 -1
View File
@@ -117,7 +117,7 @@ class Command extends Component
$prepare->execute($this->params); $prepare->execute($this->params);
$result = $method == 'rowCount' ? $prepare->rowCount() : $prepare->{$method}(PDO::FETCH_ASSOC); $result = $method == 'rowCount' ? $prepare->rowCount() : $prepare->{$method}(PDO::FETCH_ASSOC);
$prepare->closeCursor(); // $prepare->closeCursor();
$this->connection->println($startTime, microtime(true), $this->sql, $this->params); $this->connection->println($startTime, microtime(true), $this->sql, $this->params);