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

IB: TRX_ID based operations inside transaction generate history

    XMLWordPrintable

    Details

      Description

      Reproduce

      create or replace table t1 (
        x int,
        sys_start bigint unsigned as row start invisible,
        sys_end bigint unsigned as row end invisible,
        period for system_time (row_start, row_end)
      ) engine innodb with system versioning;
      begin;
      insert into t1 values (1);
      delete from t1;
      commit;
      

      Result

      History record is generated with row_start == row_end.

      Expected

      No record is generated.

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            midenok Aleksey Midenkov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration