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

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

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

            serg Sergei Golubchik created issue -
            serg Sergei Golubchik made changes -
            Field Original Value New Value
            Summary main.analyze_stmt fails in bb-10.4-ps in --ps main.analyze_stmt fails in bb-10.4-ps branch in --ps
            serg Sergei Golubchik made changes -
            Fix Version/s 10.1 [ 16100 ]
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.3 [ 22126 ]
            serg Sergei Golubchik made changes -
            psergei Sergei Petrunia made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            serg Sergei Golubchik made changes -
            Assignee Sergei Petrunia [ psergey ] Sergei Golubchik [ serg ]
            serg Sergei Golubchik made changes -
            Status In Progress [ 3 ] Stalled [ 10000 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.1.39 [ 23305 ]
            Fix Version/s 10.2.23 [ 23307 ]
            Fix Version/s 10.3.14 [ 23216 ]
            Fix Version/s 10.4.4 [ 23310 ]
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.1 [ 16100 ]
            Fix Version/s 10.3 [ 22126 ]
            Fix Version/s 10.4 [ 22408 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 90542 ] MariaDB v4 [ 155185 ]

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.