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

Upper Levels not set for Item_equal objects

    XMLWordPrintable

Details

    • Bug
    • Status: Stalled (View Workflow)
    • Major
    • Resolution: Unresolved
    • 5.5, 10.0, 10.1, 10.2, 10.3
    • 10.4
    • Optimizer
    • None

    Description

      Here is the test case , where we see for Item_equal objects we don't see field upper_levels set

      CREATE TABLE t1(a INT, b INT, c INT);
      INSERT INTO t1 VALUES (1,14,3), (2,13,2), (1,22,1), (3,13,4), (3,14,2);
      SELECT * FROM t1
      WHERE (t1.b=13) AND (((t1.c=1) AND (t1.a=t1.c)) OR (t1.a=2));
      

      Attachments

        Activity

          People

            igor Igor Babaev
            varun Varun Gupta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.