mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
86082dfcef
Previously, UDF *_init functions were passed constant strings with erroneous lengths. The length came from the containing variable's size, not the length of the value itself. Now the *_init functions get the constant as a null terminated string with the correct length supplied too.
27 lines
418 B
Modula-2
27 lines
418 B
Modula-2
LIBRARY udf_example
|
|
VERSION 1.0
|
|
EXPORTS
|
|
lookup
|
|
lookup_init
|
|
reverse_lookup
|
|
reverse_lookup_init
|
|
metaphon_init
|
|
metaphon_deinit
|
|
metaphon
|
|
myfunc_double_init
|
|
myfunc_double
|
|
myfunc_int_init
|
|
myfunc_int
|
|
sequence_init
|
|
sequence_deinit
|
|
sequence
|
|
avgcost_init
|
|
avgcost_deinit
|
|
avgcost_reset
|
|
avgcost_add
|
|
avgcost_clear
|
|
avgcost
|
|
is_const
|
|
is_const_init
|
|
check_const_len
|
|
check_const_len_init
|