Bug #72326 Typo in fullDebug.properties - gatherPerMetrics should be gatherPerfMetrics
Submitted: 12 Apr 2014 15:36 Modified: 15 Apr 2014 18:53
Reporter: A B Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:5.1.30 OS:Any
Assigned to: Alexander Soklakov CPU Architecture:Any

[12 Apr 2014 15:36] A B
Description:
The fullDebug.properties config file contains "gatherPerMetrics=true". This should instead be "gatherPerfMetrics=true".

The documentation at http://dev.mysql.com/doc/connector-j/en/connector-j-useconfigs.html also has the same typo.

How to repeat:
Add useConfigs=fullDebug to your JDBC URL.

EXPECTED: Performance metrics are logged.

ACTUAL: Performance metrics are not logged.
[15 Apr 2014 9:14] Alexander Soklakov
Hi,

Thanks for this report, verified as described.
[15 Apr 2014 18:53] Daniel So
The following entry has been added to the Connector/J 5.1.31 changelog:

"The option name gatherPerfMetrics in the fullDebug.properties file was misspelled as gatherPerMetrics. That resulted in the performance metrics not being logged. The name has been corrected in both the file and the Connector/J manual."