Commit c944babd authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5653 set num bucket mutexes in other drd tests


git-svn-id: file:///svn/toku/tokudb@49500 c7de825b-a66e-492c-adef-691d508d4ae1
parent 527997e1
...@@ -98,6 +98,7 @@ static void my_parse_args (int argc, char * const argv[]) { ...@@ -98,6 +98,7 @@ static void my_parse_args (int argc, char * const argv[]) {
int test_main(int argc, char * const argv[]) { int test_main(int argc, char * const argv[]) {
my_parse_args(argc, 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 = db_env_create(&env, 0); CKERR(chk_r); }
{ int chk_r = env->set_redzone(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); } { 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[]) { ...@@ -190,6 +190,7 @@ test_main (int argc, char *const argv[]) {
prev_count=0; prev_count=0;
db_env_set_func_fsync(do_fsync); db_env_set_func_fsync(do_fsync);
db_env_set_num_bucket_mutexes(32);
{ {
int size=20+strlen(env_path); int size=20+strlen(env_path);
......
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