From aa6ab3b49c9a6037bae43b37d3da3710be96b6c2 Mon Sep 17 00:00:00 2001 From: "monty@mysql.com" <> Date: Thu, 17 Mar 2005 01:22:12 +0200 Subject: Move handler dependent tests to the specific handler (myisam, bdb, innodb) Enabled VARCHAR testing for innodb NOTE: innodb.test currently fails becasue of a bug in InnoDB. I have informed Heikki about this and expect him to fix this ASAP --- mysql-test/t/myisam.test | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'mysql-test/t/myisam.test') diff --git a/mysql-test/t/myisam.test b/mysql-test/t/myisam.test index 9464513413a..3fd69a24903 100644 --- a/mysql-test/t/myisam.test +++ b/mysql-test/t/myisam.test @@ -560,12 +560,26 @@ drop table t1,t2; let $default=`select @@storage_engine`; set storage_engine=MyISAM; source include/varchar.inc; -eval set storage_engine=$default; + +# +# Some errors/warnings on create +# + +create table t1 (v varchar(65530), key(v)); +drop table if exists t1; +create table t1 (v varchar(65536)); +show create table t1; +drop table t1; +create table t1 (v varchar(65530) character set utf8); +show create table t1; +drop table t1; # MyISAM specific varchar tests --error 1118 create table t1 (v varchar(65535)); +eval set storage_engine=$default; + # # Test how DROP TABLE works if the index or data file doesn't exists -- cgit v1.2.1