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

fix the maria suite

sql/handler.h:
  not "unused"
sql/sql_table.cc:
  move this check where it is in 10.0
This commit is contained in:
Sergei Golubchik
2013-07-12 23:07:32 +02:00
parent 8367241d5a
commit 7da16844ea
6 changed files with 21 additions and 18 deletions

View File

@ -17,7 +17,6 @@ test.t1 check status OK
ALTER TABLE t1 MODIFY a VARCHAR(800) CHARSET `ucs2`;
Warnings:
Warning 1071 Specified key was too long; max key length is 1000 bytes
Warning 1071 Specified key was too long; max key length is 1000 bytes
CHECK TABLE t1;
Table Op Msg_type Msg_text
test.t1 check status OK

View File

@ -460,7 +460,7 @@ id f1
1 test1
2 test2
drop table t1;
SET SQL_MODE = 'TRADITIONAL';
SET SQL_MODE = '';
create table t1 (n int not null primary key auto_increment, c char(1), unique(c));
insert into t1 values(100, "a");
insert into t1 values(300, "b");

View File

@ -364,7 +364,7 @@ INSERT IGNORE INTO t1 (f1) VALUES ("test1");
INSERT IGNORE INTO t1 (f1) VALUES ("test2");
SELECT * FROM t1;
drop table t1;
SET SQL_MODE = 'TRADITIONAL';
SET SQL_MODE = '';
create table t1 (n int not null primary key auto_increment, c char(1), unique(c));
insert into t1 values(100, "a");