Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport for sending connection attributes #737
Conversation
628d6aa
to
c6deadb
|
3ee4429
to
b2c046d
Removed |
@dolmen fixed your suggestions. |
Rebased onto current master to resolve merge conflicts |
Commit "Fix excessive null-termination for auth data in handshake" do not seem related to this PR. Or is it? |
@dolmen strictly speaking - it is not, and can be merged alone, but it was included because until it is fixed this PR cannot be merged. |
It would be useful to add tests and make them run under Travis-CI (see file .travis.yml). Here is a scenario:
|
Description
This PR adds support for sending connection attributes, which are used for identifying individual connections in mysql. (https://dev.mysql.com/doc/refman/5.7/en/performance-schema-connection-attribute-tables.html)
For example libmysql sets attributes
_client_name
,_pid
,_client_version
,_os
,_platform
. This adds default_client_name=go-mysql-driver
Checklist