mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user