Affects PMD Version: 6.10.0
Description: Stacktrace
net.sourceforge.pmd.lang.plsql.ast.ParseException: Encountered " "=" "= "" at line 4, column 12.
Was expecting one of:
";" ...
"FETCH" ...
"GROUP" ...
"OFFSET" ...
"ORDER" ...
at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.generateParseException(PLSQLParser.java:53977)
at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.jj_consume_token(PLSQLParser.java:53828)
at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.UnlabelledStatement(PLSQLParser.java:14915)
at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.Statement(PLSQLParser.java:15630)
at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.Block(PLSQLParser.java:848)
at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.Global(PLSQLParser.java:497)
at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.Input(PLSQLParser.java:194)
Code Sample demonstrating the issue:
BEGIN
SELECT id INTO v_id FROM table
WHERE id = (SELECT id FROM other_table);
UPDATE table SET name = 'a'
WHERE id = (SELECT id FROM other_table);
END;
/
Running PMD through: Designer
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4