Create function/sp which references to NON-existent exception:  compiler 
outputs "unknown ISC error 335544994" instead of "exception not defined"
-------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CORE-4371
                 URL: http://tracker.firebirdsql.org/browse/CORE-4371
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0 Alpha 2
            Reporter: Pavel Zotov


LI-T6.3.0.30981

The following script will show error message "unknown ISC error 335544994" 
instead of normal explanation that exception does not exists:

set term ^;
create or alter function fn_test returns int as begin end^ 
set term ;^
commit;

set term ^;
create or alter function fn_test returns int as
begin
  exception ex_some_non_existent_name;
  return 1;
end
^
set term ;^
commit;

If comment line #2 ( create or alter function fn_test returns int as begin 
end^) - all becomes OK.

-- 
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

        

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to