File tree 1 file changed +4
-4
lines changed
src/backend/access/transam
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1994, Regents of the University of California
8
8
*
9
9
* IDENTIFICATION
10
- * $PostgreSQL: pgsql/src/backend/access/transam/twophase.c,v 1.35 2007/09/08 20:31:14 tgl Exp $
10
+ * $PostgreSQL: pgsql/src/backend/access/transam/twophase.c,v 1.36 2007/09/21 16:32:19 tgl Exp $
11
11
*
12
12
* NOTES
13
13
* Each global transaction is associated with a global transaction
@@ -353,7 +353,7 @@ MarkAsPrepared(GlobalTransaction gxact)
353
353
LWLockRelease (TwoPhaseStateLock );
354
354
355
355
/*
356
- * Put it into the global ProcArray so TransactionIdInProgress considers
356
+ * Put it into the global ProcArray so TransactionIdIsInProgress considers
357
357
* the XID as still running.
358
358
*/
359
359
ProcArrayAdd (& gxact -> proc );
@@ -979,8 +979,8 @@ EndPrepare(GlobalTransaction gxact)
979
979
* NB: a side effect of this is to make a dummy ProcArray entry for the
980
980
* prepared XID. This must happen before we clear the XID from MyProc,
981
981
* else there is a window where the XID is not running according to
982
- * TransactionIdInProgress , and onlookers would be entitled to assume the
983
- * xact crashed. Instead we have a window where the same XID appears
982
+ * TransactionIdIsInProgress , and onlookers would be entitled to assume
983
+ * the xact crashed. Instead we have a window where the same XID appears
984
984
* twice in ProcArray, which is OK.
985
985
*/
986
986
MarkAsPrepared (gxact );
You can’t perform that action at this time.
0 commit comments