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

In Predicate into in subquery is not reflected in optimizer trace

    XMLWordPrintable

Details

    Description

      create table t1(a int);
      insert into t1 values (2),(3);
      set @@in_predicate_conversion_threshold= 2;
      set optimizer_trace=1;
      select * from t1 where a in (1,2);
      select * from information_schema.optimizer_trace;
      drop table t1;
      

      Attachments

        Activity

          People

            varun Varun Gupta (Inactive)
            sanja Oleksandr Byelkin
            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.