diff options
author | unknown <andrey@lmy004.> | 2005-08-29 21:00:43 +0200 |
---|---|---|
committer | unknown <andrey@lmy004.> | 2005-08-29 21:00:43 +0200 |
commit | 04af59a36c1a18d153a224970732acd6f8f525c8 (patch) | |
tree | cac93813b16612fffd11314de31e81b3209b9a82 /mysql-test/t/alter_table.test | |
parent | 901075ac22155df18dc908f76a0bcf6ec96f0fa3 (diff) | |
download | mariadb-git-04af59a36c1a18d153a224970732acd6f8f525c8.tar.gz |
fix for bug 12207 (alter table discard tablespace on MyISAM table
causes ERROR 2013).
(all-in-one approved patch)
mysql-test/r/alter_table.result:
result for test for bug #12207
(alter table discard database works on mysiam and causes error 2013)
mysql-test/t/alter_table.test:
test for bug #12207 (alter table discard tablescpae on MyISAM table
causes ERROR 2013)
sql/sql_table.cc:
send all error message to table->file->print_error() thus not missing
handing of some (like engine not supported).
fix for bug #12207 (alter table discard tablespace on MyISAM table
causes ERROR 2013)
Diffstat (limited to 'mysql-test/t/alter_table.test')
-rw-r--r-- | mysql-test/t/alter_table.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/alter_table.test b/mysql-test/t/alter_table.test index a237b21f403..003662fc956 100644 --- a/mysql-test/t/alter_table.test +++ b/mysql-test/t/alter_table.test @@ -338,6 +338,14 @@ alter table t1 drop key a; drop table t1; # +# BUG 12207 alter table ... discard table space on MyISAM table causes ERROR 2013 (HY000) +# +CREATE TABLE T12207(a int) ENGINE=MYISAM; +--error 1031 +ALTER TABLE T12207 DISCARD TABLESPACE; +DROP TABLE T12207; + +# # Bug #6479 ALTER TABLE ... changing charset fails for TEXT columns # # The column's character set was changed but the actual data was not |