*mysql_client_register_plugin(MYSQL *mysql, struct
Adds a plugin structure to the list of loaded plugins. An error occurs if the plugin is already loaded.
Specify the parameters as follows:
mysql: A pointer to a
MYSQLstructure. The plugin API does not require a connection to a MySQL server, but this structure must be properly initialized. The structure is used to obtain connection-related information.
plugin: A pointer to the plugin structure.
This function was added in MySQL 5.5.7.
A pointer to the plugin for success.
an error occurred.