MySQL 26.10.0
Source Code Documentation
udf_registration.h File Reference

Go to the source code of this file.

Functions

bool register_udfs ()
 Registers the plugin's UDFs. More...
 
bool unregister_udfs (bool wait_for_references=false)
 Unregisters the plugin's UDFs. More...
 

Function Documentation

◆ register_udfs()

bool register_udfs ( )

Registers the plugin's UDFs.

If there is an error registering any UDF, all installed UDFs are unregistered.

Return values
trueif there was an error
falseif all UDFs were registered

Registers the plugin's UDFs.

Returns
Status
Return values
0success
non-zerofailure

◆ unregister_udfs()

bool unregister_udfs ( bool  wait_for_references = false)

Unregisters the plugin's UDFs.

Parameters
wait_for_referencesif true, wait until all UDF references are released
Return values
trueif there was an error
falseif all UDFs were unregistered