Commit 3da94d64 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 2108cc42
......@@ -250,7 +250,8 @@ static void test_loader(DB **dbs)
db_flags[i] = flags;
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
r = env->txn_begin(env, NULL, &txn, 0);
......@@ -359,6 +360,8 @@ static void run_test(void)
dbs[i]->close(dbs[i], 0); CKERR(r);
dbs[i] = NULL;
}
if (verbose >= 2)
print_engine_status(env);
r = env->close(env, 0); CKERR(r);
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