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

MySQL: Missing support for ALTER TABLE RENAME INDEX #1240

Open
solomonty opened this issue Sep 28, 2018 · 1 comment
Open

MySQL: Missing support for ALTER TABLE RENAME INDEX #1240

solomonty opened this issue Sep 28, 2018 · 1 comment
Labels
mysql-PositiveTechnologies MySql grammar by Positive Technologies issues

Comments

@solomonty
Copy link

solomonty commented Sep 28, 2018

line 1:23 no viable alternative at input 'ALTER TABLE FOO RENAME INDEX'

ALTER TABLE FOO RENAME INDEX BAR TO FOOBAR;

https://dev.mysql.com/doc/refman/5.7/en/alter-table.html

| RENAME {INDEX|KEY} old_index_name TO new_index_name

@solomonty solomonty changed the title Missing support for ALTER TABLE RENAME INDEX MySQL: Missing support for ALTER TABLE RENAME INDEX Sep 28, 2018
@KvanTTT KvanTTT added the mysql-PositiveTechnologies MySql grammar by Positive Technologies issues label Sep 28, 2018
@mike-lischke
Copy link
Member

The MySQL grammar from Oracle is complete and supports this syntax. If you have the option to switch I recommend to try this out instead. It requires some work on the infrastructure side, if you don't use C++, however.

A few more details about this grammar can be found in the MySQL folder in this grammar repositiory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mysql-PositiveTechnologies MySql grammar by Positive Technologies issues
Projects
None yet
Development

No branches or pull requests

3 participants