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 where for show table region syntax #398

Merged
merged 11 commits into from
Sep 3, 2019
3 changes: 3 additions & 0 deletions ast/dml.go
Original file line number Diff line number Diff line change
Expand Up @@ -2100,6 +2100,9 @@ func (n *ShowStmt) Restore(ctx *RestoreCtx) error {
ctx.WriteName(n.IndexName.String())
}
ctx.WriteKeyWord(" REGIONS")
if err := restoreShowLikeOrWhereOpt(); err != nil {
return err
}
return nil
default:
return errors.New("Unknown ShowStmt type")
Expand Down
Loading