| 1 |
# restart: --log-error=MYSQLTEST_VARDIR/log/test_services_plugin_registry.err |
| 2 |
------ Run plugin ------------------------------------------------ |
| 3 |
INSTALL PLUGIN test_services_plugin_registry SONAME 'TEST_SERVICES_PLUGIN_REGISTRY'; |
| 4 |
------ Show status of plugin ------------------------------------- |
| 5 |
SELECT PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS |
| 6 |
WHERE PLUGIN_NAME='test_services_plugin_registry'; |
| 7 |
PLUGIN_STATUS |
| 8 |
ACTIVE |
| 9 |
------ Stop plugin ----------------------------------------------- |
| 10 |
UNINSTALL PLUGIN test_services_plugin_registry; |
| 11 |
CREATE TABLE t1 (c1 varchar(30), c2 TEXT, c3 TEXT, c4 TEXT); |
| 12 |
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/log/test_services_plugin_registry.err' INTO TABLE t1 |
| 13 |
FIELDS TERMINATED BY ' ['; |
| 14 |
SELECT replace(concat('[',c2,' [',c3,' [',c4),'\r','') AS msg FROM t1 WHERE c4 LIKE '%test_services_plugin_registry %'; |
| 15 |
msg |
| 16 |
[Note] [MY-011071] [Server] Plugin test_services_plugin_registry reported: 'new service already registered' |
| 17 |
[Note] [MY-011071] [Server] Plugin test_services_plugin_registry reported: 'my service aleady unregistered' |
| 18 |
[Note] [MY-011071] [Server] Plugin test_services_plugin_registry reported: 'test_plugin_registry succeeded' |
| 19 |
DROP TABLE IF EXISTS t1; |
| 20 |
FLUSH ERROR LOGS; |
| 21 |
# restart: |