1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

WL#5710 : Enable and disable plugins (mysql_plugin)

This patch changes the plugin configuration file format to make it
easier to add new plugins and remove complexity. It also adds more
information when plugin configuration file reads fail.
This commit is contained in:
Chuck Bell
2011-07-19 10:24:14 -04:00
parent a38fc8d47e
commit 33a36da65a
3 changed files with 64 additions and 90 deletions

View File

@ -23,11 +23,11 @@ name dl
#
# Attempt to load non-existant plugin
#
ERROR: Cannot read plugin config file NOT_THERE_AT_ALL.ini.
ERROR: Cannot read plugin config file NOT_THERE_AT_ALL. File does not exist.
#
# Attempt to use non-existant plugin.ini file
#
ERROR: Cannot read plugin config file daemon_example.ini.
ERROR: Cannot read plugin config file daemon_example. File does not exist.
#
# Attempt to omit the plugin
#
@ -47,7 +47,7 @@ ERROR: Cannot access basedir at '/basedir_not_there/'.
#
# Attempt to use bad paths - plugin_dir
#
ERROR: Cannot read plugin config file daemon_example.ini.
ERROR: Cannot read plugin config file daemon_example. File does not exist.
#
# Missing library
#
@ -55,7 +55,7 @@ ERROR: The plugin library is missing or in a different location.
#
# Bad format for config file
#
ERROR: plugin name requested does not match config file data.
ERROR: The plugin library is missing or in a different location.
#
# Missing base_dir option
#