From c711d41752abe4496f7cfa177afd52d3d57553f6 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Thu, 18 Jun 1998 04:20:34 +0000 Subject: [PATCH] Add Assert(). --- src/backend/storage/ipc/sinvaladt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/backend/storage/ipc/sinvaladt.c b/src/backend/storage/ipc/sinvaladt.c index 391e78d38bb..bca6dcee165 100644 --- a/src/backend/storage/ipc/sinvaladt.c +++ b/src/backend/storage/ipc/sinvaladt.c @@ -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) -- GitLab