Bug #28706 Log messages are truncated
Submitted: 27 May 2007 17:39 Modified: 6 Jun 2007 12:33
Reporter: Dennis Gronewold
Status: Closed
Category:Connector/Net Severity:S3 (Non-critical)
Version:5.0.7 OS:Microsoft Windows
Assigned to: Target Version:

[27 May 2007 17:39] Dennis Gronewold
Description:
Log messages with more than 300 characters are truncated. 

How to repeat:
Execute a query with more than 300 characters with logging turned on.

Suggested fix:
In Logger.cs either remove the line

if (text.Length > 300)
    text = text.Substring(0, 300);

or at least make it configurable.
[29 May 2007 16:15] 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/27586
[29 May 2007 16:17] Reggie Burnett
Fixed in 5.0.8 and 5.1.2.  We removed the 300 character limit
[6 Jun 2007 12:31] MC Brown
A note has been added to the 5.0.8 and 5.1.2 changelogs.
[6 Jun 2007 12:33] MC Brown
Closing after changelog entry.