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

LP:640419 - Wrong result with sort_union/index_merge in maria-5.1 and a large table

    XMLWordPrintable

Details

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

    Description

      The following query:

      SELECT * FROM `table100000_innodb_int_autoinc` WHERE ( ( `col_bigint_key` >= 1 ) OR `pk` BETWEEN 8 AND 40 + 64 ) OR ( `pk` BETWEEN 1 AND 1 + 185 AND `col_bigint_key` IS NULL )

      Returns a different number of rows when executed with an index_merge/sort_union strategy.

      Attachments

        1. LPexportBug640419_bug640419-2.test
          171 kB
          Rasmus Johansson
        2. LPexportBug640419_bug640419.diff
          6 kB
          Rasmus Johansson
        3. LPexportBug640419.xml
          17 kB
          Rasmus Johansson

        Activity

          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.