improve mysql sql parser ddl support

This commit is contained in:
wenshao
2012-11-17 15:44:02 +08:00
parent 340a7a945e
commit f39ca8ac14
20 changed files with 535 additions and 52 deletions
@@ -1144,7 +1144,7 @@ public class SQLExprParser extends SQLParser {
accept(Token.SET);
if (lexer.token() != Token.IDENTIFIER) {
if (lexer.token() != Token.IDENTIFIER && lexer.token() != Token.LITERAL_CHARS) {
throw new ParserException();
}
charType.setCharSetName(lexer.stringVal());