olli hauer: > > While we're improving the code, do you think that this would work: > > > > #if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 50023 > > #define DICT_MYSQL_SSL_VERIFY_SERVER_CERT MYSQL_OPT_SSL_VERIFY_SERVER_CERT > > #elif MYSQL_VERSION_ID >= 80000 > > #define DICT_MYSQL_SSL_VERIFY_SERVER_CERT MYSQL_OPT_SSL_MODE > > #endif > > > > That is, have all the Mariadb-related conditions together on the > > same line, instead of distributing those conditions over two different > > lines. > > > > Hello Wietse, > > Yes, this will also work. > > I've build with both patches (v2 and v3) against all databases > listed in the first mail. > > All build logs and the patch v2 / v3 are packed in the following > archive for review. > https://people.freebsd.org/~ohauer/postfix.dict__mysql/postfix-sql_build_logs.tar.gz > > Attached is the new patch (version 3) with your latest suggestions.
I have updated the source with the 'latest' patch. Wietse