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

ANALYZE crashes when printing WHERE when no default db

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.1.4
    • Component/s: Optimizer
    • Labels:
      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

            Assignee:
            psergei Sergei Petrunia
            Reporter:
            psergei Sergei Petrunia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration