Bug #34360 | MySqlDataReader returns zero instead of actual value when doing count(*) | ||
---|---|---|---|
Submitted: | 6 Feb 2008 19:06 | Modified: | 7 Feb 2008 0:43 |
Reporter: | t s | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 5.1.4.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | aggregate, connector.net, count, MySqlDataReader |
[6 Feb 2008 19:06]
t s
[6 Feb 2008 20:08]
t s
The workaround does NOT work. It seems to be something with the fact that the number that is generated is an Int64 or something like that. From what I can see, the private members of the mysqldatareader class has the correct value for the aggregate number, but when I try to access that on the public side, it converts it to zero.
[6 Feb 2008 23:14]
t s
Please close the bug, I found an error in a base class way down in my code that was causing this bug. Sorry to "bug" you.