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

ANALYZE crashes when printing WHERE when no default db

    XMLWordPrintable

Details

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

    Description

      The following testcase crashes:

      create table t1(a int);
      insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
       
      select database();
      connect (con1,localhost,root,,*NO-ONE*);
      connection con1;
      select database();
      analyze format=json select * from test.t1 where t1.a<5;
      disconnect con1;
      connection default;

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            psergei Sergei Petrunia
            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.