改名
This commit is contained in:
@@ -246,9 +246,10 @@ class Command extends Component
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (($result = $this->prepare->execute($this->params)) === false) {
|
if (($result = $this->prepare->execute($this->params)) === false) {
|
||||||
|
var_dump($result);
|
||||||
return $this->addError($connection->errorInfo()[2], 'mysql');
|
return $this->addError($connection->errorInfo()[2], 'mysql');
|
||||||
}
|
}
|
||||||
if (!$isInsert) {
|
if ($isInsert === false) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
$result = $connection->lastInsertId();
|
$result = $connection->lastInsertId();
|
||||||
|
|||||||
Reference in New Issue
Block a user