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

LP:954900 - Wrong result (missing rows) with simple join and WHERE with = and ANDs, no subqueries, MyISAM or Aria

    XMLWordPrintable

Details

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

    Description

      Thank you for MariaDB 5.3.5-ga

      I will try and attach the reproducer, it is 34MB.

      MariaDB 5.3.5-ga from mariadb-5.3.5-ga-Linux-x86_64.tar.gz on Linux 2.6.32-220.el6.x86_64 x86_64 x86_64 x86_64 GNU/Linux

      There are 5 tables being joined in the reproducer, MariaDB 5.3.5-ga has an EXPLAIN plan that differs from MySQL 5.1.48 and 5.5.17, and Percona Server 5.5.16-rel22.0. MariabDB 5.3.5-ga returns 0 rows, 26 are expected. In particular MariaDB 5.3.5-ga seems to be referencing different tables in the last 2 joins.

      Cheers

      Attachments

        Activity

          People

            igor Igor Babaev (Inactive)
            peterstigedwards Peter (Stig) Edwards (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.