[MDEV-31946] Optimizer handle UCASE(varchar_col)=... does not work for UPDATE/DELETE Created: 2023-08-18 Updated: 2023-08-24 Resolved: 2023-08-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 11.3 |
| Fix Version/s: | 11.3.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lena Startseva | Assignee: | Sergei Petrunia |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Expected that UPDATE/DELETE will be used "index_condition": "t3.b = 'ABC'" as SELECT when " optimizer_switch='sargable_casefold=on'", but they still use "attached_condition": "ucase(t3.b) = 'ABC'"
Actual value:
|
| Comments |
| Comment by Sergei Petrunia [ 2023-08-21 ] | |||||||
|
Fix pushed into bb-10.6-
| |||||||
| Comment by Lena Startseva [ 2023-08-23 ] | |||||||
|
Ok to push | |||||||
| Comment by Sergei Petrunia [ 2023-08-24 ] | |||||||
|
The fix for this is now a part of fix for |