diff options
Diffstat (limited to 'mysql-test/main/udf.result')
-rw-r--r-- | mysql-test/main/udf.result | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/mysql-test/main/udf.result b/mysql-test/main/udf.result index 8ad21e68c71..a6fabf7f137 100644 --- a/mysql-test/main/udf.result +++ b/mysql-test/main/udf.result @@ -479,9 +479,23 @@ myfunc_int(max(a) over (order by b) , b) drop view v1; drop function myfunc_int; drop table t1; - -MDEV-15073: Generic UDAF parser code in server for windows functions - +# +# MDEV-23327: Can't uninstall UDF if the implementation library +# file doesn't exist +# +insert into mysql.func values ("unexisting_udf", 0, "soname", "function"); +select * from mysql.func WHERE name='unexisting_udf'; +name ret dl type +unexisting_udf 0 soname function +DROP FUNCTION unexisting_udf; +select * from mysql.plugin WHERE name='unexisting_udf'; +name dl +DROP FUNCTION unexisting_udf; +ERROR 42000: FUNCTION test.unexisting_udf does not exist +# End of 10.2 tests +# +# MDEV-15073: Generic UDAF parser code in server for window functions +# CREATE AGGREGATE FUNCTION avgcost RETURNS REAL SONAME "UDF_EXAMPLE_LIB"; CREATE AGGREGATE FUNCTION avg2 @@ -584,3 +598,4 @@ drop table t1; DROP FUNCTION avgcost; DROP FUNCTION avg2; DROP FUNCTION myfunc_double; +# End of 10.4 tests |