diff options
author | mhansson/martin@linux-st28.site <> | 2007-10-01 09:11:45 +0200 |
---|---|---|
committer | mhansson/martin@linux-st28.site <> | 2007-10-01 09:11:45 +0200 |
commit | 967c782fa7173ffc881772cc9ed7c07770331891 (patch) | |
tree | cc66ad15fe310986093f487006f38dad79e3894c /mysql-test/r/func_misc.result | |
parent | ed7e4b82c1e5156bef05b4a800e8fa8ebb8223fc (diff) | |
parent | 397da9d9b7cd686bb86bd36956e7da3863b21379 (diff) | |
download | mariadb-git-967c782fa7173ffc881772cc9ed7c07770331891.tar.gz |
Merge linux-st28.site:/home/martin/mysql/src/bug30832/my50-bug30832
into linux-st28.site:/home/martin/mysql/src/bug30832/my51-bug30832
Diffstat (limited to 'mysql-test/r/func_misc.result')
-rw-r--r-- | mysql-test/r/func_misc.result | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/r/func_misc.result b/mysql-test/r/func_misc.result index 39bf1470afe..4bd9d0be174 100644 --- a/mysql-test/r/func_misc.result +++ b/mysql-test/r/func_misc.result @@ -190,6 +190,22 @@ ERROR 21000: Operand should contain 1 column(s) drop table table_26093; drop function func_26093_a; drop function func_26093_b; +SELECT NAME_CONST('test', NOW()); +ERROR HY000: Incorrect arguments to NAME_CONST +SELECT NAME_CONST('test', UPPER('test')); +ERROR HY000: Incorrect arguments to NAME_CONST +SELECT NAME_CONST('test', NULL); +test +NULL +SELECT NAME_CONST('test', 1); +test +1 +SELECT NAME_CONST('test', 1.0); +test +1.0 +SELECT NAME_CONST('test', 'test'); +test +test End of 5.0 tests select connection_id() > 0; connection_id() > 0 |