Subject Re: [firebird-support] UDF problem when I call isc_decode_date
Author Dmitry Yemanov
Marco Castroo wrote:
>
> Can someone help me on this? This function gets a date parameter and
> returns a formated string data.
>
> char * fn_RetornMonthYear(ISC_QUAD *d)

Why ISC_QUAD? Use ISC_DATE.

> {
> struct tm tm_date;
> char *buffer = (char *)malloc (8);

Why malloc? Use ib_util_malloc.


Dmitry