[MDEV-19550] Move specific parts of log_event.cc to log_event_client.cc and log_event_server.cc Created: 2019-05-22  Updated: 2019-05-23  Resolved: 2019-05-23

Status: Closed
Project: MariaDB Server
Component/s: Replication
Fix Version/s: 10.5.0

Type: Task Priority: Major
Reporter: Alexander Barkov Assignee: Alexander Barkov
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-4912 Data type plugin API version 1 Closed

 Description   

log_event.cc has three type of the code:

  • the code under MYSQL_CLIENT specific to mysqlbinlog
  • the code under MYSQL_SERVER specific to mysqld
  • the shared code needed by both mysqlbinlog and mysqld

Let's split log_event.cc into three parts:

  • log_event_client.cc - the code specific to mysqlbinlog
  • log_event_server.cc - the code specific to mysqld
  • log_event.cc - the shared code

Rationale:

  • It's easier to read and modify the code this way. E.g. pluggable types will need changes in both mysqlbinlog and mysqld parts.

Generated at Thu Feb 08 08:52:33 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.