pingcap/tidb

"The 'kill' or 'admin' operations do not accommodate user-defined variables.

Open

#55,369 创建于 2024年8月12日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Go (6,186 fork)batch import
help wantedseverity/moderatesig/sql-infratype/bug

仓库指标

Star
 (40,090 star)
PR 合并指标
 (平均合并 14天 4小时) (30 天内合并 346 个 PR)

描述

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

set @id=100; kill @id; admin cancel ddl jobs @id;

2. What did you expect to see? (Required)

Query kill or admin is executed successfully; The behavior of MySQL is as follows

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

mysql> select tidb_version(); +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | tidb_version() | +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Release Version: v6.5.6 Edition: Community Git Commit Hash: 8445821f105477d5e31de9d8451b7fbf35a02cd1 Git Branch: heads/refs/tags/v6.5.6 UTC Build Time: 2023-12-04 07:21:27 GoVersion: go1.19.13 Race Enabled: false TiKV Min Version: 6.2.0-alpha Check Table Before Drop: false Store: tikv | +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 1 row in set (0.00 sec)

贡献者指南