Commit 22e2a91e authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

txn.cpp and dbtxn.cpp should be one file. Addresses #215.

git-svn-id: file:///svn/tokudb@1302 c7de825b-a66e-492c-adef-691d508d4ae1
parent 1237b385
#include <db_cxx.h>
int DbTxn::commit (u_int32_t flags) {
DB_TXN *txn = get_DB_TXN();
int ret = txn->commit(txn, flags);
return ret;
}
#include <assert.h>
#include <db_cxx.h>
DbTxn::DbTxn(DB_TXN *txn)
......@@ -7,3 +6,8 @@ DbTxn::DbTxn(DB_TXN *txn)
txn->api_internal = this;
}
int DbTxn::commit (u_int32_t flags) {
DB_TXN *txn = get_DB_TXN();
int ret = txn->commit(txn, flags);
return ret;
}
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