-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
analyzerAnalyzing of PL/SQL codeAnalyzing of PL/SQL codeenhancementNew feature or requestNew feature or requestwasmWASM interface changesWASM interface changes
Description
Goal
Given a function, procedure, query or trigger,, the analyzer should list each function invocation, including the amount of calls.
Example
CREATE PROCEDURE secure_dml
IS
BEGIN
IF
TO_CHAR (SYSDATE, 'HH24:MI') NOT BETWEEN '08:00' AND '18:00'
OR TO_CHAR (SYSDATE, 'DY') IN ('SAT', 'SUN') THEN
RAISE_APPLICATION_ERROR (-20205, 'You may only make changes during normal office hours');
END IF;
END secure_dml;
Invocations:
RAISE_APPLICATION_ERROR: 1
SYSDATE: 2
TO_CHAR: 2
How to demo
Rust and TS tests demonstrate the new analyzer statistics.
Metadata
Metadata
Assignees
Labels
analyzerAnalyzing of PL/SQL codeAnalyzing of PL/SQL codeenhancementNew feature or requestNew feature or requestwasmWASM interface changesWASM interface changes