Commit 1f6c123a authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

[t:2499] Use correct LOADER_USE_PUTS flag. Add engine status output when verbose>=2.

git-svn-id: file:///svn/toku/tokudb@20374 c7de825b-a66e-492c-adef-691d508d4ae1
parent bc70e073
...@@ -250,7 +250,8 @@ static void test_loader(DB **dbs) ...@@ -250,7 +250,8 @@ static void test_loader(DB **dbs)
db_flags[i] = flags; db_flags[i] = flags;
dbt_flags[i] = 0; dbt_flags[i] = 0;
} }
uint32_t loader_flags = USE_PUTS; // set with -p option
uint32_t loader_flags = USE_PUTS ? LOADER_USE_PUTS : 0; // set with -p option
// create and initialize loader // create and initialize loader
r = env->txn_begin(env, NULL, &txn, 0); r = env->txn_begin(env, NULL, &txn, 0);
...@@ -359,6 +360,8 @@ static void run_test(void) ...@@ -359,6 +360,8 @@ static void run_test(void)
dbs[i]->close(dbs[i], 0); CKERR(r); dbs[i]->close(dbs[i], 0); CKERR(r);
dbs[i] = NULL; dbs[i] = NULL;
} }
if (verbose >= 2)
print_engine_status(env);
r = env->close(env, 0); CKERR(r); r = env->close(env, 0); CKERR(r);
toku_free(dbs); toku_free(dbs);
} }
......
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