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

LP:637978 - Wrong result with maria-5.1-wl24 and index_merge / sort_union

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      The following query:

      SELECT COUNT FROM `table100000_myisam_int_autoinc` WHERE ( ( `col_varchar_64_key` = 'i' ) OR `col_varchar_10_key` IN ( 'Arkansas' , 'd' , 'pdib' , 'can' ) ) OR ( `pk` BETWEEN 120 AND 79 + 255 OR `col_smallint_key` IN ( 4 , 179 , 1 ) ) AND ( ( `col_smallint_key` > 8 ))

      returns 3212 when executed with index_merge and sort_union in maria-5.1-wl24 and 3379 when executed with maria-5.1 or with IGNORE INDEX and a full table scan.

      Attachments

        Activity

          philipstoev Philip Stoev (Inactive) created issue -
          ratzpo Rasmus Johansson (Inactive) made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Labels Launchpad
          ratzpo Rasmus Johansson (Inactive) made changes -
          Labels Launchpad MariaDB_5.1
          ratzpo Rasmus Johansson (Inactive) made changes -
          Labels MariaDB_5.1 Launchpad MariaDB_5.1
          ratzpo Rasmus Johansson (Inactive) made changes -
          Fix Version/s Maria 5.1 [ 11600 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Key IMT-6887 MDEV-2143
          Project ImportTest [ 10200 ] MariaDB Development [ 10000 ]
          Workflow jira [ 20536 ] defaullt [ 22987 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Key IMT-6887 MDEV-3276
          Project ImportTest [ 10200 ] MariaDB Development [ 10000 ]
          Workflow jira [ 20536 ] defaullt [ 24120 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Key IMT-6887 MDEV-3734
          Project ImportTest [ 10200 ] MariaDB Development [ 10000 ]
          Workflow jira [ 20536 ] defaullt [ 24578 ]
          serg Sergei Golubchik made changes -
          Workflow defaullt [ 24578 ] MariaDB v2 [ 45975 ]
          serg Sergei Golubchik made changes -
          Labels Launchpad MariaDB_5.1 Launchpad
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 45975 ] MariaDB v3 [ 61579 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 61579 ] MariaDB v4 [ 145325 ]

          People

            igor Igor Babaev (Inactive)
            philipstoev Philip Stoev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 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.