Commit 01970092 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4890], remove unused code

git-svn-id: file:///svn/toku/tokudb@43739 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5236a64e
......@@ -782,18 +782,6 @@ XIDS toku_txn_get_xids (TOKUTXN txn) {
else return txn->xids;
}
BOOL toku_txnid_older(TXNID a, TXNID b) {
return (BOOL)(a < b); // TODO need modulo 64 arithmetic
}
BOOL toku_txnid_newer(TXNID a, TXNID b) {
return (BOOL)(a > b); // TODO need modulo 64 arithmetic
}
BOOL toku_txnid_eq(TXNID a, TXNID b) {
return (BOOL)(a == b);
}
void toku_txn_force_fsync_on_commit(TOKUTXN txn) {
txn->force_fsync_on_commit = TRUE;
}
......
......@@ -78,15 +78,6 @@ void toku_txn_destroy_txn(TOKUTXN txn);
XIDS toku_txn_get_xids (TOKUTXN);
// Returns TRUE if a is older than b
BOOL toku_txnid_older(TXNID a, TXNID b);
// Returns TRUE if a == b
BOOL toku_txnid_eq(TXNID a, TXNID b);
// Returns TRUE if a is newer than b
BOOL toku_txnid_newer(TXNID a, TXNID b);
// Force fsync on commit
void toku_txn_force_fsync_on_commit(TOKUTXN txn);
......
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