Whoops, forgot to do ProcLockWakeup() after deadlock checker
rearranges wait queues.
This commit is contained in:
parent
8cb2c013b6
commit
211f5afd40
@ -12,7 +12,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.1 2001/01/25 03:31:16 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/deadlock.c,v 1.2 2001/01/25 03:45:50 tgl Exp $
|
||||||
*
|
*
|
||||||
* Interface:
|
* Interface:
|
||||||
*
|
*
|
||||||
@ -207,6 +207,9 @@ DeadLockCheck(PROC *proc)
|
|||||||
#ifdef DEBUG_DEADLOCK
|
#ifdef DEBUG_DEADLOCK
|
||||||
PrintLockQueue(lock, "rearranged to:");
|
PrintLockQueue(lock, "rearranged to:");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* See if any waiters for the lock can be woken up now */
|
||||||
|
ProcLockWakeup(GetLocksMethodTable(lock), lock);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user