Commit c711d417 authored by Bruce Momjian's avatar Bruce Momjian

Add Assert().

parent 6ab714e3
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinvaladt.c,v 1.9 1998/06/15 19:29:15 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinvaladt.c,v 1.10 1998/06/18 04:20:34 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -147,6 +147,8 @@ SIAssignBackendId(SISeg *segInOutP, BackendTag backendTag)
}
}
Assert(stateP);
if (stateP->tag != InvalidBackendTag)
{
if (stateP->tag == backendTag)
......
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