1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fix for bug 12207 (alter table discard tablespace on MyISAM table

causes ERROR 2013).
(all-in-one approved patch)
This commit is contained in:
andrey@lmy004.
2005-08-29 21:00:43 +02:00
parent d7d307fbdd
commit 1668c45d30
3 changed files with 15 additions and 3 deletions

View File

@ -523,6 +523,10 @@ alter table t1 drop key no_such_key;
ERROR 42000: Can't DROP 'no_such_key'; check that column/key exists
alter table t1 drop key a;
drop table t1;
CREATE TABLE T12207(a int) ENGINE=MYISAM;
ALTER TABLE T12207 DISCARD TABLESPACE;
ERROR HY000: Table storage engine for 'T12207' doesn't have this option
DROP TABLE T12207;
create table t1 (a text) character set koi8r;
insert into t1 values (_koi8r'<27><><EFBFBD><EFBFBD>');
select hex(a) from t1;