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

*: implement "kill tidb xxx" statement #2768

Merged
merged 4 commits into from
Mar 8, 2017
Merged

Conversation

tiancaiamao
Copy link
Contributor

now we can kill a statement or kill a connection...

server/server.go Outdated
if query {
conn.ctx.Cancel()
} else {
conn.ctx.Cancel()
Copy link
Contributor

Choose a reason for hiding this comment

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

Move this line to line 233, line234-237 can be removed.

@zimulala
Copy link
Contributor

zimulala commented Mar 3, 2017

LGTM

Copy link
Member

@hanfei1991 hanfei1991 left a comment

Choose a reason for hiding this comment

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

lgtm

@tiancaiamao tiancaiamao merged commit a623e67 into master Mar 8, 2017
@tiancaiamao tiancaiamao deleted the tiancaiamao/kill-tidb branch March 8, 2017 05:32
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.

3 participants