diff options
author | unknown <gluh@gluh.mysql.r18.ru> | 2004-08-24 17:29:08 +0400 |
---|---|---|
committer | unknown <gluh@gluh.mysql.r18.ru> | 2004-08-24 17:29:08 +0400 |
commit | b758a6d142a3c2a96c6744c9cf28e444180caa19 (patch) | |
tree | ec19864e831406b3c58ccbe4faa5688c2bcb36b3 /mysql-test/t/func_set.test | |
parent | 696a303547eef73d5f58c1f8b68189e38913cf37 (diff) | |
download | mariadb-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.test | 8 |
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'); |