Bug #43070 traceProtocol doesn't output handshake data
Submitted: 20 Feb 23:46 Modified: 26 Feb 18:41
Reporter: Todd Farmer
Status: Closed
Category:Connector/J Severity:S3 (Non-critical)
Version:5.1.7 OS:Any
Assigned to: Todd Farmer Target Version:

[20 Feb 23: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.
[21 Feb 0:17] Todd Farmer
Patch pushed (http://lists.mysql.com/commits/67071).
[26 Feb 18: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.