summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/udf_test2
-rw-r--r--tests/udf_test.res12
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/udf_test b/tests/udf_test
index 2bdacc34d13..15ad640f984 100644
--- a/tests/udf_test
+++ b/tests/udf_test
@@ -21,7 +21,7 @@ create temporary table t1 (a int,b double);
insert into t1 values (1,5),(1,4),(2,8),(3,9),(4,11);
select avgcost(a,b) from t1;
select avgcost(a,b) from t1 group by a;
-select a, myfunc_argument_name(a) from t1;
+select a, myfunc_argument_name(a), myfunc_argument_name(a as b) from t1;
drop table t1;
DROP FUNCTION metaphon;
diff --git a/tests/udf_test.res b/tests/udf_test.res
index cd65d3794d8..de9e9969f3a 100644
--- a/tests/udf_test.res
+++ b/tests/udf_test.res
@@ -116,12 +116,12 @@ avgcost(a,b)
select a, myfunc_argument_name(a) from t1;
--------------
-a myfunc_argument_name(a)
-1 a
-1 a
-2 a
-3 a
-4 a
+a myfunc_argument_name(a) myfunc_argument_name(a as b)
+1 a b
+1 a b
+2 a b
+3 a b
+4 a b
5 rows in set
--------------