222
218
TABLE_LIST *ren_table, *new_table;
226
220
for (ren_table= table_list; ren_table; ren_table= new_table->next_local)
228
222
new_table= ren_table->next_local;
229
223
if (do_rename(thd, ren_table, new_table->db, new_table->table_name,
230
224
new_table->alias, skip_error))