1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-19275 Provide SQL service to plugins.

test_sql_service plugin added and employed in test_sql_service.test.
This commit is contained in:
Alexey Botchkov
2020-10-02 10:19:00 +04:00
parent 82bc007ffb
commit 0ccdf8b11b
10 changed files with 630 additions and 3 deletions

View File

@ -0,0 +1,18 @@
--source include/not_embedded.inc
if (!$TEST_SQL_SERVICE_SO) {
skip No TEST_SQL_SERVICE plugin;
}
# An unfortunate wait for check-testcase.test to complete disconnect.
let count_sessions= 1;
source include/wait_until_count_sessions.inc;
install plugin test_sql_service soname 'test_sql_service';
set global test_sql_service_run_test= 1;
show status like 'test_sql_service%';
uninstall plugin test_sql_service;