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

[t:2563], prevent printing of msg to error log in case of DB_LOCK_NOTGRANTED

git-svn-id: file:///svn/toku/tokudb@20573 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2b809318
......@@ -4815,7 +4815,7 @@ toku_env_dbremove(DB_ENV * env, DB_TXN *txn, const char *fname, const char *dbna
DB* zombie = env_get_zombie_db_with_dname(env, dname);
if (zombie)
r = toku_db_pre_acquire_table_lock(zombie, child, TRUE);
if (r!=0)
if (r!=0 && r!=DB_LOCK_NOTGRANTED)
toku_ydb_do_error(env, r, "Cannot remove dictionary.\n");
}
}
......
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