Bug #21698 | ASCII() function results are not respected in a WHERE clause | ||
---|---|---|---|
Submitted: | 17 Aug 2006 15:07 | Modified: | 25 Sep 2006 18:02 |
Reporter: | Shawn Green | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S2 (Serious) |
Version: | 5.0.24 | OS: | |
Assigned to: | Igor Babaev | CPU Architecture: | Any |
Tags: | ASCII, Optimizer, parser |
[17 Aug 2006 15:07]
Shawn Green
[4 Sep 2006 12:43]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/11352 ChangeSet@1.2254, 2006-09-04 05:42:47-07:00, igor@rurik.mysql.com +10 -0 Fixed bug #21698: erroneously a field could be replaced by an equal constant under any circumstances. In fact this substitution can be allowed if the field is not of a type string or if the field reference serves as an argument of a comparison predicate.
[7 Sep 2006 16:52]
Sergey Petrunya
http://lists.mysql.com/commits/11565
[7 Sep 2006 16:52]
Sergey Petrunya
See the patch at http://lists.mysql.com/commits/11565
[7 Sep 2006 18:06]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/11566 ChangeSet@1.2254, 2006-09-07 11:06:37-07:00, igor@rurik.mysql.com +10 -0 Fixed bug #21698: erroneously a field could be replaced by an equal constant under any circumstances. In fact this substitution can be allowed if the field is not of a type string or if the field reference serves as an argument of a comparison predicate.
[19 Sep 2006 8:33]
Georgi Kodinov
Pushed into 5.0.26/5.1.12-beta
[25 Sep 2006 18:02]
Paul DuBois
Noted in 5.0.26, 5.1.12 changelogs.