Commit e51fdf82 authored by Yoni Fogel's avatar Yoni Fogel

Fix for test_env_close_flags.c

git-svn-id: file:///svn/tokudb@646 c7de825b-a66e-492c-adef-691d508d4ae1
parent 20222917
...@@ -259,6 +259,7 @@ int __toku_db_env_open(DB_ENV * env, const char *home, u_int32_t flags, int mode ...@@ -259,6 +259,7 @@ int __toku_db_env_open(DB_ENV * env, const char *home, u_int32_t flags, int mode
} }
int __toku_db_env_close(DB_ENV * env, u_int32_t flags) { int __toku_db_env_close(DB_ENV * env, u_int32_t flags) {
if (flags) return EINVAL;
if (env->i->cachetable) if (env->i->cachetable)
cachetable_close(&env->i->cachetable); cachetable_close(&env->i->cachetable);
if (env->i->logger) if (env->i->logger)
......
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