Merge branch 'DDC-1052'
This commit is contained in:
commit
108ceae313
@ -375,7 +375,7 @@ class BasicEntityPersister
|
|||||||
|
|
||||||
$result = $this->_conn->executeUpdate($sql, $params, $types);
|
$result = $this->_conn->executeUpdate($sql, $params, $types);
|
||||||
|
|
||||||
if ($this->_class->isVersioned && ! $result) {
|
if ($versioned && ! $result) {
|
||||||
throw OptimisticLockException::lockFailed($entity);
|
throw OptimisticLockException::lockFailed($entity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user