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

mysqlbinlog --flashback does not reverse replace statements

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

          oli Oli Sennhauser created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Assignee Lixun Peng [ plinux ]
          elenst Elena Stepanova made changes -
          Fix Version/s 10.2 [ 14601 ]
          plinux Lixun Peng made changes -
          Labels Flashback
          elenst Elena Stepanova made changes -
          Component/s Scripts & Clients [ 11002 ]
          plinux Lixun Peng made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          plinux Lixun Peng added a comment - The same as https://jira.mariadb.org/browse/MDEV-12067
          plinux Lixun Peng added a comment -

          Fixed in MDEV-12067

          plinux Lixun Peng added a comment - Fixed in MDEV-12067
          plinux Lixun Peng made changes -
          Fix Version/s 10.2.7 [ 22543 ]
          Fix Version/s 10.2 [ 14601 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 79643 ] MariaDB v4 [ 151710 ]

          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.