Fix for test_env_close_flags.c

git-svn-id: file:///svn/tokudb@646 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Yoni Fogel 2007-11-19 16:51:14 +00:00
parent 20222917c6
commit e51fdf82ec

View file

@ -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) {
if (flags) return EINVAL;
if (env->i->cachetable)
cachetable_close(&env->i->cachetable);
if (env->i->logger)