1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

item_cmpfunc.cc, func_in.result, func_in.test:

Reverted fix for bug#18360
This commit is contained in:
evgen@moonbone.local
2006-06-20 00:50:09 +04:00
parent c02e6f2a5b
commit 279c310b66
3 changed files with 8 additions and 53 deletions

View File

@@ -202,24 +202,3 @@ select count(*) from t1 where id not in (1,2);
count(*)
1
drop table t1;
create table t1 (f1 char(1), f2 int);
insert into t1 values (1,0),('a',1),('z',2);
select f1 from t1 where f1 in (1,'z');
f1
1
z
select f2 from t1 where f2 in (1,'z');
f2
0
1
select f1 from t1 where 'z' in (1,f1);
f1
z
select * from t1 where 'z' in (f2,f1);
f1 f2
z 2
select * from t1 where 1 in (f2,f1);
f1 f2
1 0
a 1
drop table t1;