Hi All!

CREATE EXCEPTION GL_EX 'Something.';

create or alter procedure EX (
    msg varchar(100))
as
begin
  exception gl_ex msg;
end

execute procedure ex('Exception') || 'message'

GL_EX.
Exceptionmessage.
At procedure 'EX' line: 5, col: 3.

execute procedure ex('Exception ') || 'message';                  -- Note the 
space after 'Exception'

message.
At procedure 'EX' line: 5, col: 3.

execute procedure ex('Exception') || ' message'                  -- Note the 
space before 'message'

message.
At procedure 'EX' line: 5, col: 3.


Why is a valid call any of the above? How is concatenation possible outside the 
parentheses?
And, if valid, why is the concatenated text not the result in all cases?

2.5, 3.0 and 4.0 is affected too.

Should I create a ticket, or is it the expected behavior?

András




__________ Information from ESET Mail Security, version of virus signature 
database 23453 (20210612) __________

The message was checked by ESET Mail Security.
http://www.eset.com

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

Reply via email to