Browse Source

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

bb-10.4-sysprg-MDEV-20625
Sergei Golubchik 6 years ago
parent
commit
a5c34bc200
  1. 4
      mysql-test/include/install_plugin_if_exists.inc

4
mysql-test/include/install_plugin_if_exists.inc

@ -5,6 +5,10 @@
--echo # UNINSTALL IF EXISTS PLUGIN|SONAME name
--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%';
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%';

Loading…
Cancel
Save