Skip to content

Commit c2cd5cb

Browse files
knizhnikkelvich
authored andcommitted
Add mtm.get_last_csn function
1 parent afa7ff6 commit c2cd5cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

multimaster.c

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy