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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.