Subject | Re: ufd library works with FB 1.5.x superserver but not with classic server |
---|---|
Author | vincent_kwinsey |
Post date | 2010-03-23T06:59:24Z |
There is little to show - e.g. function that returns aboslute value:
double FAR PASCAL fun_abs(double* x)
{
return (*x < 0.0) ? -*x : *x;
}
There is not even the memory allocation.
double FAR PASCAL fun_abs(double* x)
{
return (*x < 0.0) ? -*x : *x;
}
There is not even the memory allocation.
--- In firebird-support@yahoogroups.com, "Ivan Prenosil" <Ivan.Prenosil@...> wrote:
>
> > I have my proprietary udf library and it is working with FB 1.5.x superserver but is not working with classic server. Any select
> > which uses some function from my library results in:
> >
> > *** IBPP::SQLException ***
> > Context: Database::Statistics
> > Message: isc_database_info failed
> >
> > SQL Message : -902
> > Unsuccessful execution caused by a system error that precludes
> > successful execution of subsequent statements
> >
> > Engine Code : 335544721
> > Engine Message :
> > Unable to complete network request to host "localhost".
> > Error writing data to the connection.
> > An existing connection was forcibly closed by the remote host.
> >
> > And the firebird.log contains:
> > MYNAME (Client) Mon Mar 22 08:49:49 2010
> > INET/inet_error: send errno = 10054
> >
> > Nothing like this happens (even on classic server) when I am issuing select that uses function from library supplied with Firebird
> > installation like ib_udf.dll.
>
> Because ib_udf does not cause problems, it is obvious that problem is in your library.
> But it is impossible to tell what is wrong if you do not show us the code.
>