Skip to content

Commit 93d9f9e

Browse files
committed
Fix bug in non-DTM mode
1 parent f2b73cd commit 93d9f9e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/mmts/multimaster.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,10 @@ MtmAdjustOldestXid(TransactionId xid)
526526
} else if (TransactionIdPrecedes(Mtm->oldestXid, xid)) {
527527
xid = Mtm->oldestXid;
528528
}
529+
} else {
530+
if (prev != NULL) {
531+
Mtm->transListHead = prev;
532+
}
529533
}
530534
MtmUnlock();
531535
}

0 commit comments

Comments
 (0)