diff options
author | unknown <gluh@mysql.com/eagle.(none)> | 2007-11-23 18:21:24 +0400 |
---|---|---|
committer | unknown <gluh@mysql.com/eagle.(none)> | 2007-11-23 18:21:24 +0400 |
commit | c1b2322a45b2db4147f7e0054ed819af9b0f46ef (patch) | |
tree | aa491b760fee621af06703148a57c74eeb943202 /mysql-test/r | |
parent | cdb4fb42476f706802990edf37f6dfc35902d29c (diff) | |
download | mariadb-git-c1b2322a45b2db4147f7e0054ed819af9b0f46ef.tar.gz |
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
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/drop.result | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/drop.result b/mysql-test/r/drop.result index ff11905aa34..4626dd580f7 100644 --- a/mysql-test/r/drop.result +++ b/mysql-test/r/drop.result @@ -85,3 +85,8 @@ select 1; 1 unlock tables; End of 5.0 tests +create database mysql_test; +create table mysql_test.t1(f1 int); +create table mysql_test.`#sql-347f_7` (f1 int); +drop database mysql_test; +End of 5.1 tests |