Bug #6088 | FOUND_ROWS returns wrong values for prepared statements when LIMIT is used | ||
---|---|---|---|
Submitted: | 14 Oct 2004 10:32 | Modified: | 22 Oct 2004 19:13 |
Reporter: | Georg Richter | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1 | OS: | Linux (Linux) |
Assigned to: | Konstantin Osipov | CPU Architecture: | Any |
[14 Oct 2004 10:32]
Georg Richter
[22 Oct 2004 19:13]
Konstantin Osipov
Fixed in 4.1.7 Subject: bk commit - 4.1 tree (konstantin:1.2132) BUG#6088 ChangeSet 1.2132 04/10/22 22:49:12 konstantin@mysql.com +4 -0 A fix and test case for Bug#6088 "FOUND_ROWS returns wrong values for prepared statements when LIMIT is used" and post-review comments. The fix changes the approach we calculate the need for ORDER BY in UNION: the previous was not PS friendly, as it damaged SELECT_LEX options in case of single select.