February 2018
Intermediate to advanced
510 pages
16h 10m
English
The UDF functions must be written in C or C++ and the underlying operating system must support dynamic loading behavior. There is a file, sql/udf_example.cc, that defines five UDF functions and it's included in the MySQL source distributions. Analyzing the file will let you know how calling conventions work for UDFs. User-defined function related symbols and data structures are defined in the include/mysql_com.h file and the file is included in the mysql.h header file.
Typical code contained in the UDFs gets executed in the running server, so all constraints are applicable when writing UDF code—server code. Currently applicable constraints may get revised when a server is upgraded, and this can possibly ...
Read now
Unlock full access