Bug #94089 | UDFs metadata will also be present on the information_schema.routines table | ||
---|---|---|---|
Submitted: | 28 Jan 2019 7:03 | Modified: | 24 Apr 2019 1:45 |
Reporter: | JianJun Shi | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.7 & 8.0.13 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[28 Jan 2019 7:03]
JianJun Shi
[30 Jan 2019 9:59]
MySQL Verification Team
Hi, Verified as described. I changed the category to "documentation" as I think the way it works is preferable, just needs to be properly documented. kind regards bogdan
[24 Apr 2019 1:45]
Paul DuBois
Posted by developer: A user-defined function (UDF) is a function written in C++ and loaded with CREATE FUNCTION ... SONAME ... (https://dev.mysql.com/doc/refman/8.0/en/create-function-udf.html) The CREATE FUNCTION shown in the "How to Repeat" section is an example of a stored function. (https://dev.mysql.com/doc/refman/8.0/en/create-procedure.html) As https://dev.mysql.com/doc/refman/8.0/en/routines-table.html says: "The ROUTINES table provides information about stored routines (stored procedures and stored functions)." So although the ROUTINES table (correctly) shows information about the example function, that function is not a UDF.