[MDEV-32076] Unexpected Results by not_null_range_scan Created: 2023-09-03 Updated: 2023-11-28 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.5, 10.6, 10.9, 10.10, 10.11, 11.0, 11.1.2 |
| Fix Version/s: | 10.5, 10.6, 10.11, 11.0, 11.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jinsheng Ba | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Docker: mariadb:lates |
||
| Description |
|
By changing the setting: not_null_range_scan, a query returns different results shown as follows. CREATE TABLE t0(c0 CHAR UNIQUE); SET SESSION optimizer_switch = 'not_null_range_scan=off'; SET SESSION optimizer_switch = 'not_null_range_scan=on'; |
| Comments |
| Comment by Jinsheng Ba [ 2023-09-12 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sorry to bother you. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2023-09-12 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you! I repeated as described on 10.5-11.1:
|