mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +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 mysql-test/include/varchar.inc: Move handler dependent tests to the specific handler (myisam, bdb, innodb) mysql-test/r/innodb.result: Added varchar tests mysql-test/r/myisam.result: Update results mysql-test/t/bdb.test: Move handler dependent tests to the specific handler (myisam, bdb, innodb) mysql-test/t/innodb.test: Enabled VARCHAR testing mysql-test/t/myisam.test: Move handler dependent tests to the specific handler (myisam, bdb, innodb) sql/sql_parse.cc: Indentation fixes sql/sql_table.cc: Fixed bug introduced when doing cleanup
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