Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1cfd201

Browse files
committed
Remove erroneous Assert, per example from Kris Jurka.
1 parent257cccb commit1cfd201

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎src/backend/utils/mmgr/portalmem.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.72 2004/09/1616:58:36 tgl Exp $
15+
* $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.73 2004/09/1621:08:12 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -679,10 +679,6 @@ AtSubCleanup_Portals(SubTransactionId mySubid)
679679
if (portal->createSubid!=mySubid)
680680
continue;
681681

682-
/* AtSubAbort_Portals should have fixed these: */
683-
Assert(portal->status!=PORTAL_ACTIVE);
684-
Assert(portal->resowner==NULL);
685-
686682
/* Zap it. */
687683
PortalDrop(portal, false);
688684
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp