summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_set.test
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2004-09-11 15:48:23 +0400
committerunknown <gluh@gluh.mysql.r18.ru>2004-09-11 15:48:23 +0400
commit9ecf15ed749782df0736dd8d355385b75a15c3c2 (patch)
tree5aea81bb73ba1be0950c72662d025c2b4b67e1b7 /mysql-test/t/func_set.test
parentcd573513a3744adf86b68ffd50887baa9d12bbe1 (diff)
downloadmariadb-git-9ecf15ed749782df0736dd8d355385b75a15c3c2.tar.gz
Fix for bug #5513: FIND_IN_SET fails if set ends with a comma
Diffstat (limited to 'mysql-test/t/func_set.test')
-rw-r--r--mysql-test/t/func_set.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/func_set.test b/mysql-test/t/func_set.test
index d669739bcb4..98ef1e07bfe 100644
--- a/mysql-test/t/func_set.test
+++ b/mysql-test/t/func_set.test
@@ -47,3 +47,8 @@ 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');
+#
+# Bug5513:FIND_IN_SET fails if set ends with a comma
+#
+select find_in_set('1','3,1,');
+