File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/backend/access/transam Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4531,6 +4531,8 @@ RollbackAndReleaseCurrentSubTransaction(void)
4531
4531
CleanupSubTransaction ();
4532
4532
4533
4533
s = CurrentTransactionState ; /* changed by pop */
4534
+ TM -> RestoreSavepointContext (s -> savepointContext );
4535
+
4534
4536
AssertState (s -> blockState == TBLOCK_SUBINPROGRESS ||
4535
4537
s -> blockState == TBLOCK_INPROGRESS ||
4536
4538
s -> blockState == TBLOCK_STARTED );
@@ -5118,7 +5120,6 @@ PopTransaction(void)
5118
5120
5119
5121
TM -> ReleaseSavepointContext (s -> savepointContext );
5120
5122
CurrentTransactionState = s -> parent ;
5121
- TM -> RestoreSavepointContext (CurrentTransactionState -> savepointContext );
5122
5123
5123
5124
/* Let's just make sure CurTransactionContext is good */
5124
5125
CurTransactionContext = s -> parent -> curTransactionContext ;
You can’t perform that action at this time.
0 commit comments