summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Vondra2016-11-09 04:36:43 +0000
committerTomas Vondra2016-11-09 04:36:43 +0000
commit8a180118830d09ac4f5e83c46eb1a1b81be51f38 (patch)
tree5d8ec58bec7939a1cdbb0581589d093bfdd3acfe
parentd31927431b26af0c14f7a2abe6f2ee0af33f7b61 (diff)
missing variable in LockCheckConflicts()
-rw-r--r--src/backend/storage/lmgr/lock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/storage/lmgr/lock.c b/src/backend/storage/lmgr/lock.c
index 1c5fa1e1e6..13d5379145 100644
--- 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;