Subject Re: [Firebird-Architect] Re: Database level triggers
Author Olivier Mascia
Le 13/06/2003 8:00 +0200 Martijn Tonies écrivait:

>> Martijn Tonies wrote:
>> > Mind you though - Firebird isn't even able to sandbox a misbehaving
>> > UDF currently :-/ ... The engine seems to restart even after minor UDF
>> > errors.
>>
>> Well, that's to be expected, right? UDF's are written in an "unsafe
>> langugage" (C, Delphi) and run in the same process space as FB. Same as
>> DLL's, most browser plugins, etc.
>
> But, even with a divide by zero exception! ... :-/

Does this means that calls to UDF function from the server code are not
wrapped in a SEH bracket (Win32) or even a C++ catch-all exception ? It
would allow the server to recover and emit an error instead of going mad...

--
Best Regards,
Olivier Mascia