1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

item_cmpfunc.cc, func_in.result, multi_update.result:

After merge fix
This commit is contained in:
evgen@moonbone.local
2006-05-30 23:05:34 +04:00
parent de96d52999
commit fdc2b921cc
3 changed files with 32 additions and 0 deletions

View File

@@ -212,12 +212,20 @@ select f2 from t1 where f2 in (1,'z');
f2
0
1
Warnings:
Warning 1292 Truncated incorrect INTEGER value: 'z'
select f1 from t1 where 'z' in (1,f1);
f1
z
select * from t1 where 'z' in (f2,f1);
f1 f2
1 0
a 1
z 2
Warnings:
Warning 1292 Truncated incorrect DOUBLE value: 'z'
Warning 1292 Truncated incorrect DOUBLE value: 'z'
Warning 1292 Truncated incorrect DOUBLE value: 'z'
select * from t1 where 1 in (f2,f1);
f1 f2
1 0