mysql-test/suite/binlog/r/show_concurrent_rotate.result
raw| 1 | connect con1,localhost,root,,; |
| 2 | FLUSH LOGS; |
| 3 | FLUSH LOGS; |
| 4 | FLUSH LOGS; |
| 5 | SET DEBUG_SYNC= "at_after_lock_index SIGNAL con1_ready WAIT_FOR con1_go"; |
| 6 | SHOW BINARY LOGS; |
| 7 | connect con2,localhost,root,,; |
| 8 | SET DEBUG_SYNC= "now WAIT_FOR con1_ready"; |
| 9 | RESET MASTER; |
| 10 | FLUSH LOGS; |
| 11 | SET DEBUG_SYNC= "now SIGNAL con1_go"; |
| 12 | connection con1; |
| 13 | # The correct result must consists of two records |
| 14 | Log_name File_size |
| 15 | master-bin.000001 # |
| 16 | master-bin.000002 # |
| 17 | SET debug_sync = 'reset'; |