Subject | Re: [Firebird-Architect] Re: Database level triggers |
---|---|
Author | Olivier Mascia |
Post date | 2003-06-13T11:02:51Z |
Le 13/06/2003 8:00 +0200 Martijn Tonies écrivait:
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
>> Martijn Tonies wrote:Does this means that calls to UDF function from the server code are not
>> > 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! ... :-/
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