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

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

            bar Alexander Barkov created issue -
            bar Alexander Barkov made changes -
            Field Original Value New Value
            bar Alexander Barkov made changes -
            issue.field.resolutiondate 2019-05-23 01:31:54.0 2019-05-23 01:31:54.187
            bar Alexander Barkov made changes -
            Fix Version/s 10.5.0 [ 23709 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 96880 ] MariaDB v4 [ 133965 ]

            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.