Bug #43070 traceProtocol doesn't output handshake data
Submitted: 20 Feb 2009 22:46 Modified: 26 Feb 2009 17:41
Reporter: Todd Farmer (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:5.1.7 OS:Any
Assigned to: Todd Farmer CPU Architecture:Any

[20 Feb 2009 22:46] Todd Farmer
Description:
While attempting to diagnose problems during handshake, it was discovered that the traceProtocol option isn't wired up until too late to dump the handshake bytes.

How to repeat:
Connect with traceProtocol=true, note that there is no server greeting or login request.

Suggested fix:
Move traceProtocol wiring to MysqlIO constructor.
[20 Feb 2009 23:17] Todd Farmer
Patch pushed (http://lists.mysql.com/commits/67071).
[26 Feb 2009 17:41] Tony Bedford
An entry was added to the 5.1.8 changelog:

When connecting with traceProtocol=true, no trace data was generated for the server greeting or login request.