We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bb7e1e commit 9a9719eCopy full SHA for 9a9719e
src/backend/access/transam/xact.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.143 2003/03/14 22:40:31 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.144 2003/03/21 04:33:15 momjian Exp $
12
13
* NOTES
14
* Transaction aborts can now occur two ways:
@@ -1341,7 +1341,10 @@ AbortCurrentTransaction(void)
1341
*/
1342
case TBLOCK_DEFAULT:
1343
AbortTransaction();
1344
- CleanupTransaction();
+ if (autocommit || suppressChain)
1345
+ CleanupTransaction();
1346
+ else
1347
+ s->blockState = TBLOCK_ABORT;
1348
break;
1349
1350
/*
0 commit comments