projects
/
m6w6
/
pq-gateway
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
added Table::with()
[m6w6/pq-gateway]
/
lib
/
pq
/
Gateway
/
Table
/
PessimisticLock.php
diff --git
a/lib/pq/Gateway/Table/PessimisticLock.php
b/lib/pq/Gateway/Table/PessimisticLock.php
index e711b461226544b8c3c258aa26e2beacab0e85dd..2076dbd2b7dc05aa06b7124a7088de4d0eb843b0 100644
(file)
--- a/
lib/pq/Gateway/Table/PessimisticLock.php
+++ b/
lib/pq/Gateway/Table/PessimisticLock.php
@@
-15,7
+15,7
@@
class PessimisticLock implements LockInterface
* @param array $ignore
* @throws \UnexpectedValueException if the row has already been modified
*/
* @param array $ignore
* @throws \UnexpectedValueException if the row has already been modified
*/
- function
criteria
(Row $row, array &$ignore) {
+ function
onUpdate
(Row $row, array &$ignore) {
$where = array();
foreach ($row->getIdentity() as $col => $val) {
if (isset($val)) {
$where = array();
foreach ($row->getIdentity() as $col => $val) {
if (isset($val)) {