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

INSERT ... SELECT Does not produce an optimizer trace

    XMLWordPrintable

    Details

      Description

      INSERT ... SELECT statement does not produce optimizer trace:

      create table t100 (a int, b int);
      create table t101 (a int, b int);
      insert into t101 select seq, seq from seq_1_to_1000;
      set optimizer_trace=1;
      insert into t100 select * from t101 where a<= b and a >4;
      

      MariaDB [test]> select * from information_schema.optimizer_trace\G
      Empty set (0.002 sec)
      

      It should produce it.

        Attachments

          Activity

            People

            Assignee:
            oleg.smirnov Oleg Smirnov
            Reporter:
            psergei Sergei Petrunia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.