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

Fix ALGORITHM syntax #429

Closed
zier-one opened this issue Aug 2, 2019 · 1 comment
Closed

Fix ALGORITHM syntax #429

zier-one opened this issue Aug 2, 2019 · 1 comment

Comments

@zier-one
Copy link
Contributor

zier-one commented Aug 2, 2019

Index Issue: pingcap/tidb#11486

These are bad (incompatible) SQL cases:

CREATE INDEX i ON ident ( ident ) USING BTREE ALGORITHM = DEFAULT LOCK PERSIST_ONLY
CREATE UNIQUE INDEX PERSIST USING BTREE ON BIT ( SQL_BEFORE_GTIDS ) ALGORITHM DEALLOCATE
CREATE INDEX BEGIN USING BTREE ON t ( IDENTIFIED ) KEY_BLOCK_SIZE = 12 ALGORITHM DEFAULT LOCK DEFAULT
CREATE UNIQUE INDEX ident ON t ( ident ( 1 ) ASC ) LOCK = DEFAULT ALGORITHM ident
CREATE INDEX BYTE ON CONTAINS ( DEALLOCATE ) ALGORITHM ident LOCK set_var CLASS_ORIGIN
CREATE UNIQUE INDEX CACHE ON t ( ident ASC ) ALGORITHM INSTALL

Claim this subtask based on the comments below this issue.

@zhenghaoz
Copy link
Contributor

Let me fix it :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants