polardbxengine/mysql-test/suite/query_rewrite_plugins/t/basic.test

18 lines
532 B
Plaintext

--echo #
--echo # Checks the basic functionality of the plugin.
--echo #
--source include/xplugin_wait_for_interfaces.inc
--source suite/query_rewrite_plugins/include/have_plugin_rewriter.inc
--source suite/query_rewrite_plugins/include/install_rewriter.inc
--echo # checks that the plugin is well installed
SELECT PLUGIN_NAME, PLUGIN_TYPE
FROM information_schema.plugins
WHERE plugin_name = 'Rewriter';
--source suite/query_rewrite_plugins/include/basic.inc
--source suite/query_rewrite_plugins/include/uninstall_rewriter.inc