mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved mysql parser. bug fixed for issue #2263
This commit is contained in:
@@ -3712,6 +3712,11 @@ public class MySqlStatementParser extends SQLStatementParser {
|
||||
this.exprParser.names(item.getPartitions(), item);
|
||||
}
|
||||
|
||||
if (lexer.token() == Token.TABLESPACE) {
|
||||
lexer.nextToken();
|
||||
item.setTablespace(true);
|
||||
}
|
||||
|
||||
stmt.addItem(item);
|
||||
} else {
|
||||
accept(Token.TABLESPACE);
|
||||
|
||||
Reference in New Issue
Block a user