Subject Re: fbudf - dow syntax
Author Alex
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
wrote:
> At 12:45 PM 24/09/2003 +0000, you wrote:
> >-
> > > This is the declaration you should have:
> > >
> > > declare external function dow
> > > timestamp,
> > > varchar(15) returns parameter 2
> > > entry_point 'DOW' module_name 'fbudf';
> > >
> > > As you see, it specifies parameter 2 as the return parameter.
> >
> >ok, this was my misunderstanding I expected a declaration like
> >
> >DECLARE EXTERNAL FUNCTION dow
> > TIMESTAMP
> > RETURNS VARCAHR(15)
> > ENTRY_POINT 'DOW' MODULE_NAME 'fbudf';
> >
> >The declaration I think is not the problem, because the function is
> >found but according to firebird log crashes the server (fbguard
> >abnormal termination)
> >
> > >
> > > Which server version and model? Which platform is the server on?
> > >
> > > heLen
> >
> >The Server is FB 1.5SS RC6 running on Debian Linux
> >Until now I used the older library ib_udf which still contained the
> >DOW function but now the DOW function is in fbudf but does not work
> >for me :/
>
> Why don't you want to used the supplied declaration?
>
> heLen

I am using the supplied declaration I was only confused of the
different syntax, my fault. But server crashes with this supplied
declaration too when using dow function.