提交 309eb9ef authored 作者: Owner's avatar Owner

TestPgServer failing unless currentToken test was done in toUpperCase()

上级 f627d814
......@@ -824,7 +824,9 @@ public class Parser {
if (readIf("AS")) {
alias = readAliasIdentifier();
} else if (currentTokenType == IDENTIFIER) {
if (!equalsToken("SET", currentToken) && !excludeTokens.contains(currentToken)) {
String upperCaseCurrentToken = currentToken.toUpperCase();
if (!equalsToken("SET", upperCaseCurrentToken) && !excludeTokens.contains(upperCaseCurrentToken)) {
System.out.println("currentToken="+currentToken);
// SET is not a keyword (PostgreSQL supports it as a table name)
alias = readAliasIdentifier();
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论