Submitted by: Sergio Toniutti (sergiot_ericed.it)
Is duplicated by CORE6467
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
Commits: 32e7474 a8e6309 820fd7e 7811862 dfcb0ba c26edb9
Submitted by: Sergio Toniutti (sergiot_ericed.it)
Is duplicated by CORE6467
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
Commits: 32e7474 a8e6309 820fd7e 7811862 dfcb0ba c26edb9