mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
refs #5653 set num bucket mutexes in other drd tests
git-svn-id: file:///svn/toku/tokudb@49500 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
7b5afb8c7b
commit
e768e0302b
2 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,7 @@ static void my_parse_args (int argc, char * const argv[]) {
|
|||
int test_main(int argc, char * const argv[]) {
|
||||
my_parse_args(argc, argv);
|
||||
|
||||
db_env_set_num_bucket_mutexes(32);
|
||||
{ int chk_r = db_env_create(&env, 0); CKERR(chk_r); }
|
||||
{ int chk_r = env->set_redzone(env, 0); CKERR(chk_r); }
|
||||
{ int chk_r = env->set_default_bt_compare(env, my_compare); CKERR(chk_r); }
|
||||
|
|
|
@ -190,6 +190,7 @@ test_main (int argc, char *const argv[]) {
|
|||
prev_count=0;
|
||||
|
||||
db_env_set_func_fsync(do_fsync);
|
||||
db_env_set_num_bucket_mutexes(32);
|
||||
|
||||
{
|
||||
int size=20+strlen(env_path);
|
||||
|
|
Loading…
Add table
Reference in a new issue