Skip to content
Snippets Groups Projects
Commit 211f5afd authored by Tom Lane's avatar Tom Lane
Browse files

Whoops, forgot to do ProcLockWakeup() after deadlock checker

rearranges wait queues.
parent 8cb2c013
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ ...@@ -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) ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment