Bug#30152 MySQLD crash duing alter table causes DROP DATABASE to FAIL due to temp file

disable decoding of table name if the table is internal temporary table


mysql-test/r/drop.result:
  test result
mysql-test/t/drop.test:
  test case
sql/sql_db.cc:
  check is the name is internal tmp table name
sql/sql_table.cc:
  disable decoding of table name if the table is internal temporary table
sql/table.h:
  added flag which is true when table name is the name of internal temporary table
This commit is contained in:
unknown 2007-11-23 18:21:24 +04:00
commit 9a34c80e11
5 changed files with 23 additions and 2 deletions

View file

@ -1081,6 +1081,7 @@ struct TABLE_LIST
... SELECT implementation).
*/
bool create;
bool internal_tmp_table;
/* View creation context. */