mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
WL#5710 : mysql_plugin - enable or disable plugins
This patch adds a new client utility that enables or disables plugin features. The utility disables or enables a plugin using values (name, soname, and symbols) provided via a configuration file by the same name. For example, to ENABLE the daemon_example plugin, the utility will read the daemon_example.ini configuration file and use the values contained to enable or disable the plugin.
This commit is contained in:
8
mysql-test/include/daemon_example.ini
Normal file
8
mysql-test/include/daemon_example.ini
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# Plugin initialization file. Format using comma-separated values:
|
||||
# name, libname, symbol, [symbol, ]
|
||||
# Note: trailing comma is required.
|
||||
#
|
||||
# File is used by mysql_plugin.test for testing missing library error.
|
||||
#
|
||||
daemon_example, libdaemon_example, daemon_example,
|
8
mysql-test/include/daemon_example_bad_format.ini
Normal file
8
mysql-test/include/daemon_example_bad_format.ini
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# Plugin initialization file. Format using comma-separated values:
|
||||
# name, libname, symbol, [symbol, ]
|
||||
# Note: trailing comma is required.
|
||||
#
|
||||
# File is used by mysql_plugin.test for testing bad library name.
|
||||
#
|
||||
daemon_BADNAME, libdaemon_example, daemon_example,
|
@ -39,3 +39,4 @@ ha_archive storage/archive ARCHIVE_PLUGIN
|
||||
ha_blackhole storage/blackhole BLACKHOLE_PLUGIN
|
||||
ha_federated storage/federated FEDERATED_PLUGIN
|
||||
mypluglib plugin/fulltext SIMPLE_PARSER
|
||||
libdaemon_example plugin/daemon_example DAEMONEXAMPLE
|
||||
|
Reference in New Issue
Block a user