Skip to content

ALTER TABLE ... PRIMARY/UNIQUE KEY results in error #267

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

Closed
MisterCoder opened this issue Nov 13, 2019 · 0 comments · Fixed by #268
Closed

ALTER TABLE ... PRIMARY/UNIQUE KEY results in error #267

MisterCoder opened this issue Nov 13, 2019 · 0 comments · Fixed by #268
Assignees
Labels
Milestone

Comments

@MisterCoder
Copy link

Very similar to #229

ALTER TABLE
  `database`.`table`
MODIFY
  `field` INT(11) AUTO_INCREMENT PRIMARY KEY

Throws an exeception: "Missing comma before start of a new alter operation."

@williamdes williamdes added the bug label Nov 13, 2019
@williamdes williamdes self-assigned this Nov 13, 2019
@williamdes williamdes added this to the 4.4.1 milestone Nov 13, 2019
williamdes added a commit that referenced this issue Nov 13, 2019
… error

Fixes: #267
Signed-off-by: William Desportes <williamdes@wdes.fr>
williamdes added a commit that referenced this issue Nov 13, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants