-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3783 from oowekyala:issue3746-plsql-tokens
- Loading branch information
Showing
5 changed files
with
90 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,3 +69,4 @@ public Map<Integer, String> getSuppressMap() { | |
return new HashMap<>(); // FIXME | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
pmd-plsql/src/test/resources/net/sourceforge/pmd/lang/plsql/ast/RelationalOperators.pls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
CREATE OR REPLACE PROCEDURE EXAMPLE_PROCEDURE IS | ||
-- | ||
l_total_objects NUMBER(10); | ||
-- | ||
BEGIN | ||
-- | ||
SELECT COUNT(1) | ||
INTO l_total_objects | ||
FROM USER_OBJECTS | ||
WHERE namespace < = 1 | ||
OR namespace > = 0 | ||
OR namespace > | ||
= 0 | ||
; | ||
-- | ||
DBMS_OUTPUT.Put_Line('Total number of objects: ' || l_total_objects); | ||
-- | ||
END EXAMPLE_PROCEDURE; |