1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-7310: last_commit_pos_offset set to wrong value after binlog rotate in group commit

When the binlog was rotated due to @@max_binlog_size, the values of the
binlog_shapshot_file and binlog_snapshot_position were inconsistent in case of
non-transactional DML. The position was refering to the old file, while the
filename was of the new file after rotation. This patch makes them consistent
by making sure the position is also refering to the new file.
This commit is contained in:
Kristian Nielsen
2015-02-23 13:27:51 +01:00
parent fdd6c111c2
commit b5d6aa5517
3 changed files with 44 additions and 2 deletions

File diff suppressed because one or more lines are too long