mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
A fix (bug #7661: 'classic' shows different test effects which must be cared for)
"create table ta(a bit...) engine=innodb" moved to innodb.test mysql-test/r/innodb.result: A fix (bug #7661: 'classic' shows different test effects which must be cared for) mysql-test/r/type_bit.result: A fix (bug #7661: 'classic' shows different test effects which must be cared for) mysql-test/t/innodb.test: A fix (bug #7661: 'classic' shows different test effects which must be cared for) mysql-test/t/type_bit.test: A fix (bug #7661: 'classic' shows different test effects which must be cared for)
This commit is contained in:
@ -1798,3 +1798,5 @@ Variable_name Value
|
||||
innodb_thread_sleep_delay 10000
|
||||
create table t1 (v varchar(16384)) engine=innodb;
|
||||
ERROR 42000: Column length too big for column 'v' (max = 255); use BLOB instead
|
||||
create table t1 (a bit, key(a)) engine=innodb;
|
||||
ERROR 42000: The storage engine for the table doesn't support BIT FIELD
|
||||
|
@ -44,8 +44,6 @@ t1 CREATE TABLE `t1` (
|
||||
`a` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
create table t1 (a bit, key(a)) engine=innodb;
|
||||
ERROR 42000: The storage engine for the table doesn't support BIT FIELD
|
||||
create table t1 (a bit(64));
|
||||
insert into t1 values
|
||||
(b'1111111111111111111111111111111111111111111111111111111111111111'),
|
||||
|
@ -1278,3 +1278,7 @@ show variables like "innodb_thread_sleep_delay";
|
||||
# InnoDB specific varchar tests
|
||||
--error 1074
|
||||
create table t1 (v varchar(16384)) engine=innodb;
|
||||
|
||||
# The following should be moved to type_bit.test when innodb will support it
|
||||
--error 1178
|
||||
create table t1 (a bit, key(a)) engine=innodb;
|
||||
|
@ -1,3 +1,4 @@
|
||||
-- source include/have_innodb.inc
|
||||
#
|
||||
# testing of the BIT column type
|
||||
#
|
||||
@ -26,9 +27,6 @@ create table t1 (a bit(0));
|
||||
show create table t1;
|
||||
drop table t1;
|
||||
|
||||
--error 1178
|
||||
create table t1 (a bit, key(a)) engine=innodb;
|
||||
|
||||
create table t1 (a bit(64));
|
||||
insert into t1 values
|
||||
(b'1111111111111111111111111111111111111111111111111111111111111111'),
|
||||
|
Reference in New Issue
Block a user