diff options
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 2c59f4b3482..f51e1d1abe8 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -1482,7 +1482,7 @@ int mysql_alter_table(THD *thd,char *new_db, char *new_name, } } -#ifdef __WIN__ +#if defined( __WIN__) || defined( __EMX__) // Win32 can't rename an open table, so we must close the org table! table_name=thd->strdup(table_name); // must be saved if (close_cached_table(thd,table)) |