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:
18
mysql-test/suite/plugins/t/test_sql_service.test
Normal file
18
mysql-test/suite/plugins/t/test_sql_service.test
Normal 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;
|
||||
|
Reference in New Issue
Block a user