Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3e7dbeb

Browse files
committed
1 parent 1b171c7 commit 3e7dbeb

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

multimaster.c

+3-7
Original file line numberDiff line numberDiff line change
@@ -456,13 +456,9 @@ csn_t MtmDistributedTransactionSnapshot(TransactionId xid, int nodeId, nodemask_
456456

457457
Snapshot MtmGetSnapshot(Snapshot snapshot)
458458
{
459-
snapshot = PgGetSnapshotData(snapshot);
460-
#if 0
461-
if (snapshot != &CatalogSnapshotData) {
462-
RecentGlobalDataXmin = RecentGlobalXmin = Mtm->oldestXid;
463-
}
464-
#endif
465-
return snapshot;
459+
snapshot = PgGetSnapshotData(snapshot);
460+
RecentGlobalDataXmin = RecentGlobalXmin = Mtm->oldestXid;
461+
return snapshot;
466462
}
467463

468464

0 commit comments

Comments
 (0)