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

              • Assignee:
                psergey Sergei Petrunia
                Reporter:
                serg Sergei Golubchik
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: