Skip to content

Commit 32b7596

Browse files
committed
Add mtm.get_last_csn function
1 parent e0862d9 commit 32b7596

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/mmts/multimaster.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,7 @@ MtmEndTransaction(MtmCurrentTrans* x, bool commit)
828828
ts->csn = x->csn;
829829
MtmSyncClock(ts->csn);
830830
}
831+
Mtm->lastCsn = ts->csn;
831832
ts->status = TRANSACTION_STATUS_COMMITTED;
832833
} else {
833834
ts->status = TRANSACTION_STATUS_ABORTED;

0 commit comments

Comments
 (0)