[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
This commit is contained in:
Barry Perlman 2013-04-16 23:59:13 -04:00 committed by Yoni Fogel
parent 2108cc42c6
commit 3da94d6415

View file

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