mariadb/mysql-test/suite/binlog/r
Luis Soares 60a2bbb8dd BUG#42749: infinite loop writing to row based binlog - processlist shows
"freeing items"

The calculation of the table map log event in the event constructor
was one byte shorter than what would be actually written. This would
lead to a mismatch between the number of bytes written and the event
end_log_pos, causing bad event alignment in the binlog (corrupted
binlog) or in the transaction cache while fixing positions
(MYSQL_BIN_LOG::write_cache). This could lead to impossible to read
binlog or even infinite loops in MYSQL_BIN_LOG::write_cache.

This patch addresses this issue by correcting the expected event
length in the Table_map_log_event constructor, when the field metadata
size exceeds 255.

sql/log_event.cc:
  Added the extra byte as net_store_length imposes.
2009-05-12 12:53:46 +01:00
..
binlog_auto_increment_bug33029.result Bug #40559 assertion failed in check_binlog_magic 2009-03-06 20:19:29 +02:00
binlog_base64_flag.result
binlog_database.result merge: 5.1 -> 5.1-rpl 2009-01-23 13:22:05 +01:00
binlog_grant.result
binlog_index.result merge: 5.1 -> 5.1-rpl 2009-01-23 13:22:05 +01:00
binlog_innodb.result Fix a few problems after latest bunch of InnoDB snapshot changes: 2009-01-08 03:06:54 +01:00
binlog_innodb_row.result Bug #40221 Replication failure on RBR + UPDATE the primary key 2008-12-08 17:07:08 +02:00
binlog_killed.result
binlog_killed_simulate.result
binlog_mix_innodb_stat.result
binlog_multi_engine.result Manual merge of 5.1 into 5.1-rpl 2008-10-24 14:51:06 +02:00
binlog_old_versions.result
binlog_row_binlog.result Manual merge. 2009-03-25 23:41:16 +04:00
binlog_row_ctype_cp932.result
binlog_row_ctype_ucs.result
binlog_row_drop_tmp_tbl.result
binlog_row_innodb_stat.result
binlog_row_insert_select.result
binlog_row_mix_innodb_myisam.result BUG#36763: TRUNCATE TABLE fails to replicate when stmt-based binlogging is not supported. 2009-02-10 15:44:58 +01:00
binlog_sql_mode.result BUG#39526 sql_mode not retained in binary log for CREATE PROCEDURE 2009-02-28 09:35:18 +08:00
binlog_start_comment.result
binlog_statement_insert_delayed.result
binlog_stm_binlog.result Manual merge. 2009-03-25 23:41:16 +04:00
binlog_stm_blackhole.result
binlog_stm_ctype_cp932.result
binlog_stm_ctype_ucs.result
binlog_stm_drop_tmp_tbl.result
binlog_stm_innodb_stat.result
binlog_stm_insert_select.result
binlog_stm_mix_innodb_myisam.result BUG#36763: TRUNCATE TABLE fails to replicate when stmt-based binlogging is not supported. 2009-02-10 15:44:58 +01:00
binlog_stm_ps.result BUG#42640 mysqld crashes when unsafe statements are executed (STRICT_TRANS_TABLESmode) 2009-04-03 18:21:57 +00:00
binlog_stm_row.result merged 5.1-main -> 5.1-bugteam 2009-01-30 15:44:49 +02:00
binlog_tbl_metadata.result BUG#42749: infinite loop writing to row based binlog - processlist shows 2009-05-12 12:53:46 +01:00
binlog_tmp_table.result BUG#35583 mysqlbinlog replay fails with ERROR 1146 when temp tables are used 2009-01-28 14:35:12 +00:00
binlog_truncate_innodb.result Bug #36763 2009-02-06 17:06:41 +01:00
binlog_truncate_myisam.result Bug #36763 2009-02-10 22:26:37 +01:00
binlog_unsafe.result BUG#42640 mysqld crashes when unsafe statements are executed (STRICT_TRANS_TABLESmode) 2009-04-03 18:21:57 +00:00