mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
db951c2fa2
mysql-test/r/binary.result: fixed test to be independed from environment mysql-test/r/delayed.result: fixed test to be independed from environment mysql-test/r/fulltext_left_join.result: fixed test to be independed from environment mysql-test/r/func_group.result: fixed test to be independed from environment mysql-test/r/func_in.result: fixed test to be independed from environment mysql-test/r/key_primary.result: fixed test to be independed from environment mysql-test/r/lock_multi.result: fixed test to be independed from environment mysql-test/r/odbc.result: fixed test to be independed from environment mysql-test/r/type_set.result: fixed test to be independed from environment mysql-test/r/type_time.result: fixed test to be independed from environment mysql-test/r/type_timestamp.result: fixed test to be independed from environment mysql-test/r/type_year.result: fixed test to be independed from environment mysql-test/r/varbinary.result: fixed test to be independed from environment mysql-test/r/warnings.result: fixed test to be independed from environment mysql-test/t/binary.test: fixed test to be independed from environment mysql-test/t/delayed.test: fixed test to be independed from environment mysql-test/t/flush_table.test: fixed test to be independed from environment mysql-test/t/fulltext_left_join.test: fixed test to be independed from environment mysql-test/t/func_group.test: fixed test to be independed from environment mysql-test/t/func_in.test: fixed test to be independed from environment mysql-test/t/key_primary.test: fixed test to be independed from environment mysql-test/t/lock_multi.test: fixed test to be independed from environment mysql-test/t/odbc.test: fixed test to be independed from environment mysql-test/t/type_set.test: fixed test to be independed from environment mysql-test/t/type_time.test: fixed test to be independed from environment mysql-test/t/type_timestamp.test: fixed test to be independed from environment mysql-test/t/type_year.test: fixed test to be independed from environment mysql-test/t/varbinary.test: fixed test to be independed from environment mysql-test/t/warnings.test: fixed test to be independed from environment
20 lines
512 B
Text
20 lines
512 B
Text
#
|
|
# test of IN (NULL)
|
|
#
|
|
|
|
drop table if exists t1;
|
|
CREATE TABLE t1 (field char(1));
|
|
INSERT INTO t1 VALUES ('A'),(NULL);
|
|
SELECT * from t1 WHERE field IN (NULL);
|
|
SELECT * from t1 WHERE field NOT IN (NULL);
|
|
SELECT * from t1 where field = field;
|
|
SELECT * from t1 where field <=> field;
|
|
DELETE FROM t1 WHERE field NOT IN (NULL);
|
|
SELECT * FROM t1;
|
|
drop table t1;
|
|
|
|
create table t1 (id int(10) primary key);
|
|
insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9);
|
|
select * from t1 where id in (2,5,9);
|
|
drop table t1;
|
|
|