On 20/07/24 00:30, Wietse Venema via Postfix-users wrote:
Just to throw another wrench in the works, MariaDB lists mysql_options()
as deprecated in MariaDB Connector/C 3.0 and recommends mysql_optionsv()
instead:

https://mariadb.com/kb/en/mysql_options/

For now it should work, but we may end up needing to patch postfix once
again in the near future for this.

Do you happen to know a combination of MYSQL_VERSION_ID, MARIADB_VERSION_ID,
and/or MARIADB_BASE_VERSION that matches "MariaDB Connector/C 3.0" and later?

MARIADB_PACKAGE_VERSION_ID stores the MariaDB Connector/C version number. I don't know what version mysql_optionsv first appears in but we do know it's in 3.0.0 at the very least which is where mysql_options is deprecated so I would say MARIADB_PACKAGE_VERSION_ID is defined and >= 30000 should be sufficient to allow this to keep working with mariadb into the foreseeable future. From what I can tell mysql_optionsv can be called exactly the same as mysql_options and it should work fine.


Peter
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to