summaryrefslogtreecommitdiff
path: root/mysql-test/main/udf.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/udf.result')
-rw-r--r--mysql-test/main/udf.result14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/main/udf.result b/mysql-test/main/udf.result
index 13eb186135b..6655982a38f 100644
--- a/mysql-test/main/udf.result
+++ b/mysql-test/main/udf.result
@@ -465,6 +465,20 @@ a b
Hello HL
DROP FUNCTION METAPHON;
DROP TABLE t1;
+#
+# MDEV-15424: Unreasonal SQL Error (1356) on select from view
+#
+CREATE FUNCTION myfunc_int RETURNS INTEGER SONAME "UDF_EXAMPLE_LIB";
+create table t1(a int , b int);
+insert into t1 values(100, 54), (200, 199);
+create view v1 as select myfunc_int(max(a) over (order by b) , b) from t1;
+select * from v1;
+myfunc_int(max(a) over (order by b) , b)
+154
+399
+drop view v1;
+drop function myfunc_int;
+drop table t1;
MDEV-15073: Generic UDAF parser code in server for windows functions