Re: UDF kills mysqld with longer strings

2001-04-06 Thread Sinisa Milivojevic
Honza Pazdziora writes: > On Fri, Apr 06, 2001 at 04:52:21PM +0300, Sinisa Milivojevic wrote: > > > > To solve the above you have also to malloc a pointer in _init function > > and free it in _end function. > > Great, works like a charm. Just to make sure: is it OK to use > my_malloc to a

Re: UDF kills mysqld with longer strings

2001-04-06 Thread Honza Pazdziora
On Fri, Apr 06, 2001 at 04:52:21PM +0300, Sinisa Milivojevic wrote: > > To solve the above you have also to malloc a pointer in _init function > and free it in _end function. Great, works like a charm. Just to make sure: is it OK to use my_malloc to allocate and free to free, or should I use som

Re: UDF kills mysqld with longer strings

2001-04-06 Thread Sinisa Milivojevic
[EMAIL PROTECTED] writes: > >Description: > > UDF working with strings longer than (I believe) 255 bytes kills > the server. Even if the initid->max_length is set to the length of > the string that will be returned, as the manual suggests. > > Please not that in this case, no additional m

UDF kills mysqld with longer strings

2001-04-06 Thread adelton
ry allocated. >Submitter-Id: >Originator:Jan Pazdziora >Organization: Masaryk University, Brno, Czech Republic >MySQL support: none >Synopsis: UDF kills mysqld with longer strings >Severity: serious >Priority: medium >Category: mysql >Cla