| 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 [Value returned by SSS and PS table for Desired_Delay should be same.] |
| 13 |
|
| 14 |
# Verify that the value of this field is correct after STOP SLAVE. |
| 15 |
|
| 16 |
include/stop_slave.inc |
| 17 |
include/assert.inc [Value returned by SSS and PS table for Desired_Delay should be same.] |
| 18 |
|
| 19 |
# Verify that, when desired delay is set, the value is shown corectly. |
| 20 |
|
| 21 |
change master to master_delay= 2; |
| 22 |
include/start_slave.inc |
| 23 |
include/assert.inc [Value returned by SSS and PS table for Desired_Delay should be same.] |
| 24 |
|
| 25 |
# Verify that the value is preserved after STOP SLAVE. |
| 26 |
|
| 27 |
include/stop_slave.inc |
| 28 |
include/assert.inc [Value returned by SSS and PS table for Desired_Delay should be same.] |
| 29 |
|
| 30 |
# Verify that, when desired delay is reset, the value is shown corectly. |
| 31 |
|
| 32 |
change master to master_delay= 0; |
| 33 |
include/start_slave.inc |
| 34 |
include/assert.inc [Value returned by SSS and PS table for Desired_Delay should be same.] |
| 35 |
include/rpl_end.inc |