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

LP:789796 - mtr errors with index_intersect_innodb

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      From time to time, index_intersect_innodb fails with a diff in EXPLAIN output like this.

      — c:/buildbot/win32-debug/build/mysql-test/r/index_intersect_innodb.result 2011-05-29 07:42:17.476000000 +0000
      +++ c:\buildbot\win32-debug\build\mysql-test\r\index_intersect_innodb.reject 2011-05-29 08:02:39.034768300 +0000
      @@ -372,7 +372,7 @@
      SELECT * FROM City
      WHERE Name BETWEEN 'G' AND 'K' AND Population > 500000 AND Country LIKE 'C%';
      id select_type table type possible_keys key key_len ref rows Extra
      -1 SIMPLE City index_merge Population,Country,Name Population,Name,Country 4,35,3 NULL # Using sort_intersect(Population,Name,Country); Using where
      +1 SIMPLE City index_merge Population,Country,Name Population,Country,Name 4,3,35 NULL # Using sort_intersect(Population,Country,Name); Using where
      SELECT * FROM City USE INDEX ()
      WHERE Name BETWEEN 'M' AND 'N' AND Population > 1000000 AND Country LIKE 'C%';
      ID Name Country Population

      Note the changed order of fields (Population,Name,Country) vs (Population,Country,Name)

      Example of failure: http://buildbot.askmonty.org/buildbot/builders/win32-debug/builds/126/steps/test/logs/stdio

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 789796

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 789796
            Hide
            elenst Elena Stepanova added a comment -

            The test was fixed by the following revision:

                        ------------------------------------------------------------
                        revno: 2977.4.2
                        revision-id: monty@askmonty.org-20110511125942-mxer28heahg3813z
                        parent: monty@askmonty.org-20110511105917-8v53edwohghfxtr1
                        fixes bug: https://launchpad.net/bugs/778917
                        committer: Michael Widenius <monty@askmonty.org>
                        branch nick: maria-5.3-mvl34
                        timestamp: Wed 2011-05-11 15:59:42 +0300
                        message:
                          Fixed a memory overrun in dynamic columns when sending in a mailformed (too short in this case) string.
                        ------------------------------------------------------------
            
            Show
            elenst Elena Stepanova added a comment - The test was fixed by the following revision: ------------------------------------------------------------ revno: 2977.4.2 revision-id: monty@askmonty.org-20110511125942-mxer28heahg3813z parent: monty@askmonty.org-20110511105917-8v53edwohghfxtr1 fixes bug: https://launchpad.net/bugs/778917 committer: Michael Widenius <monty@askmonty.org> branch nick: maria-5.3-mvl34 timestamp: Wed 2011-05-11 15:59:42 +0300 message: Fixed a memory overrun in dynamic columns when sending in a mailformed (too short in this case) string. ------------------------------------------------------------

              People

              • Assignee:
                igor Igor Babaev
                Reporter:
                wlad Vladislav Vaintroub
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: