mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug #58841 Generalise handling of plugins in MTR mysql-test-run.pl script
Put descriptions of plugins into a separate file read by MTR MTR itself has generalised code to read this and set env. variables Removed the *SO variables, updated some tests accordingly New commit: added optional list of plugin names for _LOAD variable Also made changes for the new AUTH_* plugins
This commit is contained in:
41
mysql-test/include/plugin.defs
Normal file
41
mysql-test/include/plugin.defs
Normal file
@ -0,0 +1,41 @@
|
||||
# Definition file for plugins.
|
||||
#
|
||||
# <lib name> <directory> <variable> [<plugin name>,...]
|
||||
#
|
||||
# The following variables will be set for a plugin, where PLUGVAR
|
||||
# represents the variable name given as the 3rd item
|
||||
#
|
||||
# PLUGVAR: name of plugin file including extension .so or .dll
|
||||
# PLUGVAR_DIR: name of directory where plugin was found
|
||||
# PLUGVAR_OPT: mysqld option --plugin_dir=....
|
||||
# PLUGVAR_LOAD: option --plugin_load=.... if the 4th element is present
|
||||
#
|
||||
# If a listed plugin is not found, the corresponding variables will be
|
||||
# set to empty, they will not be unset.
|
||||
#
|
||||
# The PLUGVAR variable is not quoted, so you must remember to quote it
|
||||
# when using it in an INSTALL PLUGIN command.
|
||||
#
|
||||
# The envorinment variables can be used in tests. If adding a new plugin,
|
||||
# you are free to pick your variable name, but please keep it upper
|
||||
# case for consistency.
|
||||
#
|
||||
# The _LOAD variable will have a form
|
||||
#
|
||||
# --plugin_load=<name1>=<lib_name>;<name2>=<lib_name>.....
|
||||
#
|
||||
# with name1, name2 etc from the comma separated list of plugin names
|
||||
# in the optional 4th argument.
|
||||
|
||||
auth_test_plugin plugin/auth PLUGIN_AUTH test_plugin_server
|
||||
qa_auth_interface plugin/auth PLUGIN_AUTH_INTERFACE qa_auth_interface
|
||||
qa_auth_server plugin/auth PLUGIN_AUTH_SERVER qa_auth_server
|
||||
qa_auth_client plugin/auth PLUGIN_AUTH_CLIENT qa_auth_client
|
||||
udf_example sql UDF_EXAMPLE_LIB
|
||||
ha_example storage/example EXAMPLE_PLUGIN EXAMPLE
|
||||
semisync_master plugin/semisync SEMISYNC_MASTER_PLUGIN
|
||||
semisync_slave plugin/semisync SEMISYNC_SLAVE_PLUGIN
|
||||
ha_archive storage/archive ARCHIVE_PLUGIN
|
||||
ha_blackhole storage/blackhole BLACKHOLE_PLUGIN
|
||||
ha_federated storage/federated FEDERATED_PLUGIN
|
||||
mypluglib plugin/fulltext SIMPLE_PARSER
|
Reference in New Issue
Block a user