Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92be8e3

Browse files
committed
Undo experimental updates
1 parent277ab49 commit92be8e3

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
TransactionIdxid;
239239
Snapshotsrc=&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)

[8]ページ先頭

©2009-2025 Movatter.jp