| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
include/assert.inc [On master, the table should return an empty set.] |
| 4 |
connection slave; |
| 5 |
|
| 6 |
# Verify that SELECT works and produces an output similar to |
| 7 |
# the corresponding field in SHOW SLAVE STATUS(SSS) in all scenarios. |
| 8 |
|
| 9 |
|
| 10 |
# Verify that output is same as SSS on a fresh slave. |
| 11 |
|
| 12 |
include/assert.inc [SSS shows Slave_SQL_Running as "Yes". So, Service_State from this PS table should be "ON".] |
| 13 |
include/assert.inc [COUNT_TRANSACTION_RETRIES should be equal to Slave_retried_transactions.] |
| 14 |
|
| 15 |
# Verify that the fields show the correct values after STOP SLAVE. |
| 16 |
|
| 17 |
include/stop_slave.inc |
| 18 |
include/assert.inc [SSS shows Slave_SQL_Running as "No". So, Service_State from this PS table should be "OFF".] |
| 19 |
include/assert.inc [COUNT_TRANSACTION_RETRIES should be equal to Slave_retried_transactions.] |
| 20 |
include/start_slave.inc |
| 21 |
include/rpl_end.inc |