mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
12 lines
562 B
Text
12 lines
562 B
Text
--disable_warnings
|
|
DROP TABLE IF EXISTS t7;
|
|
--enable_warnings
|
|
CREATE TABLE t7(c1 ENUM('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL);
|
|
INSERT INTO t7(c1) VALUES(NULL);
|
|
INSERT IGNORE INTO t7(c1) VALUES('');
|
|
INSERT INTO t7(c1) VALUES('a');
|
|
INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
|
|
INSERT IGNORE INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
|
|
SELECT * FROM t7;
|
|
SELECT COUNT(c1) AS null_rows FROM t7 WHERE c1 IS NULL;
|
|
DROP TABLE t7;
|