16 lines
458 B
Diff
16 lines
458 B
Diff
fixes: https://github.com/void-linux/void-packages/issues/39510
|
|
taken from upstream: https://svn.apache.org/viewvc/apr/apr/trunk/dbd/apr_dbd_mysql.c?r1=1872059&r2=1872060&diff_format=h
|
|
|
|
--- a/dbd/apr_dbd_mysql.c
|
|
+++ b/dbd/apr_dbd_mysql.c
|
|
@@ -1262,7 +1262,9 @@
|
|
|
|
static void dbd_mysql_init(apr_pool_t *pool)
|
|
{
|
|
+#if MYSQL_VERSION_ID < 100000
|
|
my_init();
|
|
+#endif
|
|
mysql_thread_init();
|
|
|
|
/* FIXME: this is a guess; find out what it really does */
|