mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Manually merged
myisam/mi_check.c: Auto merged myisam/myisamchk.c: Auto merged mysql-test/r/myisam.result: Auto merged mysql-test/t/func_in.test: Auto merged sql/ha_myisam.cc: Auto merged sql/mysqld.cc: Auto merged sql/sql_select.cc: Manually merged.
This commit is contained in:
@@ -193,6 +193,15 @@ select * from t1 where a in (NULL, 'aa');
|
||||
a
|
||||
aa
|
||||
drop table t1;
|
||||
create table t1 (id int, key(id));
|
||||
insert into t1 values (1),(2),(3);
|
||||
select count(*) from t1 where id not in (1);
|
||||
count(*)
|
||||
2
|
||||
select count(*) from t1 where id not in (1,2);
|
||||
count(*)
|
||||
1
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (a int PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (44), (45), (46);
|
||||
SELECT * FROM t1 WHERE a IN (45);
|
||||
|
||||
Reference in New Issue
Block a user