Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Conversation

@jfontan
Copy link
Contributor

@jfontan jfontan commented Oct 31, 2018

Previously it was showing server address but should be the client:

https://dev.mysql.com/doc/refman/8.0/en/processlist-table.html

Also merged client user and address as Client struct in session.

@jfontan jfontan requested a review from a team October 31, 2018 11:56
@jfontan jfontan force-pushed the fix/client-address-in-session branch from 4eb7f16 to 65150c0 Compare October 31, 2018 12:38
// Session holds the session data.
type Session interface {
// Address of the server.
Address() string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we don't need it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need client's address for process list and audit logs that I'm currently adding. What we don't need is server address Session.Address. I've left as it is already implemented and would break backwards compatibility.

@ajnavarro
Copy link
Contributor

@jfontan could you rebase to fix CI please?

Previously it was showing server address but should be the client:

https://dev.mysql.com/doc/refman/8.0/en/processlist-table.html

Also merged client user and address as Client struct in session.

Signed-off-by: Javi Fontan <[email protected]>
@jfontan jfontan force-pushed the fix/client-address-in-session branch from 65150c0 to 2eaa2da Compare October 31, 2018 13:32
@ajnavarro ajnavarro merged commit 94eaa89 into src-d:master Nov 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants