mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Test suites for engine testing, moved from test-extra so will be available
for general use. mysql-test/Makefile.am: Adding directories of additional test suites mysql-test/mysql-stress-test.pl: Adding check for additional errors checking during test run
This commit is contained in:
22
mysql-test/suite/engines/funcs/r/in_enum_null.result
Normal file
22
mysql-test/suite/engines/funcs/r/in_enum_null.result
Normal file
@ -0,0 +1,22 @@
|
||||
DROP TABLE IF EXISTS t7;
|
||||
CREATE TABLE t7(c1 ENUM('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL);
|
||||
INSERT INTO t7(c1) VALUES(NULL);
|
||||
INSERT INTO t7(c1) VALUES('');
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t7(c1) VALUES('a');
|
||||
INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
|
||||
INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'c1' at row 1
|
||||
SELECT * FROM t7;
|
||||
c1
|
||||
NULL
|
||||
|
||||
a
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij
|
||||
|
||||
SELECT COUNT(c1) AS null_rows FROM t7 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
DROP TABLE t7;
|
Reference in New Issue
Block a user