Commit a5c34bc2 authored by Sergei Golubchik's avatar Sergei Golubchik

if the test uses example plugin, it has to check whether plugin exists

parent b710d01d
...@@ -5,6 +5,10 @@ ...@@ -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%';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment