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

LP:886146 - crash if JOIN::optimize fails in INSERT IGNORE

    XMLWordPrintable

Details

    Description

      See MySQL's Bug#34660.
      The fix isn't quite complete, the crash can occur even without subqueries. Doing
      INSERT IGNORE ... SELECT ...
      and imitating a failure in JOIN::optimize (forcing table->file->print_error() in make_join_statistics),
      the error status is properly returned all the way up to mysql_parse, but the error packet is not sent
      (see my_message_sql() in 5.3) because of the IGNORE clause.

      Attachments

        Activity

          People

            Unassigned Unassigned
            serg Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.