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

[t:4518], have db_pre_acquire_table_lock just lock

git-svn-id: file:///svn/toku/tokudb@41325 c7de825b-a66e-492c-adef-691d508d4ae1
parent 990e8b74
......@@ -2622,8 +2622,6 @@ finalize_file_removal(DICTIONARY_ID dict_id, void * extra) {
}
}
//static int toku_db_pre_acquire_table_lock(DB *db, DB_TXN *txn);
int
toku_env_dbremove(DB_ENV * env, DB_TXN *txn, const char *fname, const char *dbname, u_int32_t flags) {
int r;
......
......@@ -964,7 +964,7 @@ toku_db_verify_with_progress(DB *db, int (*progress_callback)(void *extra, float
static int
db_pre_acquire_table_lock(DB *db, DB_TXN *txn) {
return toku_db_pre_acquire_table_lock(db, txn, FALSE);
return toku_db_pre_acquire_table_lock(db, txn, TRUE);
}
int
......
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