mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for pg sql parser 'with update', for issue #1727
This commit is contained in:
+6
@@ -322,6 +322,12 @@ public class PGSQLStatementParser extends SQLStatementParser {
|
||||
stmt.setWith(with);
|
||||
return stmt;
|
||||
}
|
||||
|
||||
if (lexer.token() == Token.UPDATE) {
|
||||
PGUpdateStatement stmt = (PGUpdateStatement) this.parseUpdateStatement();
|
||||
stmt.setWith(with);
|
||||
return stmt;
|
||||
}
|
||||
throw new ParserException("TODO");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user