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
commitbd557f04f644bda3b493c37225b169167eb6e11e (patch)
tree318334755d94aef3ee64545c0a4a566380f9162f /mysql-test/r/func_misc.result
parent3bae49d64ce0df04a85583b5dc680cda54760dbc (diff)
parent9d9699209d9ca66648db8aff46f6b66a4c1c18de (diff)
downloadmariadb-git-bd557f04f644bda3b493c37225b169167eb6e11e.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
+#