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

Support KILL TIDB connection_id() #37261

Closed
Icemap opened this issue Aug 22, 2022 · 1 comment · Fixed by #37650
Closed

Support KILL TIDB connection_id() #37261

Icemap opened this issue Aug 22, 2022 · 1 comment · Fixed by #37650
Assignees
Labels
type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@Icemap
Copy link
Member

Icemap commented Aug 22, 2022

Feature Request

Is your feature request related to a problem? Please describe:

Please support KILL TIDB connection_id()

For Now:

KILL TIDB connection_id();
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 23 near "connection_id()"
KILL connection_id();
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 18 near "connection_id()"

Describe the feature you'd like:

Just like MySQL or MariaDB:

KILL connection_id();
ERROR 1927 (70100): Connection was killed
@Icemap Icemap added the type/feature-request Categorizes issue or PR as related to a new feature. label Aug 22, 2022
@hawkingrei hawkingrei self-assigned this Aug 22, 2022
@Icemap
Copy link
Member Author

Icemap commented Oct 21, 2022

Great job! @hawkingrei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants