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
This commit is contained in:
Rich Prohaska 2007-12-15 20:32:33 +00:00
parent f0f3df1b58
commit 44df006735

View file

@ -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)