[MDEV-17672] main.analyze_stmt fails in bb-10.4-ps branch in --ps Created: 2018-11-12 Updated: 2019-03-12 Resolved: 2019-03-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Prepared Statements |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.2.23, 10.1.39, 10.3.14, 10.4.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
build bb-10.4-ps branch, run ./mtr --ps main.analyze_stmt it'll fail on
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 |