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

Disallow system_versioning_asof in DML

    XMLWordPrintable

Details

    Description

      Reproduce

      create or replace table t1 (x int) with system versioning;
      create or replace table t2 (y int);
      insert into t1 values (1);
      insert into t2 values (1);
      set system_versioning_asof= '1970-01-01 00:00:00';
      delete t1, t2 from t1 join t2 where t1.x = t2.y;
      select * from t1;
      select * from t2;
      drop tables t1, t2;
      

      Result

      Multi-delete didn't delete from t1

      Expected

      system_versioning_asof has no influence on multi-delete, multi-update, insert-select, replace-select.

      Attachments

        Issue Links

          Activity

            People

              midenok Aleksey Midenkov
              midenok Aleksey Midenkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.