Commit 44df0067 authored by Rich Prohaska's avatar Rich Prohaska

after env->close is called the env handle is invalid. this implies that the...

after env->close is called the env handle is invalid.  this implies that the close happens even if the flags param is non-zero.  closes #190

git-svn-id: file:///svn/tokudb@1143 c7de825b-a66e-492c-adef-691d508d4ae1
parent f0f3df1b
......@@ -313,7 +313,6 @@ static int toku_db_env_open(DB_ENV * env, const char *home, u_int32_t flags, int
static int toku_db_env_close(DB_ENV * env, u_int32_t flags) {
int r0=0,r1=0;
if (flags) return EINVAL;
if (env->i->cachetable)
r0=toku_cachetable_close(&env->i->cachetable);
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