| 1 |
# ==== Purpose ==== |
| 2 |
# |
| 3 |
# Verify that 'CREATE TABLE' event was not logged while killing a |
| 4 |
# CREATE...SELECT right before writting 'create table' event into |
| 5 |
# binlog statement cache, right after writting 'create table' event |
| 6 |
# into binlog statement cache or after writting rows event into |
| 7 |
# binlog transaction cache when binlog_format='row' and gtid_mode=off. |
| 8 |
# |
| 9 |
# ==== Implementation ==== |
| 10 |
# |
| 11 |
# 1. Execute a 'CREATE...SELECT', stop at several given sync points. |
| 12 |
# 2. Kill the 'CREATE...SELECT' query from other connection. |
| 13 |
# 3. Verify that 'CREATE TABLE' event was not logged. |
| 14 |
# |
| 15 |
# ==== References ==== |
| 16 |
# |
| 17 |
# Bug#20742519 KILL `CREATE TABLE ..SELECT` MAY LEAD TO REPLICATION BROKEN |
| 18 |
|
| 19 |
--let $engine= InnoDB |
| 20 |
--source extra/binlog_tests/binlog_row_kill_create_select.test |