Commit bdd29e48 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4936], remove locked_ydb_inames

git-svn-id: file:///svn/toku/tokudb@43898 c7de825b-a66e-492c-adef-691d508d4ae1
parent 87e8e6a0
...@@ -992,14 +992,6 @@ ydb_load_inames(DB_ENV * env, DB_TXN * txn, int N, DB * dbs[N], char * new_iname ...@@ -992,14 +992,6 @@ ydb_load_inames(DB_ENV * env, DB_TXN * txn, int N, DB * dbs[N], char * new_iname
return rval; return rval;
} }
int
locked_ydb_load_inames(DB_ENV * env, DB_TXN * txn, int N, DB * dbs[N], char * new_inames_in_env[N], LSN *load_lsn, BOOL mark_as_loader) {
toku_ydb_lock();
int r = ydb_load_inames(env, txn, N, dbs, new_inames_in_env, load_lsn, mark_as_loader);
toku_ydb_unlock();
return r;
}
#undef STATUS_VALUE #undef STATUS_VALUE
#include <valgrind/helgrind.h> #include <valgrind/helgrind.h>
......
...@@ -30,15 +30,5 @@ int ydb_load_inames(DB_ENV * env, ...@@ -30,15 +30,5 @@ int ydb_load_inames(DB_ENV * env,
LSN *load_lsn, LSN *load_lsn,
BOOL mark_as_loader); BOOL mark_as_loader);
// Wrapper to ydb_load_inames if you are not holding the ydb lock.
int locked_ydb_load_inames(DB_ENV * env,
DB_TXN * txn,
int N,
DB * dbs[/*N*/],
/*out*/ char * new_inames_in_env[N],
LSN *load_lsn,
BOOL mark_as_loader);
#endif #endif
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