Whoops, forgot to do ProcLockWakeup() after deadlock checker

rearranges wait queues.
This commit is contained in:
Tom Lane 2001-01-25 03:45:50 +00:00
parent 8cb2c013b6
commit 211f5afd40
1 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,7 @@
*
*
* 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:
*
@ -207,6 +207,9 @@ DeadLockCheck(PROC *proc)
#ifdef DEBUG_DEADLOCK
PrintLockQueue(lock, "rearranged to:");
#endif
/* See if any waiters for the lock can be woken up now */
ProcLockWakeup(GetLocksMethodTable(lock), lock);
}
return false;
}