[MDEV-7970] EXPLAIN FORMAT=JSON does not print HAVING Created: 2015-04-09 Updated: 2015-09-18 Resolved: 2015-09-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.1 |
| Fix Version/s: | 10.1.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | explain_json | ||
| Sprint: | 10.1.6-2, 10.1.7-1, 10.1.8-1, 10.1.8-2 |
| Description |
|
EXPLAIN FORMAT=JSON does not print HAVING. Testcase (not necessarily minimal):
Now, the test query:
HAVING is not printed. GROUP BY is not printed, either, but it's a topic of another issue. |
| Comments |
| Comment by Sergei Petrunia [ 2015-04-09 ] | ||||||||||||||||||||||||
|
MySQL 5.6 doesn't print it either:
| ||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2015-09-09 ] | ||||||||||||||||||||||||
|
revision-id: 8983790df9a16520e69905fc4c35d20f7c935c3e (mariadb-10.1.6-119-g8983790)
Printing non-trivial HAVING added. — | ||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2015-09-15 ] | ||||||||||||||||||||||||
|
revision-id: 848cc7097f99b675b9b05878efd63c6fb125f138 (mariadb-10.1.7-2-g848cc70)
Printing non-trivial HAVING added. — | ||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2015-09-18 ] | ||||||||||||||||||||||||
|
Ok to push |