First of all, I'm sorry by my bad english...
I have patched all aggregate funcions in
mysql-udf-0.3.tar.gz to work
with both versions of mysql <=4.0.x and >=4.1.x. It
work for me,
(tested on mysql-4.1.11 and mysql 3.23.43).
I send you the patch, apply it as usual:
cd mysql-udf
patch -p1 </path/to/file/udf_mysql_4.1.patch
Also I have added a '#include <math.h>' in some
functions to avoid problems.
Patch to use mysql-udf-0.3 aggregate functions in mysql >=4.
Logged In: YES
user_id=1014236
The patch command on a Redhat EL4 systems should be
patch -p1 -i /path/to/file/udf_mysql_4.1.patch