Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-19550

Move specific parts of log_event.cc to log_event_client.cc and log_event_server.cc

    XMLWordPrintable

Details

    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.

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.