Quantcast
Viewing all articles
Browse latest Browse all 2993

BUG: code comments for sql formated files disappers

hello!

My name is Raste, i work on a project and it is kind of urgent to fix this bug.
i have comments in my plsql code, but these comments disappear when i deploy via liquibase.

here is my code:

--liquibase formatted sql
--changeset  procedure_x_rbg_comment_test:4 (splitStatements:false)
create or replace function x_rbg_comment_test
as 
v_sysdate date;

begin 

--select into variable
/* select into variable*/

select sysdate
  into v_sysdate
  from dual ;


end;



the two comments after begin ( --select into variable and /* select into variable*/) disappear in this case, what i see in the database is something like this.


CREATE OR REPLACE function .x_rbg_comment_test
as 
v_sysdate date;

begin


select sysdate
  into v_sysdate
  from dual ;


end;


OBS! i have latest version of liquibase Version: 3.3.5

Regards
Raste

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>