[MDEV-21604] Simplify and speed up code for writing to (encrypted) binary logs. Created: 2020-01-30 Updated: 2020-07-06 Resolved: 2020-06-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Fix Version/s: | 10.5.2 |
| Type: | Task | Priority: | Major |
| Reporter: | Michael Widenius | Assignee: | Sujatha Sivakumar (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
In Log_event_writer::encrypt_and_write() there are checks if the binary log is encrypted or not that are done for every write. Add a "virtual" low level write function to only call function that handles encryption if encryption is enabled. |