1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Merge mysql.com:/home/dlenev/mysql-5.0-bg18153

into  mysql.com:/home/dlenev/mysql-5.1-merges
This commit is contained in:
dlenev@mysql.com
2006-03-24 19:46:01 +03:00
6 changed files with 194 additions and 1 deletions

View File

@@ -4948,7 +4948,6 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
Win32 and InnoDB can't drop a table that is in use, so we must
close the original table at before doing the rename
*/
table_name=thd->strdup(table_name); // must be saved
table->s->version= 0; // Force removal of table def
close_cached_table(thd, table);
table=0; // Marker that table is closed