From d4d9a4a8e977f1d987744c395d577d603d9dd880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 28 Apr 2021 10:52:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/Command.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Database/Command.php b/Database/Command.php index f27ea361..6f404ea5 100644 --- a/Database/Command.php +++ b/Database/Command.php @@ -182,6 +182,7 @@ class Command extends Component if ($isInsert === false) { return true; } + var_dump($result); if ($result == 0 && $hasAutoIncrement->isAutoIncrement()) { return $this->addError(static::DB_ERROR_MESSAGE, 'mysql'); }