diff --git a/src/Command.php b/src/Command.php index e581903..8e93c9e 100644 --- a/src/Command.php +++ b/src/Command.php @@ -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); } diff --git a/src/Mysql/PDO.php b/src/Mysql/PDO.php index c4b76ec..f80e59b 100644 --- a/src/Mysql/PDO.php +++ b/src/Mysql/PDO.php @@ -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); }