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

rename column audit failed for tidb 5.0 #422

Closed
realcp1018 opened this issue Jan 25, 2022 · 3 comments
Closed

rename column audit failed for tidb 5.0 #422

realcp1018 opened this issue Jan 25, 2022 · 3 comments
Labels
wontfix This will not be worked on

Comments

@realcp1018
Copy link

描述
"alter table sbtest1 rename column c to d;" statement audit failed with error: line 1 column 37 near "column c to d;inception_magic_commit"

重现
CREATE TABLE sbtest1 (
id int(11) NOT NULL AUTO_INCREMENT,
k int(11) NOT NULL DEFAULT '0',
c char(120) NOT NULL DEFAULT '',
pad char(60) NOT NULL DEFAULT '',
PRIMARY KEY (id) /*T![clustered_index] CLUSTERED */,
KEY k_1 (k)
);

环境

  • 数据库: [tidb]
  • 版本: [例如 5.0.1/5.0.2]

参数

@realcp1018
Copy link
Author

暂未在其他版本测试过,其他sql类似alter table add column等可以跑通

@hanchuanchuan
Copy link
Owner

已更新 v1.2.5-23. 请升级后重试.

@stale
Copy link

stale bot commented Apr 16, 2022

由于此问题没有最近的活动,因此已被自动标记为陈旧。如果没有进一步的活动,会作为不活跃issue关闭。感谢你对本项目的贡献。 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Apr 16, 2022
@stale stale bot closed this as completed Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants