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

Wrong result with multiple single column index request

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.4.6, 10.4(EOL)
    • 10.4.7
    • Optimizer
    • None
    • Server : Debian baremetal server, this is the only product installed. Data is stored on a 4x1Tb SSD with material RAID 5
      Client : Tested with mycli / mysql command / dbeaver on 2 different workstation on debian

    Description

      After migrating from mariadb 10.1.38-0+deb9u1 (provided by debian) to 10.4.6+maria~stretch, some request including IN (or multiple OR) and filtering on multiple columns indexed separately :

      Here is the table creation : table_creation.sql

      Here are the logs with my different results : execution.log

      Execution plan : execution_plan.log

      If I add an index on the two columns, the results are back : workaround.log

      Attachments

        1. execution_plan.log
          1 kB
        2. execution.log
          0.6 kB
        3. table_creation.sql
          1 kB
        4. workaround.log
          2 kB

        Issue Links

          Activity

            People

              igor Igor Babaev
              mioux Sylvain RUMEU
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.