Bug #3219 UDF`s on Windows platform
Submitted: 18 Mar 2004 5:10 Modified: 25 Aug 2004 18:53
Reporter: Miguel Solorzano Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: User-defined functions ( UDF ) Severity:S2 (Serious)
Version:4.0.XX OS:all Windows
Assigned to: Paul Dubois CPU Architecture:Any

[18 Mar 2004 5:10] Miguel Solorzano
The manual is definitely
catering more to LINUX users. If the windows release had come with a
make file I could have used that to work it out as the manual says but
it doesn't. 4.0.18 also still has the file include/dbug.h and not
include/my_dbug.h which stops compilation. The manual also says
udf_example.cc when the file in windows is udf_example.cpp . Just a
little more explanation in the manual would really make a big difference
to Windows/VC++ users frustration levels.

How to repeat:
see above

Suggested fix:
Build a VC++ project for to compile the sample mentioned in the
Manual. Add comments in the Manual about this project for the
Windows user.
[9 May 2004 23:39] Miguel Solorzano
For to build the VC++ UDF sample and when it is ready Paul will
write Manual's part.
[26 May 2004 11:41] Michael Widenius
The inclusion of my_dbug.h is not in the 4.0.20 source, so this problem should be fixed.

The documentation team will add some description in the manual of how to compile an udf on windows.
[1 Jun 2004 21:13] Paul Dubois
Re-assigning to Miguel. Miguel, please assign back to me
when you've taken care of the coding and then I'll update
the docs. Thanks.
[1 Jun 2004 22:21] Miguel Solorzano
Paul I already pushed to 4.0 tree VC++Files/examples/udf_example
the project files for to be added in next Windows release, however
I got a server crash with 2 functions and reported them on bug
#3934 [Opn->Ver]: UDF on Windows crash the server.
[2 Aug 2004 19:39] Miguel Solorzano
Paul the VC++ projects files were already added to the BK 4.0 source tree
in the directory VC++Files/examples/udf_example:


Any further clarification please let me know.
[25 Aug 2004 18:53] Paul Dubois
Thank you for your bug report. This issue has been addressed in the
documentation. The updated documentation will appear on our website
shortly, and will be included in the next release of the relevant

Additional info:

Miguel provided info on compiling UDFs on Windows.
I added it to the manual following the instructions
for Unix.