Commit da18bd9e authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5351 no more set_lk_max


git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@49857 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5af802cd
...@@ -476,17 +476,6 @@ static int tokudb_init_func(void *p) { ...@@ -476,17 +476,6 @@ static int tokudb_init_func(void *p) {
// db_env->set_lg_regionmax(db_env, tokudb_region_size); // db_env->set_lg_regionmax(db_env, tokudb_region_size);
#endif #endif
// config the locks
#if 0 // QQQ no lock types yet
DBUG_PRINT("info", ("tokudb_lock_type: 0x%lx\n", tokudb_lock_type));
db_env->set_lk_detect(db_env, tokudb_lock_type);
#endif
r = db_env->set_lk_max_locks(db_env, 0xffffffff);
if (r) {
DBUG_PRINT("info", ("tokudb_set_max_locks %d\n", r));
goto error;
}
if (db_env->set_redzone) { if (db_env->set_redzone) {
r = db_env->set_redzone(db_env, tokudb_fs_reserve_percent); r = db_env->set_redzone(db_env, tokudb_fs_reserve_percent);
if (r && (tokudb_debug & TOKUDB_DEBUG_INIT)) if (r && (tokudb_debug & TOKUDB_DEBUG_INIT))
......
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