Skip to content

Commit 92be8e3

Browse files
committed
Undo experimental updates
1 parent 277ab49 commit 92be8e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/multimaster/multimaster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ static void DtmMergeWithGlobalSnapshot(Snapshot dst)
238238
TransactionId xid;
239239
Snapshot src = &DtmSnapshot;
240240

241-
if (true || !(TransactionIdIsValid(src->xmin) && TransactionIdIsValid(src->xmax))) {
241+
if (!(TransactionIdIsValid(src->xmin) && TransactionIdIsValid(src->xmax))) {
242242
PgGetSnapshotData(dst);
243243
return;
244244
}
@@ -627,7 +627,7 @@ static Snapshot DtmGetSnapshot(Snapshot snapshot)
627627
/* Use single global snapshot during all transaction for repeatable read isolation level,
628628
* but obtain new global snapshot each time it is requested for read committed isolation level
629629
*/
630-
//DtmHasGlobalSnapshot = false;
630+
DtmHasGlobalSnapshot = false;
631631
}
632632
}
633633
else

0 commit comments

Comments
 (0)