mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
remove few obscure, unused, or misused mtr features
This commit is contained in:
@ -1,17 +0,0 @@
|
||||
# ==== Purpose ====
|
||||
#
|
||||
# Tell mtr that all servers must be restarted after the test has
|
||||
# finished.
|
||||
#
|
||||
# ==== Usage ====
|
||||
#
|
||||
# --source include/force_restart.inc
|
||||
#
|
||||
# ==== See also ====
|
||||
#
|
||||
# include/force_restart_if_skipped.inc
|
||||
|
||||
--let $_force_restart_datadir= `SELECT @@datadir`
|
||||
--append_file $_force_restart_datadir/mtr/force_restart
|
||||
1
|
||||
EOF
|
@ -1,17 +0,0 @@
|
||||
# ==== Purpose ====
|
||||
#
|
||||
# Tell mtr that all servers must be restarted in case the test is
|
||||
# skipped.
|
||||
#
|
||||
# ==== Usage ====
|
||||
#
|
||||
# --source include/force_restart_if_skipped.inc
|
||||
#
|
||||
# ==== See also ====
|
||||
#
|
||||
# include/force_restart.inc
|
||||
|
||||
--let $_force_restart_datadir= `SELECT @@datadir`
|
||||
--append_file $_force_restart_datadir/mtr/force_restart_if_skipped
|
||||
1
|
||||
EOF
|
@ -76,12 +76,3 @@ BEGIN
|
||||
|
||||
END||
|
||||
|
||||
--
|
||||
-- Procedure used by test case used to force all
|
||||
-- servers to restart after testcase and thus skipping
|
||||
-- check test case after test
|
||||
--
|
||||
CREATE DEFINER=root@localhost PROCEDURE force_restart()
|
||||
BEGIN
|
||||
SELECT 1 INTO OUTFILE 'force_restart';
|
||||
END||
|
||||
|
@ -189,13 +189,6 @@ while ($_rpl_server)
|
||||
# Signal that initialization is done and all connections created.
|
||||
--let $rpl_inited= 1
|
||||
|
||||
# Signal that the server is in a dirty state and needs to be restarted
|
||||
# if the test is skipped. If the test is not skipped, it will continue
|
||||
# to the end and execute its cleanup section (and check-testcase will
|
||||
# report if you forget to clean up).
|
||||
--source include/force_restart_if_skipped.inc
|
||||
|
||||
|
||||
# Assert that all hosts have different server_ids
|
||||
if ($rpl_check_server_ids)
|
||||
{
|
||||
|
Reference in New Issue
Block a user