Commit 98ce5154 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:1980], fix problem in rename_table

git-svn-id: file:///svn/mysql/tokudb-engine/src@14495 c7de825b-a66e-492c-adef-691d508d4ae1
parent bcd465f2
...@@ -4965,9 +4965,10 @@ int ha_tokudb::rename_table(const char *from, const char *to) { ...@@ -4965,9 +4965,10 @@ int ha_tokudb::rename_table(const char *from, const char *to) {
error = rename(newfrom, newto); error = rename(newfrom, newto);
if (error != 0) { if (error != 0) {
error = my_errno = errno; error = my_errno = errno;
goto cleanup;
} }
rename_table_in_metadata(from, to); error = rename_table_in_metadata(from, to);
cleanup: cleanup:
{ {
......
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