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

Make PROCESSLIST and KILL compatible with MySQL #722

Merged
merged 2 commits into from
May 23, 2019
Merged

Make PROCESSLIST and KILL compatible with MySQL #722

merged 2 commits into from
May 23, 2019

Conversation

kuba--
Copy link
Contributor

@kuba-- kuba-- commented May 23, 2019

Related to: src-d/gitbase#817
Right now:

  • SHOW PROCESSLIST lists all running processes where Id column contains CONNECTION_ID.
  • KILL QUERY connection_id kills all queries for connection_id, but does not close the connection.
  • KILL [CONNECTION] connection_id terminates all running queries for connection_id, and closes the connection.

@kuba-- kuba-- closed this May 23, 2019
Signed-off-by: kuba-- <kuba@sourced.tech>
@kuba-- kuba-- reopened this May 23, 2019
@kuba-- kuba-- requested a review from a team May 23, 2019 10:14
@kuba-- kuba-- added the bug Something isn't working label May 23, 2019
@erizocosmico
Copy link
Contributor

LGTM once tests pass

Signed-off-by: kuba-- <kuba@sourced.tech>
@ajnavarro ajnavarro merged commit 749adb4 into src-d:master May 23, 2019
@kuba-- kuba-- deleted the fix-kill branch May 23, 2019 16:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants