On 04-12-2011 09:53, Jesus Garcia wrote:
> 
>        How??? How the engine catch an alien exception? Could you show
>     the method working in
>     MSVC and GCC?
> 
> I don,t know how and if is possible, There must be a point in firebird
> where a call to an udf in a dll is executed, and i don't know if is
> possible to catch an exception that is raised in that point and not let
> the engine crash. How? if i would know i would suggest it, why? i think
> the engine and 100 users working against a database must not be
> affected by an exception in a udf.dll, if possible. Better from my point
> of view, catch the exception and set null to the return values and log
> the function error in firebird.log.
>  

The engine does what is possible and tries to catch the 'alien exception'.

You must do your part and write a correct UDF, testing them before in
non-production environment.


Adriano

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to