mariadb/cxx/dbtxn.cpp
Bradley C. Kuszmaul b533ea01dd Move db_cxx.h to include dir, and fix valgrind issues. Fixes #197.
git-svn-id: file:///svn/tokudb@1218 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-18 20:39:02 +00:00

7 lines
148 B
C++

#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;
}