mirror of
https://github.com/MariaDB/server.git
synced 2025-11-30 05:23:50 +03:00
set_lk_max_locks already added to the c++ interface. delete the extra junk. close #230
git-svn-id: file:///svn/tokudb@2468 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
@@ -147,17 +147,13 @@ void DbEnv::set_error_stream(std::ostream *new_error_stream) {
|
|||||||
the_env->set_errcall(the_env, toku_db_env_error_stream_c);
|
the_env->set_errcall(the_env, toku_db_env_error_stream_c);
|
||||||
}
|
}
|
||||||
|
|
||||||
// locking not yet implemented
|
|
||||||
|
|
||||||
int DbEnv::set_lk_max_locks(u_int32_t max_locks) {
|
int DbEnv::set_lk_max_locks(u_int32_t max_locks) {
|
||||||
int ret = the_env->set_lk_max_locks(the_env, max_locks);
|
int ret = the_env->set_lk_max_locks(the_env, max_locks);
|
||||||
return maybe_throw_error(ret);
|
return maybe_throw_error(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
int DbEnv::set_lk_max_lockers(u_int32_t max_lockers) {
|
int DbEnv::get_lk_max_locks(u_int32_t *max_locks) {
|
||||||
return 0;
|
int ret = the_env->get_lk_max_locks(the_env, max_locks);
|
||||||
|
return maybe_throw_error(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
int DbEnv::set_lk_max_objects(u_int32_t max_objects) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -179,10 +179,6 @@ class DbEnv {
|
|||||||
#endif
|
#endif
|
||||||
int set_lk_max_locks(u_int32_t);
|
int set_lk_max_locks(u_int32_t);
|
||||||
int get_lk_max_locks(u_int32_t *);
|
int get_lk_max_locks(u_int32_t *);
|
||||||
int set_lk_max_lockers(u_int32_t);
|
|
||||||
int get_lk_max_lockers(u_int32_t *);
|
|
||||||
int set_lk_max_objects(u_int32_t);
|
|
||||||
int get_lk_max_objects(u_int32_t *);
|
|
||||||
|
|
||||||
// somewhat_private:
|
// somewhat_private:
|
||||||
int do_no_exceptions; // This should be private!!!
|
int do_no_exceptions; // This should be private!!!
|
||||||
|
|||||||
Reference in New Issue
Block a user