bug fixed for mysql parser. for issue #2267

This commit is contained in:
wenshao
2018-01-22 15:34:53 +08:00
parent 1c331c217d
commit 01bae14276
2 changed files with 37 additions and 0 deletions
@@ -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;
}