bug fixed for issue #2002

This commit is contained in:
wenshao
2017-10-02 12:28:08 +08:00
parent 27c10df625
commit c0f436ea41
2 changed files with 91 additions and 1 deletions
@@ -667,7 +667,12 @@ public class Lexer {
scanChar();
if (ch == '?' && JdbcConstants.POSTGRESQL.equals(dbType)) {
scanChar();
token = Token.QUESQUES;
if (ch == '|') {
scanChar();
token = Token.QUESBAR;
} else {
token = Token.QUESQUES;
}
} else if (ch == '|' && JdbcConstants.POSTGRESQL.equals(dbType)) {
scanChar();
if (ch == '|') {