Skip to content

Commit

Permalink
parser: support SQL_TSI_* (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
ichn-hu authored and leoppro committed Aug 19, 2019
1 parent c5d6ce8 commit 2b96673
Show file tree
Hide file tree
Showing 4 changed files with 7,037 additions and 6,877 deletions.
8 changes: 8 additions & 0 deletions misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,14 @@ var tokenMap = map[string]int{
"SQL_CALC_FOUND_ROWS": sqlCalcFoundRows,
"SQL_NO_CACHE": sqlNoCache,
"SQL_SMALL_RESULT": sqlSmallResult,
"SQL_TSI_DAY": sqlTsiDay,
"SQL_TSI_HOUR": sqlTsiHour,
"SQL_TSI_MINUTE": sqlTsiMinute,
"SQL_TSI_MONTH": sqlTsiMonth,
"SQL_TSI_QUARTER": sqlTsiQuarter,
"SQL_TSI_SECOND": sqlTsiSecond,
"SQL_TSI_WEEK": sqlTsiWeek,
"SQL_TSI_YEAR": sqlTsiYear,
"SOURCE": source,
"SSL": ssl,
"START": start,
Expand Down
Loading

0 comments on commit 2b96673

Please sign in to comment.