projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d319274
)
missing variable in LockCheckConflicts()
author
Tomas Vondra
<
[email protected]
>
Wed, 9 Nov 2016 04:36:43 +0000
(
05:36
+0100)
committer
Tomas Vondra
<
[email protected]
>
Wed, 9 Nov 2016 04:36:43 +0000
(
05:36
+0100)
src/backend/storage/lmgr/lock.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/lmgr/lock.c
b/src/backend/storage/lmgr/lock.c
index 1c5fa1e1e6d6c4748e458cab71e54f93598bb856..13d53791457299a28466bc8e8bd6476a60155d94 100644
(file)
--- a/
src/backend/storage/lmgr/lock.c
+++ b/
src/backend/storage/lmgr/lock.c
@@
-1346,6
+1346,7
@@
LockCheckConflicts(LockMethod lockMethodTable,
{
int numLockModes = lockMethodTable->numLockModes;
LOCKMASK myLocks;
+ LOCKMASK otherLocks;
int conflictMask = lockMethodTable->conflictTab[lockmode];
int conflictsRemaining[MAX_LOCKMODES];
int totalConflictsRemaining = 0;