summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_misc.test
diff options
context:
space:
mode:
authorunknown <istruewing@stella.local>2007-12-11 21:37:33 +0100
committerunknown <istruewing@stella.local>2007-12-11 21:37:33 +0100
commit19c7e2c9d5581aab49b0d3285f4831daad435154 (patch)
tree8d165ae75cc77a6c917c8dc41b75cb2ceb402ca8 /mysql-test/t/func_misc.test
parentebc227bfa46dbec2d3a8f47d57d33120cd1c4a64 (diff)
parent2bbf12c3305295b41639c98ca805437b4efc0e3a (diff)
downloadmariadb-git-19c7e2c9d5581aab49b0d3285f4831daad435154.tar.gz
Merge stella.local:/home2/mydev/mysql-5.1-amain
into stella.local:/home2/mydev/mysql-5.1-axmrg mysql-test/t/disabled.def: Auto merged sql/partition_info.cc: Auto merged storage/csv/ha_tina.cc: Auto merged mysql-test/r/func_misc.result: SCCS merged mysql-test/t/func_misc.test: SCCS merged
Diffstat (limited to 'mysql-test/t/func_misc.test')
-rw-r--r--mysql-test/t/func_misc.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/func_misc.test b/mysql-test/t/func_misc.test
index fb85cdfb27d..8e4628f1eb7 100644
--- a/mysql-test/t/func_misc.test
+++ b/mysql-test/t/func_misc.test
@@ -221,6 +221,17 @@ insert into t1 values (-1), (-2);
select min(a) from t1 group by inet_ntoa(a);
drop table t1;
+#
+# Bug #32559: connection hangs on query with name_const
+#
+CREATE TABLE t1(a INT);
+INSERT INTO t1 VALUES (), (), ();
+--error ER_WRONG_ARGUMENTS
+SELECT NAME_CONST(a, '1') FROM t1;
+--error ER_WRONG_ARGUMENTS
+SET INSERT_ID= NAME_CONST(a, a);
+DROP TABLE t1;
+
--echo End of 5.0 tests
#