Debian Codegraph @

mysql-test/suite/rpl/t/rpl_show_slave_status.test

raw
1 --source include/have_binlog_format_mixed.inc
2 --source include/master-slave.inc
3
4 --echo *
5 --echo * The purpose of this test is to prevent incorrect additions to SHOW
6 --echo * SLAVE STATUS, which has happened several times in the past.
7 --echo *
8 --echo * We must never, _ever_, add extra rows to this output of SHOW SLAVE
9 --echo * STATUS, except at the very end, as this breaks backwards compatibility
10 --echo * with applications or scripts that parse the output. This also means that
11 --echo * we cannot add _any_ new rows in a GA version if a different row was
12 --echo * already added in a later MariaDB version, as this would make it impossible
13 --echo * to merge the change up while preserving the order of rows.
14 --echo *
15
16 --connection slave
17 --replace_column 1 # 2 # 3 # 4 # 5 # 6 # 7 # 8 # 9 # 10 # 11 # 12 # 13 # 14 # 15 # 16 # 17 # 18 # 19 # 20 # 21 # 22 # 23 # 24 # 25 # 26 # 27 # 28 # 29 # 30 # 31 # 32 # 33 # 34 # 35 # 36 # 37 # 38 # 39 # 40 # 41 # 42 # 43 # 44 # 45 # 46 # 47 # 48 # 49 # 50 # 51 # 52 # 53 # 54 #
18 query_vertical
19 SHOW SLAVE STATUS;
20
21 --echo *
22 --echo * When modifying this test after adding a column to SHOW SLAVE STATUS,
23 --echo * _only_ additions at the end are allowed, the column number of existing
24 --echo * columns must _not_ change!
25 --echo *
26
27 --source include/rpl_end.inc