missing variable in LockCheckConflicts()
authorTomas Vondra <[email protected]>
Wed, 9 Nov 2016 04:36:43 +0000 (05:36 +0100)
committerTomas Vondra <[email protected]>
Wed, 9 Nov 2016 04:36:43 +0000 (05:36 +0100)
src/backend/storage/lmgr/lock.c

index 1c5fa1e1e6d6c4748e458cab71e54f93598bb856..13d53791457299a28466bc8e8bd6476a60155d94 100644 (file)
@@ -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;