MySQLUDF development application on Windows _ MySQL
Source: Internet
Author: User
I once thought that MySQL of Windows has a BUG report that UDF cannot be used. However, it seems that I was wrong. the MySQL technical support staff gave me a perfect answer and shared it with everyone. Below is the original reply. Hello, User. Sorry, this is not a bug. Next I will paste a simple example previously made for a customer. Suppose you have VC ++, the source once thought that the Windows version of MySQL had a BUG where UDF could not be used and submitted a bug report. However, it seems that I was wrong. the MySQL technical support staff gave me a perfect answer and shared it with everyone. Below is the original reply.
Hello, User. Sorry, this is not a bug. Next I will paste a simple example previously made for a customer. assume that you have VC ++, source code distribution, and a running MySQL server.
I will create a UDF with a name:
Note: The example is very simple, so that you can understand how to handle the UDF at hand.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.