Thomas Kaester writes:
> Hello Sinisa and everybody who can help me!
>
> I try to develop a UDF which returns a string! But I get only 256 characters of the
>string! I tried to change my alloc function, so that I only use my_malloc and
>my_free! But the result is the same! The necessary memory is allocated in xxx_init()
>and deallocated in xxx_deinit(). So what can I do? Could there be any client problems
>concerning UDFs? Why I only get 256 characters? Does anybody have the same problems?
>
> Greetings Tom
>
> P.S.: Sinisa is there a mysql developer who is specialized in UDF programming?
>
>
Have you set a new value for maxlength in _init function , like this :
initid->max_length=....;
Regards,
Sinisa
____ __ _____ _____ ___ == MySQL AB
/*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic
/*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED]
/*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus
/*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____
^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
/*/ \*\ Developers Team
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php