1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Add information_schema.spider_wrapper_protocols for knowing available wrappers of Spider

This commit is contained in:
Kentoku SHIBA
2020-06-06 07:37:05 +09:00
parent c9f262ee0d
commit 0af1b0bd21
11 changed files with 262 additions and 12 deletions

View File

@@ -33,6 +33,7 @@ DROP FUNCTION spider_copy_tables;
DROP FUNCTION spider_ping_table;
DROP FUNCTION spider_bg_direct_sql;
DROP FUNCTION spider_direct_sql;
UNINSTALL PLUGIN spider_wrapper_protocols;
UNINSTALL PLUGIN spider_alloc_mem;
UNINSTALL PLUGIN spider;
DROP TABLE IF EXISTS mysql.spider_xa;

View File

@@ -0,0 +1,22 @@
for master_1
for child2
child2_1
child2_2
child2_3
for child3
child3_1
child3_2
child3_3
connection master_1;
SELECT * FROM information_schema.spider_wrapper_protocols;
for master_1
for child2
child2_1
child2_2
child2_3
for child3
child3_1
child3_2
child3_3
end of test

View File

@@ -0,0 +1,16 @@
--disable_warnings
--disable_query_log
--disable_result_log
--source test_init.inc
--enable_query_log
--connection master_1
SELECT * FROM information_schema.spider_wrapper_protocols;
--disable_query_log
--source test_deinit.inc
--enable_result_log
--enable_query_log
--enable_warnings
--echo
--echo end of test