From e7819c759b6e10267c4bcb6a54a3df07277c5ab1 Mon Sep 17 00:00:00 2001 From: linyushan <1107012776@qq.com> Date: Sat, 13 Nov 2021 00:39:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B7=BB=E5=8A=A0=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Components/DeleteShardingTrait.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Components/DeleteShardingTrait.php b/src/Components/DeleteShardingTrait.php index d6ae6e9..2264ae0 100644 --- a/src/Components/DeleteShardingTrait.php +++ b/src/Components/DeleteShardingTrait.php @@ -50,6 +50,7 @@ public function _deleteSharding() if (empty($res[$key])) { $this->_sqlErrors[] = $statement->errorInfo(); } + $this->_addExeSql($sql, $this->_condition_bind, $db); } }; if (!empty($sqlArr)) { //扫描多张表 @@ -80,6 +81,7 @@ public function _deleteSharding() if (empty($res)) { $this->_sqlErrors[] = $statement->errorInfo(); } + $this->_addExeSql($sql, $this->_condition_bind, $this->_current_exec_db); } /** * @var \PDOStatement $s