Bug #4120 Can not read a large row
Submitted: 13 Jun 2004 11:50 Modified: 31 Aug 2004 19:25
Reporter: Juan C. Olivares Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S1 (Critical)
Version:0.76 OS:Windows (Windows 2003)
Assigned to: Reggie Burnett CPU Architecture:Any

[13 Jun 2004 11:50] Juan C. Olivares
Description:
I cant select a result with a row of 89KB data.

Result:
Index and count must refer to a location within the buffer. Parameter name: bytes 
in
ByteFX.Data.MySqlClient.MySqlDataReader.Read()

How to repeat:
try to create text data of 90KB and select it with a datareader. :)
[8 Jul 2004 17:12] Reggie Burnett
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
[27 Aug 2004 10:24] Michele Taverna
I got the same problem.

This bug appears in ByteFX.Data.MySqlClient namespace (release 0.76) by calling the MySqlDataReader.Read() or MySQLDataAdapter.Fill() methods when the rows returned contains at least a field with a size bigger than 64Kb (the precise size has to be better verified).

Please, let us know if you found how to solve.
[30 Aug 2004 14:59] Michele Taverna
When do you plan to release a new version of MySQL Client for .NET?

The source repository you mentioned does contains this specific bug-fix?

Many thanks.
[31 Aug 2004 19:25] Reggie Burnett
Yes.  It contains that fix and I'm trying to get it out today (8/31)