parser: rename DropTableOpt to TableOrTables

This commit is contained in:
xia
2015-10-27 17:46:08 +08:00
parent 6130bfd762
commit 3c153c05ad

View File

@ -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"