diff --git a/src/Mysql/PDO.php b/src/Mysql/PDO.php index f80e59b..54c1315 100644 --- a/src/Mysql/PDO.php +++ b/src/Mysql/PDO.php @@ -257,6 +257,9 @@ class PDO implements StopHeartbeatCheck throw new Exception($prepare->errorInfo()[2] ?? static::DB_ERROR_MESSAGE); } $result = (int)$pdo->lastInsertId(); + + var_dump($result); + $prepare->closeCursor(); if ($result == 0) { return true;