2046
2040
build_table_filename(to, sizeof(to), new_db, new_name, "",
2059
build_table_filename(lc_from, sizeof(lc_from), old_db, tmp_name, "",
2065
build_table_filename(lc_to, sizeof(lc_to), new_db, tmp_name, "",
2069
2043
if (!file || !(error=file->ha_rename_table(from_base, to_base)))
2071
2045
if(!(flags & NO_FRM_RENAME)