The mysql.func system table shows which
loadable functions have been registered using
CREATE FUNCTION:
SELECT * FROM mysql.func;
The func table has these columns:
nameThe function name as referred to in SQL statements.
retThe function return value type. Permitted values are 0 (
STRING), 1 (REAL), 2 (INTEGER), 3 (ROW), or 4 (DECIMAL).dlThe name of the function library file containing the executable function code. The file is located in the directory named by the
plugin_dirsystem variable.typeThe function type, either
function(scalar) oraggregate.