mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Fixed engine test results in accordance with changes made in scope of
commit 6b20342651
This commit is contained in:
parent
4e421687c2
commit
125cf485b1
4 changed files with 33 additions and 7 deletions
|
@ -13,7 +13,7 @@ column_comment char_length(column_comment)
|
|||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` int(11) NOT NULL DEFAULT '0' COMMENT 'あいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこ',
|
||||
`c1` int(11) NOT NULL COMMENT 'あいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこ',
|
||||
`c12` int(11) DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL,
|
||||
`c14` char(10) DEFAULT NULL,
|
||||
|
@ -40,7 +40,7 @@ column_comment char_length(column_comment)
|
|||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` int(11) NOT NULL DEFAULT '0' COMMENT 'あいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこ',
|
||||
`c1` int(11) NOT NULL COMMENT 'あいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこ',
|
||||
`c12` int(11) DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL,
|
||||
`c14` char(10) DEFAULT NULL,
|
||||
|
@ -68,7 +68,7 @@ column_comment char_length(column_comment)
|
|||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` int(11) NOT NULL DEFAULT '0' COMMENT 'あいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこ',
|
||||
`c1` int(11) NOT NULL COMMENT 'あいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこ',
|
||||
`c12` int(11) DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL,
|
||||
`c14` char(10) DEFAULT NULL,
|
||||
|
@ -96,7 +96,7 @@ column_comment char_length(column_comment)
|
|||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` int(11) NOT NULL DEFAULT '0' COMMENT 'あいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこ',
|
||||
`c1` int(11) NOT NULL COMMENT 'あいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこ',
|
||||
`c12` int(11) DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL,
|
||||
`c14` char(10) DEFAULT NULL,
|
||||
|
@ -123,7 +123,7 @@ column_comment char_length(column_comment)
|
|||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` int(11) NOT NULL DEFAULT '0' COMMENT 'あいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこ',
|
||||
`c1` int(11) NOT NULL COMMENT 'あいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこあいうえおかきくけこ',
|
||||
`c12` int(11) DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL,
|
||||
`c14` char(10) DEFAULT NULL,
|
||||
|
|
|
@ -1374,6 +1374,8 @@ INSERT INTO t4 VALUES(0,32,33,34,35,36,37,38);
|
|||
INSERT INTO t5 VALUES(0,-32,-32,33,34,35,36,37);
|
||||
INSERT INTO t4(c1,c3,c4) VALUES(NULL,104,LAST_INSERT_ID());
|
||||
INSERT INTO t5(c1,c3,c4) VALUES(NULL,-104,LAST_INSERT_ID());
|
||||
Warnings:
|
||||
Warning 1364 Field 'c2' doesn't have a default value
|
||||
INSERT INTO t4 VALUES('','',17,18,19,20,21,22);
|
||||
Warnings:
|
||||
Warning 1366 Incorrect integer value: '' for column 'c1' at row 1
|
||||
|
@ -2389,6 +2391,7 @@ DROP TABLE t6,t7,t8;
|
|||
INSERT INTO t2 SET c3=5,c4=6;
|
||||
Warnings:
|
||||
Warning 1364 Field 'c1' doesn't have a default value
|
||||
Warning 1364 Field 'c6' doesn't have a default value
|
||||
SET SQL_MODE=STRICT_ALL_TABLES;
|
||||
INSERT INTO t2 SET c3=5,c4=6;
|
||||
ERROR HY000: Field 'c1' doesn't have a default value
|
||||
|
@ -6977,6 +6980,8 @@ INSERT INTO t4 VALUES(0,32,33,34,35,36,37,38);
|
|||
INSERT INTO t5 VALUES(0,-32,-32,33,34,35,36,37);
|
||||
INSERT INTO t4(c1,c3,c4) VALUES(NULL,104,LAST_INSERT_ID());
|
||||
INSERT INTO t5(c1,c3,c4) VALUES(NULL,-104,LAST_INSERT_ID());
|
||||
Warnings:
|
||||
Warning 1364 Field 'c2' doesn't have a default value
|
||||
INSERT INTO t4 VALUES('','',17,18,19,20,21,22);
|
||||
Warnings:
|
||||
Warning 1366 Incorrect integer value: '' for column 'c1' at row 1
|
||||
|
@ -7981,6 +7986,7 @@ DROP TABLE t6,t7,t8;
|
|||
INSERT INTO t2 SET c3=5,c4=6;
|
||||
Warnings:
|
||||
Warning 1364 Field 'c1' doesn't have a default value
|
||||
Warning 1364 Field 'c6' doesn't have a default value
|
||||
SET SQL_MODE=STRICT_ALL_TABLES;
|
||||
INSERT INTO t2 SET c3=5,c4=6;
|
||||
ERROR HY000: Field 'c1' doesn't have a default value
|
||||
|
@ -12674,6 +12680,8 @@ INSERT INTO t4 VALUES(0,32,33,34,35,36,37,38);
|
|||
INSERT INTO t5 VALUES(0,-32,-32,33,34,35,36,37);
|
||||
INSERT INTO t4(c1,c3,c4) VALUES(NULL,104,LAST_INSERT_ID());
|
||||
INSERT INTO t5(c1,c3,c4) VALUES(NULL,-104,LAST_INSERT_ID());
|
||||
Warnings:
|
||||
Warning 1364 Field 'c2' doesn't have a default value
|
||||
INSERT INTO t4 VALUES('','',17,18,19,20,21,22);
|
||||
Warnings:
|
||||
Warning 1366 Incorrect integer value: '' for column 'c1' at row 1
|
||||
|
@ -13678,6 +13686,7 @@ DROP TABLE t6,t7,t8;
|
|||
INSERT INTO t2 SET c3=5,c4=6;
|
||||
Warnings:
|
||||
Warning 1364 Field 'c1' doesn't have a default value
|
||||
Warning 1364 Field 'c6' doesn't have a default value
|
||||
SET SQL_MODE=STRICT_ALL_TABLES;
|
||||
INSERT INTO t2 SET c3=5,c4=6;
|
||||
ERROR HY000: Field 'c1' doesn't have a default value
|
||||
|
@ -18476,6 +18485,8 @@ INSERT INTO t4 VALUES(0,32,33,34,35,36,37,38);
|
|||
INSERT INTO t5 VALUES(0,-32,-32,33,34,35,36,37);
|
||||
INSERT INTO t4(c1,c3,c4) VALUES(NULL,104,LAST_INSERT_ID());
|
||||
INSERT INTO t5(c1,c3,c4) VALUES(NULL,-104,LAST_INSERT_ID());
|
||||
Warnings:
|
||||
Warning 1364 Field 'c2' doesn't have a default value
|
||||
INSERT INTO t4 VALUES('','',17,18,19,20,21,22);
|
||||
Warnings:
|
||||
Warning 1366 Incorrect integer value: '' for column 'c1' at row 1
|
||||
|
@ -19480,6 +19491,7 @@ DROP TABLE t6,t7,t8;
|
|||
INSERT INTO t2 SET c3=5,c4=6;
|
||||
Warnings:
|
||||
Warning 1364 Field 'c1' doesn't have a default value
|
||||
Warning 1364 Field 'c6' doesn't have a default value
|
||||
SET SQL_MODE=STRICT_ALL_TABLES;
|
||||
INSERT INTO t2 SET c3=5,c4=6;
|
||||
ERROR HY000: Field 'c1' doesn't have a default value
|
||||
|
@ -24383,6 +24395,8 @@ INSERT INTO t4 VALUES(0,32,33,34,35,36,37,38);
|
|||
INSERT INTO t5 VALUES(0,-32,-32,33,34,35,36,37);
|
||||
INSERT INTO t4(c1,c3,c4) VALUES(NULL,104,LAST_INSERT_ID());
|
||||
INSERT INTO t5(c1,c3,c4) VALUES(NULL,-104,LAST_INSERT_ID());
|
||||
Warnings:
|
||||
Warning 1364 Field 'c2' doesn't have a default value
|
||||
INSERT INTO t4 VALUES('','',17,18,19,20,21,22);
|
||||
Warnings:
|
||||
Warning 1366 Incorrect integer value: '' for column 'c1' at row 1
|
||||
|
@ -25387,6 +25401,7 @@ DROP TABLE t6,t7,t8;
|
|||
INSERT INTO t2 SET c3=5,c4=6;
|
||||
Warnings:
|
||||
Warning 1364 Field 'c1' doesn't have a default value
|
||||
Warning 1364 Field 'c6' doesn't have a default value
|
||||
SET SQL_MODE=STRICT_ALL_TABLES;
|
||||
INSERT INTO t2 SET c3=5,c4=6;
|
||||
ERROR HY000: Field 'c1' doesn't have a default value
|
||||
|
@ -30290,6 +30305,8 @@ INSERT INTO t4 VALUES(0,32,33,34,35,36,37,38);
|
|||
INSERT INTO t5 VALUES(0,-32,-32,33,34,35,36,37);
|
||||
INSERT INTO t4(c1,c3,c4) VALUES(NULL,104,LAST_INSERT_ID());
|
||||
INSERT INTO t5(c1,c3,c4) VALUES(NULL,-104,LAST_INSERT_ID());
|
||||
Warnings:
|
||||
Warning 1364 Field 'c2' doesn't have a default value
|
||||
INSERT INTO t4 VALUES('','',17,18,19,20,21,22);
|
||||
Warnings:
|
||||
Warning 1366 Incorrect integer value: '' for column 'c1' at row 1
|
||||
|
@ -31294,6 +31311,7 @@ DROP TABLE t6,t7,t8;
|
|||
INSERT INTO t2 SET c3=5,c4=6;
|
||||
Warnings:
|
||||
Warning 1364 Field 'c1' doesn't have a default value
|
||||
Warning 1364 Field 'c6' doesn't have a default value
|
||||
SET SQL_MODE=STRICT_ALL_TABLES;
|
||||
INSERT INTO t2 SET c3=5,c4=6;
|
||||
ERROR HY000: Field 'c1' doesn't have a default value
|
||||
|
|
|
@ -36,6 +36,8 @@ Warning 1265 Data truncated for column 'c2' at row 1
|
|||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1(c1) VALUES('5');
|
||||
INSERT INTO t2(c1) VALUES('5');
|
||||
Warnings:
|
||||
Warning 1364 Field 'c2' doesn't have a default value
|
||||
INSERT INTO t3(c1) VALUES('5');
|
||||
INSERT INTO t4(c1,c2) VALUES('0','000');
|
||||
INSERT INTO t2 VALUES(1900,2156,'08-01-06','08/01/07');
|
||||
|
@ -3218,6 +3220,8 @@ TRUNCATE TABLE t5;
|
|||
DROP TABLE t5;
|
||||
INSERT INTO t1 SET c1='00';
|
||||
INSERT INTO t2 SET c1=69;
|
||||
Warnings:
|
||||
Warning 1364 Field 'c2' doesn't have a default value
|
||||
INSERT INTO t3 SET c1=70;
|
||||
INSERT INTO t4 SET c2=99;
|
||||
Warnings:
|
||||
|
@ -3291,6 +3295,8 @@ Warning 1265 Data truncated for column 'c2' at row 1
|
|||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1(c1) VALUES('5');
|
||||
INSERT INTO t2(c1) VALUES('5');
|
||||
Warnings:
|
||||
Warning 1364 Field 'c2' doesn't have a default value
|
||||
INSERT INTO t3(c1) VALUES('5');
|
||||
INSERT INTO t4(c1,c2) VALUES('0','000');
|
||||
INSERT INTO t2 VALUES(1900,2156,'08-01-06','08/01/07');
|
||||
|
@ -6183,6 +6189,8 @@ TRUNCATE TABLE t5;
|
|||
DROP TABLE t5;
|
||||
INSERT INTO t1 SET c1='00';
|
||||
INSERT INTO t2 SET c1=69;
|
||||
Warnings:
|
||||
Warning 1364 Field 'c2' doesn't have a default value
|
||||
INSERT INTO t3 SET c1=70;
|
||||
INSERT INTO t4 SET c2=99;
|
||||
Warnings:
|
||||
|
|
|
@ -348,7 +348,7 @@ c3
|
|||
9999999999
|
||||
UPDATE t1 SET c2="1 e 1" WHERE c4=2;
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c2' at row 2
|
||||
Warning 1265 Data truncated for column 'c2' at row 2
|
||||
SELECT c2 FROM t1;
|
||||
c2
|
||||
-100.00000
|
||||
|
@ -1099,7 +1099,7 @@ INSERT INTO t3 VALUES ('11111.11111','4444444444',1),('55555.55555','5555555555'
|
|||
UPDATE t2,t3 SET t3.c1='22222.22222' WHERE t2.c1=t3.c1 AND t2.c3=t3.c3;
|
||||
UPDATE t1 SET c3='asdf' WHERE c1='11111.11111';
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'c3' at row 1
|
||||
Warning 1366 Incorrect double value: 'asdf' for column 'c3' at row 1
|
||||
SELECT c3 FROM t1;
|
||||
c3
|
||||
0
|
||||
|
|
Loading…
Add table
Reference in a new issue