Skip to content

Commit

Permalink
parser: support "admin plugins enable/disable plugin" syntax (pingcap…
Browse files Browse the repository at this point in the history
  • Loading branch information
lysu authored Jul 11, 2019
1 parent 6286830 commit 8190881
Show file tree
Hide file tree
Showing 4 changed files with 3,387 additions and 3,346 deletions.
3 changes: 3 additions & 0 deletions ast/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,8 @@ const (
AdminShowSlow
AdminShowNextRowID
AdminReloadExprPushdownBlacklist
AdminPluginDisable
AdminPluginEnable
)

// HandleRange represents a range where handle value >= Begin and < End.
Expand Down Expand Up @@ -708,6 +710,7 @@ type AdminStmt struct {

HandleRanges []HandleRange
ShowSlow *ShowSlow
Plugins []string
}

// Accept implements Node Accept interface.
Expand Down
Loading

0 comments on commit 8190881

Please sign in to comment.