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

MIN/MAX Subquery is not reflected in the optimizer trace

    XMLWordPrintable

Details

    Description

      CREATE TABLE t1 (a int(11), b varchar(1));
      INSERT INTO t1 VALUES (2,NULL),(5,'d'),(7,'g');
       
      set optimizer_trace=1;
      SELECT a FROM t1 WHERE b < ANY ( SELECT b FROM t1 GROUP BY b );
      select * from information_schema.optimizer_trace;
      drop table t1;
      

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            sanja Oleksandr Byelkin
            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.