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

Query succeeds despite unresolved reference to column `a`

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.5
    • 10.5.28
    • Server
    • None

    Description

      This was observed after fixing MDEV-32411.

      CREATE TABLE t1 ( a int not null ) ;
      INSERT INTO t1 VALUES (EXISTS(SELECT avg(a) OVER (ORDER BY COUNT(DISTINCT a))));
      

      There is a reference to column `a` in the ORDER BY COUNT(DISTINCT a) which cannot be resolved, however the query executes successfully.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Oleg Smirnov made transition -
            Open Closed
            9d 15h 56m 1

            People

              sanja Oleksandr Byelkin
              oleg.smirnov Oleg Smirnov
              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.