| 1 |
|
| 2 |
-- source include/have_binlog_format_row.inc |
| 3 |
|
| 4 |
# |
| 5 |
# BUG#46554: RBR: pending rows event can be flushed too soon sometimes. |
| 6 |
|
| 7 |
SELECT @@session.binlog_row_image INTO @saved_binlog_row_image; |
| 8 |
SET binlog_row_image= MINIMAL; |
| 9 |
SHOW VARIABLES LIKE 'binlog_row_image'; |
| 10 |
RESET MASTER; |
| 11 |
CREATE TABLE t1(a INT PRIMARY KEY, data VARCHAR(100)) ENGINE=Innodb; |
| 12 |
INSERT INTO t1 VALUES (1,'a'), (2,'b'), (3, 'c'); |
| 13 |
## before the patch there would be 3 delete row events |
| 14 |
DELETE FROM t1; |
| 15 |
-- source include/show_binlog_events.inc |
| 16 |
DROP TABLE t1; |
| 17 |
|
| 18 |
SET binlog_row_image= @saved_binlog_row_image; |
| 19 |
|
| 20 |
# This is a wrapper for binlog.test so that the same test case can be used |
| 21 |
# For both statement and row based bin logs 9/19/2005 [jbm] |
| 22 |
|
| 23 |
-- source extra/binlog_tests/binlog.test |