summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_misc.result
diff options
context:
space:
mode:
authorRamil Kalimullin <ramil@mysql.com>2010-11-22 14:47:28 +0300
committerRamil Kalimullin <ramil@mysql.com>2010-11-22 14:47:28 +0300
commitcc5263b223c9bc65d2a98276020a56d23c2fde29 (patch)
tree318334755d94aef3ee64545c0a4a566380f9162f /mysql-test/r/func_misc.result
parentaab0c52976a9d647388525423f7c7e8d25ad4118 (diff)
parent218ca24cd9f8261b2473de6792067de75d95ca31 (diff)
downloadmariadb-git-cc5263b223c9bc65d2a98276020a56d23c2fde29.tar.gz
Manual merge from mysql-5.5-bugteam.
Diffstat (limited to 'mysql-test/r/func_misc.result')
-rw-r--r--mysql-test/r/func_misc.result18
1 files changed, 16 insertions, 2 deletions
diff --git a/mysql-test/r/func_misc.result b/mysql-test/r/func_misc.result
index 9ea02d5a9e3..068ab343c89 100644
--- a/mysql-test/r/func_misc.result
+++ b/mysql-test/r/func_misc.result
@@ -381,5 +381,19 @@ INET_NTOA(0)
SELECT '1' IN ('1', INET_NTOA(0));
'1' IN ('1', INET_NTOA(0))
1
-End of 5.1 tests
-End of tests
+#
+# End of 5.1 tests
+#
+#
+# Bug #58199: name_const in the having clause crashes
+#
+CREATE TABLE t1 (a INT);
+SELECT 1 from t1 HAVING NAME_CONST('', a);
+ERROR HY000: Incorrect arguments to NAME_CONST
+DROP TABLE t1;
+#
+# End of 5.5 tests
+#
+#
+# End of tests
+#