改名
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user