mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
[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:
parent
2108cc42c6
commit
3da94d6415
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue