Bug #32135 | row_count() function returns difference value using console and .net | ||
---|---|---|---|
Submitted: | 6 Nov 2007 5:32 | Modified: | 8 Nov 2007 16:31 |
Reporter: | xu ziyan | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 1.0.10.1 | OS: | Windows (XP SP2) |
Assigned to: | CPU Architecture: | Any | |
Tags: | row_count(), UPDATE |
[6 Nov 2007 5:32]
xu ziyan
[8 Nov 2007 16:00]
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/37345
[8 Nov 2007 16:02]
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/37346
[8 Nov 2007 16:02]
Reggie Burnett
Fixed in 1.0.11, 5.0.9, and 5.1.4+
[8 Nov 2007 16:05]
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/37347
[8 Nov 2007 16:31]
Reggie Burnett
after discussing with some folks this is not a bug. The issue you are seeing is that the console application doesn't use the connection option FOUND_ROWS so the function row_count() only returns rows that are affected whereas Connector/Net uses the FOUND_ROWS option which will return all rows matched.