Commit 90d49005 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

Have to PROC_INCR_SLOCK before return.

parent e7046924
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/spin.c,v 1.9 1997/09/18 14:20:18 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/spin.c,v 1.10 1997/09/22 04:20:53 vadim Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -116,7 +116,7 @@ ex_try_again:
printf("OUT: ");
PRINT_LOCK(slckP);
#endif
return;
break;
case SHAREDLOCK:
case EXCLUSIVELOCK:
S_UNLOCK(&(slckP->locklock));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment