We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent277ab49 commit92be8e3Copy full SHA for 92be8e3
contrib/multimaster/multimaster.c
@@ -238,7 +238,7 @@ static void DtmMergeWithGlobalSnapshot(Snapshot dst)
238
TransactionIdxid;
239
Snapshotsrc=&DtmSnapshot;
240
241
-if (true||!(TransactionIdIsValid(src->xmin)&&TransactionIdIsValid(src->xmax))) {
+if (!(TransactionIdIsValid(src->xmin)&&TransactionIdIsValid(src->xmax))) {
242
PgGetSnapshotData(dst);
243
return;
244
}
@@ -627,7 +627,7 @@ static Snapshot DtmGetSnapshot(Snapshot snapshot)
627
/* Use single global snapshot during all transaction for repeatable read isolation level,
628
* but obtain new global snapshot each time it is requested for read committed isolation level
629
*/
630
-//DtmHasGlobalSnapshot = false;
+DtmHasGlobalSnapshot= false;
631
632
633
else