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

we are trying to push aggregate into WHERE

    XMLWordPrintable

Details

    • Bug
    • Status: Approved (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6
    • 10.6
    • None
    • None

    Description

      CREATE TABLE t (c INT);
      SELECT * FROM t GROUP BY c HAVING c=c OR TIMESTAMPADD(SECOND, c, AVG(c) IS NULL IS NULL) AND c LIKE (SELECT 1);
      

      the test case taken from MDEV-36888 comments

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              sanja Oleksandr Byelkin
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.