Bug #79620 _runtime_version missing in docs
Submitted: 13 Dec 2015 11:22 Modified: 17 Dec 2015 23:35
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.7.10 OS:Any
Assigned to: CPU Architecture:Any
Tags: connection attributes, Connector/J, performance_schema

[13 Dec 2015 11:22] Daniël van Eeden
Description:
Follow-up of: https://bugs.mysql.com/bug.php?id=77207
Page: https://dev.mysql.com/doc/refman/5.7/en/performance-schema-connection-attribute-tables.htm...

_runtime_version
_runtime_vendor

These are apparently sent by Connector/J

See also:
http://mysqlblog.fivefarmers.com/2015/12/11/practical-p_s-find-client-jre-version-using-sq...

How to repeat:
See description

Suggested fix:
Document these so that other official and unofficial connectors can use the same attributes if applicable. This would also help for applications/frameworks to know which attributes are already taken by the connector.
[13 Dec 2015 13:16] MySQL Verification Team
Hello Daniël,
 
Thank you for the report.

Thanks,
Umesh
[17 Dec 2015 14:20] Paul DuBois
re:  "Document these so that other official and unofficial connectors can use the same attributes if applicable. This would also help for applications/frameworks to know which attributes are already taken by the connector."

With respect to that last sentence, if the intent is for applications to know which connection attributes they can create themselves, *any* attribute name beginning with an underscore is reserved.

http://dev.mysql.com/doc/refman/5.7/en/performance-schema-connection-attribute-tables.html
says:

Attribute names that begin with _ are reserved for MySQL itself and should not be used by client applications. This permits new attributes to be introduced by MySQL without colliding with application attributes.
[17 Dec 2015 23:35] Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly.