Affects PMD Version: 6.10.0
Description:
Stacktrace:
net.sourceforge.pmd.lang.plsql.ast.ParseException: Encountered "" at line 6, column 9.
Was expecting one of:
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.Condition(PLSQLParser.java:11055)
at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.WhereClause(PLSQLParser.java:11015)
at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.RestOfStatement(PLSQLParser.java:10028)
at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.SelectIntoStatement(PLSQLParser.java:9998)
Code Sample demonstrating the issue:
BEGIN
SELECT id
INTO id_out
FROM some_table
WHERE EXISTS
(SELECT NULL
FROM other_table
WHERE other_id = other_id_in);
DELETE FROM some_table
WHERE id = id_in
AND NOT EXISTS
(SELECT NULL
FROM other_table
WHERE id = id_in);
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