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

            People

            • Assignee:
              plinux Lixun Peng
              Reporter:
              oli Oli Sennhauser
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: