summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_set.test
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2004-08-24 17:29:08 +0400
committerunknown <gluh@gluh.mysql.r18.ru>2004-08-24 17:29:08 +0400
commitb758a6d142a3c2a96c6744c9cf28e444180caa19 (patch)
treeec19864e831406b3c58ccbe4faa5688c2bcb36b3 /mysql-test/t/func_set.test
parent696a303547eef73d5f58c1f8b68189e38913cf37 (diff)
downloadmariadb-git-b758a6d142a3c2a96c6744c9cf28e444180caa19.tar.gz
Fix for bug #4340: find_in_set is case insensitive even on binary operators(2nd version)
mysql-test/r/func_set.result: Fix for bug #4340: find_in_set is case insensitive even on binary operators mysql-test/t/func_set.test: Fix for bug #4340: find_in_set is case insensitive even on binary operators sql/item_func.cc: Fix for bug #4340: find_in_set is case insensitive even on binary operators
Diffstat (limited to 'mysql-test/t/func_set.test')
-rw-r--r--mysql-test/t/func_set.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/func_set.test b/mysql-test/t/func_set.test
index 81f561989d5..a1ee293ae05 100644
--- a/mysql-test/t/func_set.test
+++ b/mysql-test/t/func_set.test
@@ -16,3 +16,11 @@ select elt(2,1),field(NULL,"a","b","c");
select find_in_set("","a,b,c"),find_in_set("","a,b,c,"),find_in_set("",",a,b,c");
select find_in_set("abc","abc"),find_in_set("ab","abc"),find_in_set("abcd","abc");
select interval(null, 1, 10, 100);
+
+#
+# Bug4340: find_in_set is case insensitive even on binary operators
+#
+
+select find_in_set(binary 'a',binary 'A,B,C');
+select find_in_set('a',binary 'A,B,C');
+select find_in_set(binary 'a', 'A,B,C');