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

INSERT..SELECT crashes if target table appears in a derived table within the SELECT clause

    XMLWordPrintable

Details

    Description

      How to trigger

      CREATE TABLE t0 ( c0 MIDDLEINT PRIMARY KEY ) WITH SYSTEM VERSIONING ;
      REPLACE INTO t0 SELECT ( SELECT MIN( ra4 . ca3 ) ca1 FROM ( SELECT FOUND_ROWS( ) ca3 FROM t0 ra3 ) ra4 ORDER BY c0 , ra4 . ca3  ) AS ca2 FROM t0 ;
      

      The server failed to log the backtrace when it crashed.

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              wulian jiaqi
              Votes:
              1 Vote for this issue
              Watchers:
              8 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.