[MDEV-23987] update of udf_example.c Created: 2020-10-19 Updated: 2023-10-12 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Server |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Anel Husakovic | Assignee: | Anel Husakovic |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Make portable usage of functions,
only mysql.h needed get rid of other includes,
update examples and example documentation in the code. |
| Comments |
| Comment by Vladislav Vaintroub [ 2020-10-19 ] |
|
perhaps there are more of functions to cleanup. unportable/obsolete gethostbyname_r and friends, instead there are portable reentrant getaddrinfo/getnameinfo. |