mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for mysql parser. for issue #2267
This commit is contained in:
@@ -442,7 +442,13 @@ public class MySqlCreateTableParser extends SQLCreateTableParser {
|
||||
lexer.nextToken();
|
||||
accept(Token.EQ);
|
||||
stmt.getTableOptions().put("TYPE", this.exprParser.expr());
|
||||
continue;
|
||||
}
|
||||
|
||||
if (lexer.identifierEquals("ENCRYPTION")) {
|
||||
lexer.nextToken();
|
||||
accept(Token.EQ);
|
||||
stmt.getTableOptions().put("ENCRYPTION", this.exprParser.expr());
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user