Commit a01ce64e authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5351 oops, forgot recover flag here


git-svn-id: file:///svn/toku/tokudb@48649 c7de825b-a66e-492c-adef-691d508d4ae1
parent f205e073
......@@ -1617,7 +1617,7 @@ static int open_tables(DB_ENV **env_res, DB **db_res, int num_DBs,
CKERR(r);
}
int env_flags = get_env_open_flags(cli_args);
r = env->open(env, env_args.envdir, env_flags, S_IRWXU+S_IRWXG+S_IRWXO); CKERR(r);
r = env->open(env, env_args.envdir, DB_RECOVER | env_flags, S_IRWXU+S_IRWXG+S_IRWXO); CKERR(r);
do_xa_recovery(env);
r = env->checkpointing_set_period(env, env_args.checkpointing_period); CKERR(r);
r = env->cleaner_set_period(env, env_args.cleaner_period); CKERR(r);
......
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