diff options
author | gluh@eagle.(none) <> | 2007-12-13 14:52:49 +0400 |
---|---|---|
committer | gluh@eagle.(none) <> | 2007-12-13 14:52:49 +0400 |
commit | e03959502978f9a7056b4adf6ba7c2a25f648b14 (patch) | |
tree | b870e5e7b713672711344eb2e5b585f3e2c48375 /mysql-test/r/func_misc.result | |
parent | 9217f011361bf7c09f05692c409f52d553ce9690 (diff) | |
parent | 9f4f6acc53d1f9472def4a6f3fa650f6e72b1d6a (diff) | |
download | mariadb-git-e03959502978f9a7056b4adf6ba7c2a25f648b14.tar.gz |
Merge mysql.com:/home/gluh/MySQL/Merge/5.0
into mysql.com:/home/gluh/MySQL/Merge/5.0-opt
Diffstat (limited to 'mysql-test/r/func_misc.result')
-rw-r--r-- | mysql-test/r/func_misc.result | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/func_misc.result b/mysql-test/r/func_misc.result index c0b666dbc79..4ba5ee674a9 100644 --- a/mysql-test/r/func_misc.result +++ b/mysql-test/r/func_misc.result @@ -207,6 +207,11 @@ test SELECT NAME_CONST('test', 'test'); test test +CREATE TABLE t1 (a int); +INSERT INTO t1 VALUES (5), (2); +SELECT NAME_CONST(x,2) FROM (SELECT a x FROM t1) t; +ERROR HY000: The 'NAME_CONST' syntax is reserved for purposes internal to the MySQL server +DROP TABLE t1; CREATE TABLE t1(a INT); INSERT INTO t1 VALUES (), (), (); SELECT NAME_CONST(a, '1') FROM t1; |