maintainer-feedback requested: [Bug 274134] devel/apr1: Broken with MySQL > 8.0.2 < 10.0.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 27 Sep 2023 20:15:17 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-apache (Nobody)
<apache@FreeBSD.org> for maintainer-feedback:
Bug 274134: devel/apr1: Broken with MySQL > 8.0.2 < 10.0.0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274134



--- Description ---
my_init() was removed from mysql 8.0.2, but dbd/apr_dbd_mysql.c calls my_init()
if MYSQL_VERSION_ID < 100000. This patch fixes this problem, allowing Apache
mod_authn_dbd.so to work properly on mysql >= 8.0.2.

There is an open bug upstream, but it has not been patched yet.

Reference: https://bz.apache.org/bugzilla/show_bug.cgi?id=62631