summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_misc.result
diff options
context:
space:
mode:
authorunknown <istruewing@stella.local>2007-12-11 17:09:43 +0100
committerunknown <istruewing@stella.local>2007-12-11 17:09:43 +0100
commitcd34354e6c8d86d19fb397912d98803254bebaaf (patch)
tree3d24c8f4f0325ffc59ec0c65b251a86363351a4d /mysql-test/r/func_misc.result
parent9e5ed26076c1999f4437eca4a7ef133962f2e30f (diff)
parent36486ee86c8ba3eddeaed752e5e0c87498502058 (diff)
downloadmariadb-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/r/func_misc.result')
-rw-r--r--mysql-test/r/func_misc.result7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/r/func_misc.result b/mysql-test/r/func_misc.result
index a302ad4769e..c0b666dbc79 100644
--- a/mysql-test/r/func_misc.result
+++ b/mysql-test/r/func_misc.result
@@ -207,6 +207,13 @@ test
SELECT NAME_CONST('test', 'test');
test
test
+CREATE TABLE t1(a INT);
+INSERT INTO t1 VALUES (), (), ();
+SELECT NAME_CONST(a, '1') FROM t1;
+ERROR HY000: Incorrect arguments to NAME_CONST
+SET INSERT_ID= NAME_CONST(a, a);
+ERROR HY000: Incorrect arguments to NAME_CONST
+DROP TABLE t1;
create table t1 (a int not null);
insert into t1 values (-1), (-2);
select min(a) from t1 group by inet_ntoa(a);