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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.3.13
    • 5.3.13
    • None
    • 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;

      Attachments

        Activity

          People

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