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

LP:776285 - Crash when updating multiple equality const-ness during constant table optimization in make_join_statistics

    XMLWordPrintable

Details

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

    Description

      The following test case extracted from the test for LP BUG#715759
      results in a crash (NULL pointer):

      CREATE TABLE t1 (a1 int, a2 int) ;
      INSERT INTO t1 VALUES (1, 2);
      INSERT INTO t1 VALUES (3, 4);

      CREATE TABLE t2 (b1 int, b2 int) ;
      INSERT INTO t2 VALUES (1, 2);

      SELECT b1 FROM t2 WHERE b1 = b2;

      Attachments

        Activity

          People

            igor Igor Babaev (Inactive)
            timour Timour Katchaounov (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.