ignore udf_example.so in badfuncs check

Resolves: #2047868

udf_example.so contains following deprecated functions:
gethostbyaddr
gethostbyname
inet_addr
inet_ntoa

The udf_example.so can be ignored from badfuncs check, because it is an
exemplary file, showing users how to write own loadable functions. Even
though code from this .so can be used in mysql server, it needs to be
manually loaded by the user.

Deprecated functions have been reported upstream [1].

[1] https://bugs.mysql.com/bug.php?id=106797
This commit is contained in:
Zuzana Miklankova 2022-03-22 13:26:25 +01:00
parent 6051e9c376
commit 6ec4c43428
No known key found for this signature in database
GPG Key ID: 46A18EF4D17103A0

View File

@ -2,3 +2,8 @@
xml:
ignore:
- /usr/share/mysql-test/std_data/loadxml.dat
badfuncs:
ignore:
# udf_example.so can be ignored, as it is an example of how to write loadable functions
# Loadable functions were formerly known as UDF (User Defined Functions).
- /usr/lib64/mysql/plugin/udf_example.so