mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
[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
This commit is contained in:
parent
e6a7af95a3
commit
97c826d5ea
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
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 rename dictionary.\n");
|
||||
}
|
||||
if (r==0 && env_is_db_with_dname_open(env, newname))
|
||||
|
|
Loading…
Add table
Reference in a new issue