Bug #5406 | SELECT MAX(field) sometimes ignores WHERE clause | ||
---|---|---|---|
Submitted: | 4 Sep 2004 5:53 | Modified: | 8 Sep 2004 4:20 |
Reporter: | Dan Nelson | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1.4 | OS: | Any (all) |
Assigned to: | Igor Babaev | CPU Architecture: | Any |
[4 Sep 2004 5:53]
Dan Nelson
[8 Sep 2004 4:20]
Igor Babaev
The bug was due to the fact that the function reckey_in_range was not called in all cases where it should be called. Fixed in file sql/opt_sum.cc. ChangeSet 1.2006 04/09/07 19:46:09