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

            Assignee:
            varun Varun Gupta
            Reporter:
            sanja Oleksandr Byelkin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: