mysql-test/suite/binlog/r/binlog_stm_delete_all_rows.result
raw| 1 | # |
| 2 | # InnoDB, binlog_format= STATEMENT |
| 3 | # |
| 4 | CREATE TABLE t1 (c1 INT) ENGINE=InnoDB; |
| 5 | INSERT INTO t1 VALUES (1), (2), (3); |
| 6 | |
| 7 | SET sql_log_bin= 0; |
| 8 | include/assert.inc [DELETE will use delete_all_rows] |
| 9 | DELETE FROM t1; |
| 10 | include/assert.inc [DELETE was not binlogged] |
| 11 | |
| 12 | SET sql_log_bin= 1; |
| 13 | INSERT INTO t1 VALUES (1), (2), (3); |
| 14 | include/assert.inc [DELETE will use delete_all_rows] |
| 15 | DELETE FROM t1; |
| 16 | include/assert.inc [DELETE was binlogged] |
| 17 | DROP TABLE t1; |