1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-30 05:23:50 +03:00

lock init with set_lk_max_locks. closes #371

git-svn-id: file:///svn/tokudb@2224 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Rich Prohaska
2008-02-09 16:54:01 +00:00
parent e30caae6fe
commit 49e5333ad5
3 changed files with 9 additions and 1 deletions

View File

@@ -145,7 +145,8 @@ void DbEnv::set_error_stream(std::ostream *new_error_stream) {
// locking not yet implemented
int DbEnv::set_lk_max_locks(u_int32_t max_locks) {
return 0;
int ret = the_env->set_lk_max_locks(the_env, max_locks);
return maybe_throw_error(ret);
}
int DbEnv::set_lk_max_lockers(u_int32_t max_lockers) {