MySQL :: MySQL 8.4 C API Developer Guide :: 9.2.3 mysql_plugin_get_option() (original) (raw)

The world's most popular open source database

9.2.3 mysql_plugin_get_option()

int
mysql_plugin_get_option(struct st_mysql_client_plugin *plugin,
                        const char *option,
                        void *value)

Description

Given a plugin structure and an option name, returns the option value. If the plugin does not have an option handler, an error occurs.

Specify the arguments as follows:

mysql_plugin_get_option() was added in MySQL 8.0.27.

Return Values

Zero for success, 1 if an error occurred.