Debian Codegraph @

mysql-test/suite/clone/t/remote_basic_replace_across_lts_patch_mismatch.test

raw
1 # Test remote clone command to replace data directory for different combinations
2 # of recipient and donor server versions
3
4 --source include/have_debug.inc
5 --source include/not_valgrind.inc
6
7 --echo # Setup the tables
8 --source ../include/remote_basic_replace_across_lts_setup.inc
9
10 --echo # Install clone plugin
11 --replace_result $CLONE_PLUGIN CLONE_PLUGIN
12 --eval INSTALL PLUGIN clone SONAME '$CLONE_PLUGIN'
13
14 --echo # In connection default - Cloning database
15 --connection clone_conn_1
16 SET DEBUG="+d,clone_across_lts_compare_versions";
17 SET DEBUG="+d,clone_across_lts_8_0_before_backport_patch_mismatch";
18 --let $clone_remote_err = ER_CLONE_DONOR_VERSION
19 --let $clone_err = ER_CLONE_DONOR_VERSION
20 --source ../include/clone_command.inc
21 SET DEBUG="-d,clone_across_lts_8_0_before_backport_patch_mismatch";
22 SET DEBUG="+d,clone_across_lts_non_8_0_patch_mismatch";
23 --let $clone_remote_err =
24 --let $clone_err =
25 --source ../include/clone_command.inc
26 SET DEBUG="-d,clone_across_lts_non_8_0_patch_mismatch";
27 SET DEBUG="-d,clone_across_lts_compare_versions";
28 --let $clone_remote_err = 0
29 --echo # In connection default - Finished Cloning
30
31 --echo # Validate the tables and cleanup the test
32 --source ../include/remote_basic_replace_across_lts_validate.inc
33
34 UNINSTALL PLUGIN clone;