Commit aa9e2e14 authored by Rich Prohaska's avatar Rich Prohaska

addresses #333

git-svn-id: file:///svn/tokudb@2102 c7de825b-a66e-492c-adef-691d508d4ae1
parent 19555377
...@@ -42,6 +42,11 @@ int Db::set_flags(u_int32_t flags) { ...@@ -42,6 +42,11 @@ int Db::set_flags(u_int32_t flags) {
return the_Env->maybe_throw_error(ret); return the_Env->maybe_throw_error(ret);
} }
int Db::get_flags(u_int32_t *flags) {
int ret = the_db->get_flags(the_db, flags);
return the_Env->maybe_throw_error(ret);
}
int Db::close (u_int32_t flags) { int Db::close (u_int32_t flags) {
if (!the_db) { if (!the_db) {
return the_Env->maybe_throw_error(EINVAL); return the_Env->maybe_throw_error(EINVAL);
......
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