09.05.2014 16:45, Dimitry Sibiryakov wrote:

> 09.05.2014 14:37, Dmitry Yemanov wrote:
>> They were always allowed, so we cannot even think about breaking this.
>> The only thing that may be treated like a bug is CORE-3275.
>
> Ok. From your comment in the ticket I conclude that _every_ matching handler 
> must be
> executed. Am I right?
>     I.e. in the example from my previous message all three handlers must fire?
>
>     when gdscode arith_except do ...
>     when sqlcode -802 do ...
>     when any do ...
>
> Currently it is not so. Should I create a new ticket or add a comment to 
> CORE-3275?

Looking at the code, the problem is that the first successfully matched 
WHEN block clears the status vector, so only WHEN ANY can be matched 
after that. And this code (inherited from InterBase) seems to be written 
intentionally.


Dmitry


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to