This commit is contained in:
2021-11-10 11:23:42 +08:00
parent a167169207
commit ea4f7ba11a
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -120,6 +120,7 @@ class Command extends Component
$time = microtime(true);
if ($type === static::EXECUTE) {
$result = $this->db->getConnect($this->sql)->execute($this->sql,$this->params);
var_dump($this->sql,$this->params);
} else {
$result = $this->search($type);
}
-1
View File
@@ -250,7 +250,6 @@ class PDO implements StopHeartbeatCheck
{
$this->_last = time();
$pdo = $this->_pdo();
var_dump($sql, $params);
if (!(($prepare = $pdo->prepare($sql)) instanceof PDOStatement)) {
throw new Exception($prepare->errorInfo()[2] ?? static::DB_ERROR_MESSAGE);
}