diff options
author | ramil/ram@mysql.com/ramil.myoffice.izhnet.ru <> | 2007-11-29 14:01:07 +0400 |
---|---|---|
committer | ramil/ram@mysql.com/ramil.myoffice.izhnet.ru <> | 2007-11-29 14:01:07 +0400 |
commit | 7bc2d42752814eaed50b151654f1101ae0b57582 (patch) | |
tree | 24d303febedced21c6b5f852457577f348de3b6e /mysql-test/t/func_misc.test | |
parent | 92d4ea79ef7d5c5edff0a1f6a597b9293d9ba547 (diff) | |
parent | ac034767c0482ea234ac624ddda4a0cdcff46a8e (diff) | |
download | mariadb-git-7bc2d42752814eaed50b151654f1101ae0b57582.tar.gz |
Merge mysql.com:/home/ram/work/mysql-5.0-engines
into mysql.com:/home/ram/work/b32559/b32559.5.0
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 2c34f77b1ff..4870379d69e 100644 --- a/mysql-test/t/func_misc.test +++ b/mysql-test/t/func_misc.test @@ -204,5 +204,15 @@ SELECT NAME_CONST('test', 1.0); SELECT NAME_CONST('test', -1.0); SELECT NAME_CONST('test', 'test'); ---echo End of 5.0 tests +# +# 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 |