mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
Remove erroneous Assert, per example from Kris Jurka.
This commit is contained in:
@ -12,7 +12,7 @@
|
|||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.72 2004/09/16 16:58:36 tgl Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.73 2004/09/16 21:08:12 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -679,10 +679,6 @@ AtSubCleanup_Portals(SubTransactionId mySubid)
|
|||||||
if (portal->createSubid != mySubid)
|
if (portal->createSubid != mySubid)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* AtSubAbort_Portals should have fixed these: */
|
|
||||||
Assert(portal->status != PORTAL_ACTIVE);
|
|
||||||
Assert(portal->resowner == NULL);
|
|
||||||
|
|
||||||
/* Zap it. */
|
/* Zap it. */
|
||||||
PortalDrop(portal, false);
|
PortalDrop(portal, false);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user