Skip to content

Commit

Permalink
[parser] ast: fix misspell (pingcap#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiekeyi98 authored and xhebox committed Oct 8, 2021
1 parent 9b68c56 commit 39ac968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parser/ast/dml.go
Original file line number Diff line number Diff line change
Expand Up @@ -2022,7 +2022,7 @@ type WindowSpec struct {
Frame *FrameClause

// OnlyAlias will set to true of the first following case.
// To make compatiable with MySQL, we need to distinguish `select func over w` from `select func over (w)`.
// To make compatible with MySQL, we need to distinguish `select func over w` from `select func over (w)`.
OnlyAlias bool
}

Expand Down
2 changes: 1 addition & 1 deletion parser/parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ import (
ShowStmt "Show engines/databases/tables/user/columns/warnings/status statement"
Statement "statement"
TraceStmt "TRACE statement"
TraceableStmt "traceable statment"
TraceableStmt "traceable statement"
TruncateTableStmt "TRUNCATE TABLE statement"
UnlockTablesStmt "Unlock tables statement"
UpdateStmt "UPDATE statement"
Expand Down

0 comments on commit 39ac968

Please sign in to comment.