Commit bb837d4d authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

add some txnid comparison functions [t:1972]

git-svn-id: file:///svn/toku/tokudb@14309 c7de825b-a66e-492c-adef-691d508d4ae1
parent e382a6bc
...@@ -152,7 +152,7 @@ XIDS toku_txn_get_xids (TOKUTXN txn) { ...@@ -152,7 +152,7 @@ XIDS toku_txn_get_xids (TOKUTXN txn) {
} }
BOOL toku_txnid_older(TXNID a, TXNID b) { BOOL toku_txnid_older(TXNID a, TXNID b) {
return a < b; // TODO need modulo 64 arithmetic return (BOOL)(a < b); // TODO need modulo 64 arithmetic
} }
BOOL toku_txnid_eq(TXNID a, TXNID b) { BOOL toku_txnid_eq(TXNID a, TXNID b) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment