summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_misc.test
diff options
context:
space:
mode:
authoristruewing@stella.local <>2007-12-11 17:09:43 +0100
committeristruewing@stella.local <>2007-12-11 17:09:43 +0100
commitba2d58ae5e93ff7ae39a4de8437e5e064be071a4 (patch)
tree3d24c8f4f0325ffc59ec0c65b251a86363351a4d /mysql-test/t/func_misc.test
parenta079cb9f494f8561088eacf7f1184558fd8644a0 (diff)
parente02d039abef34f0beaaf4c6e5bc3118552fbcfcc (diff)
downloadmariadb-git-ba2d58ae5e93ff7ae39a4de8437e5e064be071a4.tar.gz
Merge stella.local:/home2/mydev/mysql-5.0-amain
into stella.local:/home2/mydev/mysql-5.0-axmrg
Diffstat (limited to 'mysql-test/t/func_misc.test')
-rw-r--r--mysql-test/t/func_misc.test12
1 files changed, 11 insertions, 1 deletions
diff --git a/mysql-test/t/func_misc.test b/mysql-test/t/func_misc.test
index c8b8f8f2a69..844e60ab7ae 100644
--- a/mysql-test/t/func_misc.test
+++ b/mysql-test/t/func_misc.test
@@ -205,6 +205,17 @@ SELECT NAME_CONST('test', -1.0);
SELECT NAME_CONST('test', 'test');
#
+# 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;
+
+#
# Bug #31349: ERROR 1062 (23000): Duplicate entry '' for key 'group_key'
#
create table t1 (a int not null);
@@ -213,4 +224,3 @@ select min(a) from t1 group by inet_ntoa(a);
drop table t1;
--echo End of 5.0 tests
-