Skip to content

Commit

Permalink
[parser] *: support for the statement of "admin show tableName next r…
Browse files Browse the repository at this point in the history
…ow id" (pingcap#19)
  • Loading branch information
zimulala authored and xhebox committed Oct 8, 2021
1 parent b6cf317 commit 7f67c9f
Show file tree
Hide file tree
Showing 5 changed files with 5,036 additions and 5,009 deletions.
1 change: 1 addition & 0 deletions parser/ast/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ const (
AdminShowDDLJobQueries
AdminChecksumTable
AdminShowSlow
AdminShowNextRowID
)

// HandleRange represents a range where handle value >= Begin and < End.
Expand Down
1 change: 1 addition & 0 deletions parser/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ var tokenMap = map[string]int{
"NAMES": names,
"NATIONAL": national,
"NATURAL": natural,
"NEXT_ROW_ID": next_row_id,
"NO": no,
"NO_WRITE_TO_BINLOG": noWriteToBinLog,
"NONE": none,
Expand Down
Loading

0 comments on commit 7f67c9f

Please sign in to comment.