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

mysqlbinlog --flashback does not reverse replace statements

    XMLWordPrintable

Details

    Description

      mysqlbinlog --flashback should revert the following statement:

      REPLACE INTO world.City VALUES (4078, 'Wrong value 5', '000', 'Wrong', 0)
      , (NULL, 'Wrong value 6', '000', 'Wrong', 0);

      into:

      DELETE
      UPDATE

      but does a:

      UPDATE
      DELETE

      If this is logially always correct I cannot say. But technically IMHO it is not.

      Attachments

        Activity

          People

            plinux Lixun Peng
            oli Oli Sennhauser
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.