summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_in.result
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2005-09-24 02:39:52 +0400
committerunknown <sergefp@mysql.com>2005-09-24 02:39:52 +0400
commit5f01a330bbcac84f33133fb13fa3e952ab1e544d (patch)
tree4d3059fac0bd44cfc43758df9764ecb824bf9ace /mysql-test/r/func_in.result
parent9448683059d21bf820660e31b9515a49cba44023 (diff)
parent5559c48e182e40cfd052a29e875514761994333d (diff)
downloadmariadb-git-5f01a330bbcac84f33133fb13fa3e952ab1e544d.tar.gz
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.
Diffstat (limited to 'mysql-test/r/func_in.result')
-rw-r--r--mysql-test/r/func_in.result9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/func_in.result b/mysql-test/r/func_in.result
index a0868d09242..8562937f1ac 100644
--- a/mysql-test/r/func_in.result
+++ b/mysql-test/r/func_in.result
@@ -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);