Print Thread
PL/SQL Beautifier with conditional compilation
#62134 10/23/20 02:25 PM
Joined: Sep 2019
Posts: 34
Spain
E
El Offline OP
Member
OP Offline
Member
E
Joined: Sep 2019
Posts: 34
Spain
Hello:

We have many packages with conditional compilation where PL / SQL Beautifer fails.

Here is a simplified example

CREATE OR REPLACE PROCEDURE p_example IS
BEGIN
INSERT INTO test_format (dummy1
$IF $$debug_mode $THEN
, dummy2
$END
)
VALUES
('1'
$IF $$debug_mode $THEN
, '2'
$END
);
END p_example;

Table:


CREATE TABLE test_format (
dummy1 VARCHAR2(10),
dummy2 VARCHAR2(20)
);

ALTER SESSION SET PLSQL_CCFLAGS='debug_mode:TRUE';


Thanks,


-------------------------------
Elias F.M.
Re: PL/SQL Beautifier with conditional compilation
El #62135 10/24/20 09:04 AM
Joined: Aug 1999
Posts: 22,214
Member
Offline
Member
Joined: Aug 1999
Posts: 22,214
We'll fix it!


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.038s Queries: 14 (0.019s) Memory: 2.4956 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-05-10 00:42:53 UTC
Valid HTML 5 and Valid CSS