Bug #4076 Cannot make request show create table TableName
Submitted: 9 Jun 2004 13:34 Modified: 2 Jul 2004 1:02
Reporter: Ivan Mikheev Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:0.76 src OS:Windows (winXp)
Assigned to: Assigned Account CPU Architecture:Any

[9 Jun 2004 13:34] Ivan Mikheev
Description:
I tried to make a simple request  "show create table TableName" and got the error: "Index and count must refer to a location within the buffer. Paremeter name: bytes" from file datareader.cs(method Read, line 651).
I discovered the error occured in file Field.cs(method SetValueData, line:
string sValue = encoding.GetString( buf, (int)index, (int)len);)

How to repeat:
Just try to make request "show create table TableName" using MySqlDataReader
[10 Jun 2004 13:12] Ivan Mikheev
By the way,  I have downloaded version 75 and this problem disappeared...
[2 Jul 2004 1:02] Dean Ellis
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.

Thank you for your interest in MySQL.

Additional info:

Duplicate of bug #4074.