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

Crash with Explain extended when using limit rows examined

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.4
    • Fix Version/s: 10.4.5
    • Component/s: Optimizer
    • Labels:
      None

      Description

      The dataset

      create table t1 (c1 char(2));
      create table t2 (c2 char(2));
      insert into t1 values ('bb'), ('cc'), ('aa'), ('dd');
      insert into t2 values ('bb'), ('cc'), ('dd'), ('ff');
       
      explain extended
      select * from t1, t2 where c1 = c2 LIMIT ROWS EXAMINED 2;
      

      Another question would be do we want to add ROWS EXAMINED to also show when we print the limit clause during explain exteded.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                varun Varun Gupta
                Reporter:
                varun Varun Gupta
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: