Seems Firebird removes comments before the first line of code
-------------------------------------------------------------

                 Key: CORE-6466
                 URL: http://tracker.firebirdsql.org/browse/CORE-6466
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 3.0.6
         Environment: Ubuntu 20.04.01
            Reporter: Sergio Toniutti


Seems Firebird removes comments before the first line of code when i execute 
create or alter procedure.
If i have:
SET TERM ^^ ;
CREATE OR ALTER PROCEDURE P_INC (
  INT_A Integer)
 returns (
  INT_B Integer)
AS
/*
this is a bug!
*/
declare variable int_c integer=2;
begin
  /* code */
  int_b=int_a+int_c+2;
  suspend;
end ^^
SET TERM ; ^^

the result is:

SET TERM ^^ ;
CREATE OR ALTER PROCEDURE P_INC (
  INT_A Integer)
 returns (
  INT_B Integer)
AS
declare variable int_c integer=2;
begin
  /* code */
  int_b=int_a+int_c+2;
  suspend;
end ^^
SET TERM ; ^^

Thanks,
Sergio

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to