We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1、创建表: CREATE TABLE test ( col1 varchar(255) DEFAULT NULL, col2 varchar(255) NOT NULL, id int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (id,col2) ) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
test
col1
col2
id
2、删除col2主键字段 ALTER TABLE test DROP PRIMARY KEY, DROP COLUMN col2, ADD PRIMARY KEY (id) USING BTREE;
报错:Failed to execute the DDL task. Caused by: Illegal Capacity: -1
4、执行SHOW FULL DDL有条DDL任务执行失败,状态为:PAUSED
5、执行 CANCEL DDL job_id无法取消DDL任务
The text was updated successfully, but these errors were encountered:
Thanks for your findings.
We can reproduce this issue and already fixed it via PR #117 in the project 'galaxysql'.
Sorry, something went wrong.
No branches or pull requests
1、创建表:
CREATE TABLE
test
(col1
varchar(255) DEFAULT NULL,col2
varchar(255) NOT NULL,id
int(11) NOT NULL AUTO_INCREMENT,PRIMARY KEY (
id
,col2
)) ENGINE = InnoDB DEFAULT CHARSET = utf8 ;
2、删除col2主键字段
ALTER TABLE
test
DROP PRIMARY KEY,
DROP COLUMN
col2
,ADD PRIMARY KEY (
id
) USING BTREE;报错:Failed to execute the DDL task. Caused by: Illegal Capacity: -1
4、执行SHOW FULL DDL有条DDL任务执行失败,状态为:PAUSED
5、执行 CANCEL DDL job_id无法取消DDL任务
The text was updated successfully, but these errors were encountered: