Debian Codegraph @

mysql-test/suite/engines/funcs/r/in_enum_null.result

raw
1 DROP TABLE IF EXISTS t7;
2 CREATE TABLE t7(c1 ENUM('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL);
3 INSERT INTO t7(c1) VALUES(NULL);
4 INSERT IGNORE INTO t7(c1) VALUES('');
5 Warnings:
6 Warning 1265 Data truncated for column 'c1' at row 1
7 INSERT INTO t7(c1) VALUES('a');
8 INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
9 INSERT IGNORE INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
10 Warnings:
11 Warning 1265 Data truncated for column 'c1' at row 1
12 SELECT * FROM t7;
13 c1
14 NULL
15
16 a
17 abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij
18
19 SELECT COUNT(c1) AS null_rows FROM t7 WHERE c1 IS NULL;
20 null_rows
21 0
22 DROP TABLE t7;