[MDEV-18306] Optimizer_trace has invalid JSON near rows_estimation Created: 2019-01-18 Updated: 2019-02-13 Resolved: 2019-02-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | N/A |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Varun Gupta (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
I thought that improvements to JSON writer would make this impossible, but
produces:
Note that "rows_estimation" is a named element, but it is in the "steps" array. |
| Comments |
| Comment by Sergei Petrunia [ 2019-01-18 ] | |||||||||||||||||||||
|
execution_plan_for_potential_materialization has the same problem. | |||||||||||||||||||||
| Comment by Varun Gupta (Inactive) [ 2019-01-21 ] | |||||||||||||||||||||
|
I added a small patch to see the above irregularity
And there is no assert failure , we are trying to add a key-value pair to the array which is incorrect accoring to JSON standards | |||||||||||||||||||||
| Comment by Varun Gupta (Inactive) [ 2019-02-13 ] | |||||||||||||||||||||
|
Fixed as a part of |