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

Add SHOW INDEXES and EXTENDED #6006

Merged

Conversation

saifalharthi
Copy link
Contributor

Part of MySQL compatibility, this PR supports SHOW INDEXES
The optional EXTENDED keyword was introduced in MySQL to check hidden indexes.
https://dev.mysql.com/doc/refman/8.0/en/show-index.html
Keyword support was added.
This PR also fixes a bug where the SHOW INDEX query fails for unqualified tables.

Signed-off-by: Saif Alharthi [email protected]

Signed-off-by: Saif Alharthi <[email protected]>
Copy link
Collaborator

@systay systay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice stuff

go/vt/sqlparser/parse_test.go Outdated Show resolved Hide resolved
go/vt/sqlparser/sql.y Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

3 participants