![]()  | 
  
    MySQL 8.4.7
    
   Source Code Documentation 
   | 
 
Functions | |
| const mysql_service_registry_t * | mysql_plugin_registry_acquire () | 
| Returns a new reference to the "registry" service.  More... | |
| int | mysql_plugin_registry_release (const mysql_service_registry_t *reg) | 
| Releases a registry service reference.  More... | |
| const mysql_service_registry_t * mysql_plugin_registry_acquire | ( | ) | 
Returns a new reference to the "registry" service.
Implementation of plugin_registry_service_st::mysql_plugin_registry_acquire_func
Uses the global registry instance to search for the default implementation of the "registry" service by calling mysql_service_registry_t::acquire().
The reference must be released through calling mysql_plugin_registry_release() to avoid resource leaks.
| NULL | error. mysql_service_registry_t::acquire() failed. | 
See also mysql_plugin_registry_release(), Component Subsystem, The Service Registry Service, mysql_service_registry_t::acquire()
| int mysql_plugin_registry_release | ( | const mysql_service_registry_t * | reg | ) | 
Releases a registry service reference.
Implementation of plugin_registry_service_st::mysql_plugin_registry_release_func
Uses the global registry instance to release a service reference to the "registry" service passed as a parameter by calling mysql_service_registry_t::release() This is the reverse of mysql_plugin_registry_acquire().
| reg | the registry service handle to release | 
| 0 | Success | 
| non-zero | Failure | 
See also mysql_plugin_registry_release(), Component Subsystem, The Service Registry Service, mysql_service_registry_t::release()