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

[feature] support show index #679

Closed
zhyass opened this issue Sep 1, 2020 · 0 comments
Closed

[feature] support show index #679

zhyass opened this issue Sep 1, 2020 · 0 comments
Assignees
Milestone

Comments

@zhyass
Copy link
Contributor

zhyass commented Sep 1, 2020

mysql> show index from test.t;
ERROR 1105 (HY000): unsupported.query:show index
SHOW {INDEX | INDEXES | KEYS}
    {FROM | IN} tbl_name
    [{FROM | IN} db_name]
    [WHERE expr]
zhyass added a commit to zhyass/radon that referenced this issue Sep 1, 2020
[summary]
Support show index syntax.

SHOW {INDEX | INDEXES | KEYS}
    {FROM | IN} tbl_name
    [{FROM | IN} db_name]
    [WHERE expr]

[test case]
src/proxy/show_test.go
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/show_test.go

[patch codecov]
src/proxy/query.go 88.7%
src/proxy/show.go 90.1%
src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 96.8%
@zhyass zhyass self-assigned this Sep 1, 2020
@zhyass zhyass added this to the v1.1.2 milestone Sep 1, 2020
BohuTANG added a commit that referenced this issue Sep 1, 2020
*: support show index syntax #679
@zhyass zhyass closed this as completed Sep 2, 2020
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

1 participant