Print Thread
PLSQL 13.0.6 comment bugs.
#60481 09/05/19 09:50 PM
Joined: Sep 2019
Posts: 6
R
Member
OP Offline
Member
R
Joined: Sep 2019
Posts: 6
We were updating one of our views in plsql developer and came across a weird bug. It mainly happens in 13.0.6.

The bug in 13.0.6 happens when there is a "with" and a "function" within 2 lines the code breaks and you use a semicolon to finish the code.
I also have 12.0.7 and if there is a "with" and a "function" on the same line and you use a semicolon to finish the code.

This breaks in 12.0.7 and 13.0.6
Code
create or replace view uvic_common.v_test_view as
-- with function
select * from dual;

These break in 13.0.6:
Code
create or replace view uvic_common.v_test_view as
/* with  */
/* function */
select * from dual;

Code
create or replace view uvic_common.v_test_view as
/* with function */
select * from dual;

The main issues isn't that the words are together either as this breaks in also
Code
create or replace view uvic_common.v_test_view as
-- User was using first name with their last name 
-- in the function call
select * from dual

However, these all work.
Code
create or replace view uvic_common.v_test_view as
/* with  */

/* function */
select * from dual;

Code
create or replace view uvic_common.v_test_view as
/* with  */
/* function */
select * from dual

Note: the last one doesn't have a ; which is allowing it to work. But, once you "edit" the new view you created. you can't recompile it by running the code.


Re: PLSQL 13.0.6 comment bugs.
Randomized J #60486 09/06/19 09:29 AM
Joined: Aug 1999
Posts: 22,219
Member
Offline
Member
Joined: Aug 1999
Posts: 22,219
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.041s Queries: 14 (0.013s) Memory: 2.5012 MB (Peak: 3.0405 MB) Data Comp: Off Server Time: 2024-05-16 08:32:43 UTC
Valid HTML 5 and Valid CSS