Commit 5b82ccb3 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:2563], remove statement in error log file when rename fails due to lock not granted

git-svn-id: file:///svn/toku/tokudb@20678 c7de825b-a66e-492c-adef-691d508d4ae1
parent 19d54134
...@@ -4932,7 +4932,7 @@ toku_env_dbrename(DB_ENV *env, DB_TXN *txn, const char *fname, const char *dbnam ...@@ -4932,7 +4932,7 @@ toku_env_dbrename(DB_ENV *env, DB_TXN *txn, const char *fname, const char *dbnam
zombie = env_get_zombie_db_with_dname(env, dname); zombie = env_get_zombie_db_with_dname(env, dname);
if (zombie) if (zombie)
r = toku_db_pre_acquire_table_lock(zombie, child, TRUE); 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 rename dictionary.\n"); toku_ydb_do_error(env, r, "Cannot rename dictionary.\n");
} }
if (r==0 && env_is_db_with_dname_open(env, newname)) if (r==0 && env_is_db_with_dname_open(env, newname))
......
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