| Bug #3486 | FOUND_ROWS() fails inside stored procedure [and prepared statement] | ||
|---|---|---|---|
| Submitted: | 16 Apr 2004 16:43 | Modified: | 23 Jun 2004 10:58 |
| Reporter: | Karl Niemeier | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | 4.1 | OS: | Windows (XP Pro 2002) |
| Assigned to: | Per-Erik Martin | CPU Architecture: | Any |
[16 Apr 2004 16:43]
Karl Niemeier
[17 Jun 2004 18:36]
Per-Erik Martin
This is a problem with prepared statements as well. found_rows() is calculated at item creation time, not evaluation time.
[23 Jun 2004 10:58]
Per-Erik Martin
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.
If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information
about accessing the source trees is available at
http://www.mysql.com/doc/en/Installing_source_tree.html
Additional info:
This has been fixed in 4.1, and will be propagated to 5.0 in a near future.
