This commit is contained in:
thinkphp
2018-04-25 15:41:12 +08:00
parent 80488e79cb
commit 1cfef7aadc
2 changed files with 9 additions and 7 deletions

View File

@@ -451,7 +451,7 @@ abstract class Connection
$this->debug(false, '', true);
if ($query && !empty($this->config['deploy']) && !empty($this->config['read_master'])) {
$query->readMaster(true);
$query->readMaster();
}
$this->numRows = $this->PDOStatement->rowCount();