parser: rename DropTableOpt to TableOrTables
This commit is contained in:
@ -1307,7 +1307,7 @@ DropIndexStmt:
|
||||
}
|
||||
|
||||
DropTableStmt:
|
||||
"DROP" DropTableOpt TableIdentList
|
||||
"DROP" TableOrTables TableIdentList
|
||||
{
|
||||
$$ = &stmts.DropTableStmt{TableIdents: $3.([]table.Ident)}
|
||||
if yylex.(*lexer).root {
|
||||
@ -1322,7 +1322,7 @@ DropTableStmt:
|
||||
}
|
||||
}
|
||||
|
||||
DropTableOpt:
|
||||
TableOrTables:
|
||||
"TABLE"
|
||||
| "TABLES"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user