Hi, Jaco, On Jun 25, Jaco Kroon wrote:
OK. https://github.com/MariaDB/server/blob/10.6/plugin/func_test/plugin.cc as well, so available for me.
This means I can write a "function" that takes an *INET6* type (and a long long), and returns an *INET6* type, which would solve a LOT of the inefficiency in my current solution too (pointless conversions between text and binary).
Since we only use MariaDB on the server at this point in time that's acceptable.
Other than the func_test example code (and inspecting the base class declarations), is there some documentation I'm missing?
Unfortunately, no, I've created MDEV-34451 to get them documented.
Might be worthwhile to at least mention plugins on https://mariadb.com/kb/en/user-defined-functions/ as an alternative to UDFs, possibly have similar reference documentation available for plugins in the KB. Rooted at https://mariadb.com/kb/en/programming-customizing-mariadb/ perhaps?
Yes, good point. I've mentioned them, thanks. Regards, Sergei Chief Architect, MariaDB Server and security@mariadb.org