[MDEV-24157] Optimizer trace: multi-part ranges are not printed correctly Created: 2020-11-06 Updated: 2020-11-10 Resolved: 2020-11-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | optimizer_trace | ||
| Description |
|
Run this:
And observe
The ranges look odd. Should the right side be (5, +inf) instead of (5) ? |
| Comments |
| Comment by Sergei Petrunia [ 2020-11-06 ] |
|
OTOH, If one sees ... (a,b) <= (5) that can be interpreted as (a) <= (5) , and then the range is correct (note that both comparisons are less-or-equal). |