File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments