mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
if the test uses example plugin, it has to check whether plugin exists
This commit is contained in:
@@ -5,6 +5,10 @@
|
|||||||
--echo # UNINSTALL IF EXISTS PLUGIN|SONAME name
|
--echo # UNINSTALL IF EXISTS PLUGIN|SONAME name
|
||||||
--echo #
|
--echo #
|
||||||
|
|
||||||
|
if (!$HA_EXAMPLE_SO) {
|
||||||
|
skip Needs ha_example plugin;
|
||||||
|
}
|
||||||
|
|
||||||
select PLUGIN_NAME,PLUGIN_STATUS,PLUGIN_TYPE from information_schema.plugins where plugin_library like 'ha_example%';
|
select PLUGIN_NAME,PLUGIN_STATUS,PLUGIN_TYPE from information_schema.plugins where plugin_library like 'ha_example%';
|
||||||
INSTALL PLUGIN IF NOT EXISTS example SONAME 'ha_example';
|
INSTALL PLUGIN IF NOT EXISTS example SONAME 'ha_example';
|
||||||
select PLUGIN_NAME,PLUGIN_STATUS,PLUGIN_TYPE from information_schema.plugins where plugin_library like 'ha_example%';
|
select PLUGIN_NAME,PLUGIN_STATUS,PLUGIN_TYPE from information_schema.plugins where plugin_library like 'ha_example%';
|
||||||
|
Reference in New Issue
Block a user