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

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Duplicate
    • 10.11.5, 10.6, 10.11, 10.4(EOL), 10.5(EOL), 10.9(EOL), 10.10(EOL), 11.0(EOL)
    • 10.5.29, 10.6.22, 10.11.12, 11.4.6, 11.8.2
    • Server
    • None

    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.