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

main.analyze_stmt fails in bb-10.4-ps branch in --ps

    XMLWordPrintable

Details

    Description

      build bb-10.4-ps branch, run ./mtr --ps main.analyze_stmt it'll fail on

      analyze select * from t1 into @var;
      

      because THD::prepare_explain_fields() does result->prepare(*field_list, NULL); and result is select_dumpvar expecting only one field in the result set, but field_list comes from make_explain_field_list().

      please push the fix into bb-10.4-ps

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.5d
                  0.5d

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.