Debian Codegraph @

mysql-test/extra/xa_crash_safe_tests/cleanup_connection.inc

raw
1 # ==== Purpose ====
2 #
3 # Used by scripts testing XA crash recovery, it cleans up the alternative
4 # connection used in
5 # `execute_to_conditional_timestamp_sync_point.inc`. When run with the PS
6 # protocol, related tests would fail due to the connection not being
7 # properly reaped.
8 #
9 # ==== References ====
10 #
11 # WL#11300: Crash-safe XA + binary log
12 #
13 # Related tests;
14 # see extra/xa_crash_safe_tests/setup.inc
15 #
16 --connection $statement_connection
17 --error CR_SERVER_LOST
18 --reap
19 --disconnect $statement_connection
20 --connection default