mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
30cd549e3b
Main problem: mysql 5.1 cannot read binlogs from 4.1. Subproblem 1: There is a mistake in sql_ex_info::init. The read_str() function updates its first argument to point to the next character to read. However, it is applied only to a copy of the buffer pointer, so the real buffer pointer is not updated. Fix 1: do not take a copy of the buffer pointer. The copy was needed because sql_ex_info::init does not use the const attribute on some of its arguments. So we add the const attribute, too. Subproblem 2: The first BINLOG statement is asserted to be a FORMAT_DESCRIPTION_LOG_EVENT, but 4.1 binlogs begin with START_EVENT_V3. Fix 2: allow START_EVENT_V3 too. |
||
---|---|---|
.. | ||
binlog-bug32407.000001 | ||
binlog_old_version_4_1.000001 | ||
binlog_old_version_5_1-telco.000001 | ||
binlog_old_version_5_1-wl2325_row.000001 | ||
binlog_old_version_5_1-wl2325_stm.000001 | ||
binlog_old_version_5_1_17.000001 | ||
binlog_old_version_5_1_23.000001 |