summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_in.test
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-03-09 08:06:59 +0100
committerSergei Golubchik <sergii@pisem.net>2012-03-09 08:06:59 +0100
commit4933d21e5d93840ddcf41bf25ed92fbe253ae92d (patch)
treea4d892b86aa46927978f82976fff61f1e5193383 /mysql-test/t/func_in.test
parent97ee59d27d3daca806fdb3577df5a0e0a45a0a30 (diff)
parent7009bf411a8cb9a6e035b761b5e6352b4f474303 (diff)
downloadmariadb-git-4933d21e5d93840ddcf41bf25ed92fbe253ae92d.tar.gz
merge with mysql-5.5.21
Diffstat (limited to 'mysql-test/t/func_in.test')
-rw-r--r--mysql-test/t/func_in.test19
1 files changed, 0 insertions, 19 deletions
diff --git a/mysql-test/t/func_in.test b/mysql-test/t/func_in.test
index febec62f037..9e6628a1972 100644
--- a/mysql-test/t/func_in.test
+++ b/mysql-test/t/func_in.test
@@ -564,22 +564,3 @@ SELECT 1 IN (YEAR(FROM_UNIXTIME(NULL)) ,1);
--echo End of 5.1 tests
-#
-# lp:817966 int_column IN (string_constant)
-#
-# rather illogically, when BIGINT field is compared to a string,
-# the string is converted to an integer, not to a double.
-# When some other integer field (not BIGINT) is compared to a string,
-# or when the BIGINT is not a field, but an expression, both
-# operands are compared as doubles. The latter behavior is correct,
-# according to the manual.
-#
-create table t1 (a bigint, b int);
-insert t1 values (1,1),(2,2),(3,3);
-select * from t1 where a in ('2.1');
-select * from t1 where b in ('2.1');
-select * from t1 where a='2.1';
-select * from t1 where b='2.1';
-select * from t1 where IF(1,a,a)='2.1';
-drop table t1;
-