diff options
author | unknown <istruewing@stella.local> | 2007-12-11 17:09:43 +0100 |
---|---|---|
committer | unknown <istruewing@stella.local> | 2007-12-11 17:09:43 +0100 |
commit | cd34354e6c8d86d19fb397912d98803254bebaaf (patch) | |
tree | 3d24c8f4f0325ffc59ec0c65b251a86363351a4d /mysql-test/t/func_misc.test | |
parent | 9e5ed26076c1999f4437eca4a7ef133962f2e30f (diff) | |
parent | 36486ee86c8ba3eddeaed752e5e0c87498502058 (diff) | |
download | mariadb-git-cd34354e6c8d86d19fb397912d98803254bebaaf.tar.gz |
Merge stella.local:/home2/mydev/mysql-5.0-amain
into stella.local:/home2/mydev/mysql-5.0-axmrg
mysql-test/r/func_misc.result:
Manual merge
mysql-test/t/func_misc.test:
Manual merge
Diffstat (limited to 'mysql-test/t/func_misc.test')
-rw-r--r-- | mysql-test/t/func_misc.test | 12 |
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 - |