This commit is contained in:
as2252258@163.com
2021-02-23 02:14:47 +08:00
parent 779940b151
commit f0e090b0b1
2 changed files with 262 additions and 261 deletions
-1
View File
@@ -221,7 +221,6 @@ class Command extends Component
if (!($connect instanceof PDO)) {
return null;
}
var_dump($connect->getAttribute(PDO::ATTR_SERVER_INFO), $this->sql);
if (!($query = $connect->query($this->sql))) return null;
if ($type === static::ROW_COUNT) {
$result = $query->rowCount();