summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_misc.test
diff options
context:
space:
mode:
authorRamil Kalimullin <ramil@mysql.com>2009-02-05 11:45:30 +0400
committerRamil Kalimullin <ramil@mysql.com>2009-02-05 11:45:30 +0400
commit9ee53cbcc08128891d7065b63b8a55ec3316c5a3 (patch)
tree2ce1fb79efe652b51ddf371221dfcb5ecdec16c5 /mysql-test/t/func_misc.test
parentdc0f210a79b3853632fb91ebc60fbb9a1c97b011 (diff)
parent31d908d70ba6e0240dd85712e474fbc30b95dbd7 (diff)
downloadmariadb-git-9ee53cbcc08128891d7065b63b8a55ec3316c5a3.tar.gz
Auto-merge
Diffstat (limited to 'mysql-test/t/func_misc.test')
-rw-r--r--mysql-test/t/func_misc.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/func_misc.test b/mysql-test/t/func_misc.test
index 61bf285c364..eb243d38238 100644
--- a/mysql-test/t/func_misc.test
+++ b/mysql-test/t/func_misc.test
@@ -445,6 +445,15 @@ select @my_uuid_date - @my_uuid_synthetic;
set @@session.time_zone=@save_tz;
+
+#
+# Bug#42014: Crash, name_const with collate
+#
+CREATE TABLE t1 (a DATE);
+SELECT * FROM t1 WHERE a = NAME_CONST('reportDate',
+ _binary'2009-01-09' COLLATE 'binary');
+DROP TABLE t1;
+
--echo End of 5.0 tests
#