改名
This commit is contained in:
@@ -129,6 +129,7 @@ class Command extends Component
|
||||
} catch (\Throwable $exception) {
|
||||
$result = $this->addError($this->sql . '. error: ' . $exception->getMessage(), 'mysql');
|
||||
} finally {
|
||||
var_dump($result);
|
||||
$this->db->release();
|
||||
return $result;
|
||||
}
|
||||
|
||||
@@ -257,9 +257,6 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user