Bug #12689 | SLEEP() can get incorrectly optimized away in WHERE and stored in query cache | ||
---|---|---|---|
Submitted: | 19 Aug 2005 20:23 | Modified: | 26 Aug 2005 20:13 |
Reporter: | Jim Winstead | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | OS: | ||
Assigned to: | Jim Winstead | CPU Architecture: | Any |
[19 Aug 2005 20:23]
Jim Winstead
[19 Aug 2005 22:49]
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/internals/28551
[22 Aug 2005 19:50]
Jim Winstead
Fixed in 5.0.12.
[26 Aug 2005 20:13]
Paul DuBois
Noted in 5.0.12 changelog. In query cache section, added SLEEP() to list of functions that cannot be cached.