mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 02:30:06 +01:00
14 lines
291 B
Text
14 lines
291 B
Text
connection node_2;
|
|
connection node_1;
|
|
CREATE TABLE t1 (f1 INT DEFAULT NULL, UNIQUE KEY i1 (f1)) ENGINE=InnoDB;
|
|
INSERT INTO t1 VALUES (NULL);
|
|
INSERT INTO t1 VALUES (NULL);
|
|
connection node_2;
|
|
SELECT COUNT(*) = 2 FROM t1;
|
|
COUNT(*) = 2
|
|
1
|
|
SELECT f1 IS NULL FROM t1;
|
|
f1 IS NULL
|
|
1
|
|
1
|
|
DROP TABLE t1;
|