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

Crash on a simple join query with IS NULL and IS NOT NULL in where

    Details

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

      Description

      After rev 3702 the following test case causes a crash of the server

      CREATE TABLE t1 (a DATE, b INT, c INT, KEY(a), KEY(b), KEY(c)) ENGINE=MyISAM; 
      CREATE TABLE t2 (d DATE) ENGINE=MyISAM; 
      
      SELECT  * FROM t1,t2 WHERE  1 IS NOT NULL AND t1.b IS NULL;
      
      DROP TABLE t1,t2;
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            igor Igor Babaev added a comment -

            The bug was fixed in the revision 3704.

            Show
            igor Igor Babaev added a comment - The bug was fixed in the revision 3704.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: