Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send COM_QUIT on connection close. #3

Merged
merged 2 commits into from
Mar 8, 2022
Merged

Send COM_QUIT on connection close. #3

merged 2 commits into from
Mar 8, 2022

Conversation

jakule
Copy link

@jakule jakule commented Mar 1, 2022

COM_QUIT message is not being sent right before closing the DB connection which results in a warning printed in MariaDB logs

2022-03-01 18:42:01 9 [Warning] Aborted connection 9 to db: 'unconnected' user: 'alice' host: '192.168.0.248' (Got an error reading communication packets)

This PR adds the command which fixes the problem.

@jakule jakule requested a review from r0mant March 1, 2022 21:22
@jakule jakule merged commit 1020960 into jim/dba Mar 8, 2022
@jakule jakule deleted the jakule/com_quit branch March 8, 2022 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants