[MDEV-26829] Flashback binlog code cleanup and refactoring Created: 2021-10-14 Updated: 2021-10-14 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Replication, Scripts & Clients |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Vicențiu Ciorbaru | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The current flashback code has the following logic embedded into print_row_event
The caller of print_row_event(ev) has the following logic:
This logic introduces side effects in print_row_event and also makes the flashback logic highly coupled to the printing logic. A better approach would be:
|