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

Optimizer trace: print conditions after substitute_for_best_equal_field

    XMLWordPrintable

Details

    Description

      Find this code in sql_select.cc:

        if (conds)
        {
          conds= substitute_for_best_equal_field(thd, NO_PARTICULAR_TAB, conds,
      

          having= substitute_for_best_equal_field(thd, NO_PARTICULAR_TAB, having,
                                                  having_equal, map2table, false);
      

      and subsequent calls for ON and select list.
      Print the conditions after the substitution.

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            psergei Sergei Petrunia
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.