改名
This commit is contained in:
@@ -171,7 +171,7 @@ class Command extends Component
|
|||||||
if (($result = $this->getPdoStatement()) === false) {
|
if (($result = $this->getPdoStatement()) === false) {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
if ($isInsert === false) {
|
if ($isInsert === false || !$hasAutoIncrement) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if ($result == 0 && $hasAutoIncrement->isAutoIncrement()) {
|
if ($result == 0 && $hasAutoIncrement->isAutoIncrement()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user