[MDEV-4649] SQL PARSER - unsigned number optimization - could return Impossible Where Created: 2013-06-13 Updated: 2015-11-17 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | roberto spadim | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | optimizer | ||
| Description |
|
Hi guys, i found a optimization (maybe a bug?) that could be 'easly' optimized, check this query...
this return 4 rows... but since "I" Column is unsigned it could return IMPOSSIBLE Where, right? (-1 don't exists to unsigned...) i'm thinking about this optimization, and this other optimization (MDEV-4419) could allow some (many) queries to run faster in SHOW STATUS LIKE 'handler_re%' |