File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -3622,6 +3622,8 @@ bool ResumeTransaction(void)
3622
3622
prepareGID = sus -> prepareGID ;
3623
3623
forceSyncCommit = sus -> forceSyncCommit ;
3624
3624
3625
+ MemoryContextDelete (TransactionAbortContext );
3626
+
3625
3627
TopTransactionContext = sus -> TopTransactionContext ;
3626
3628
CurTransactionContext = sus -> CurTransactionContext ;
3627
3629
TransactionAbortContext = sus -> TransactionAbortContext ;
Original file line number Diff line number Diff line change @@ -2188,6 +2188,13 @@ void ResumeSnapshot(void *data)
2188
2188
//UnregisterSnapshot(CatalogSnapshot);
2189
2189
//UnregisterSnapshot(HistoricSnapshot);
2190
2190
2191
+ free (CurrentSnapshotData .xip );
2192
+ free (CurrentSnapshotData .subxip );
2193
+ free (SecondarySnapshotData .xip );
2194
+ free (SecondarySnapshotData .subxip );
2195
+ free (CatalogSnapshotData .xip );
2196
+ free (CatalogSnapshotData .subxip );
2197
+
2191
2198
CurrentSnapshotData = s -> CurrentSnapshotData ;
2192
2199
SecondarySnapshotData = s -> SecondarySnapshotData ;
2193
2200
CatalogSnapshotData = s -> CatalogSnapshotData ;
You can’t perform that action at this time.
0 commit comments