This commit is contained in:
yakolee
2014-05-30 16:38:39 +08:00
parent 46589024f5
commit 47c7625247
4 changed files with 1 additions and 52 deletions
@@ -1371,17 +1371,7 @@ public class SQLExprParser extends SQLParser {
charType.setCollate(lexer.stringVal());
lexer.nextToken();
}
}else if(identifierEquals("COLLATE")){
lexer.nextToken();
if (lexer.token() != Token.IDENTIFIER) {
throw new ParserException();
}
charType.setCollate(lexer.stringVal());
lexer.nextToken();
}
return charType;
}