mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / mysql-test / suite / engines / funcs / r / in_set_null_boundary_error.result
blob372003e539e56992f42cf66b17653c75fbe4d0f1
1 SET SQL_MODE="TRADITIONAL,ANSI";
2 DROP TABLE IF EXISTS t7;
3 CREATE TABLE t7(c1 SET('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL);
4 INSERT INTO t7(c1) VALUES(NULL);
5 INSERT INTO t7(c1) VALUES('');
6 INSERT INTO t7(c1) VALUES('a');
7 INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
8 INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
9 ERROR 01000: Data truncated for column 'c1' at row 1
10 INSERT INTO t7(c1) VALUES('a,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
11 SELECT * FROM t7;
13 NULL
16 abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij
17 a,abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij
18 SELECT COUNT(c1) AS null_rows FROM t7 WHERE c1 IS NULL;
19 null_rows
21 DROP TABLE t7;