forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-libs/apr-util: improve mysql-8 compatibility
Don't call my_init() which was removed in mysql-8.0.2+. Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Thomas Deutschmann <[email protected]>
- Loading branch information
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Was finally removed in >=mysql-8.0.2 | ||
|
||
--- a/dbd/apr_dbd_mysql.c | ||
+++ b/dbd/apr_dbd_mysql.c | ||
@@ -1262,9 +1262,6 @@ static apr_status_t thread_end(void *data) | ||
|
||
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 */ | ||
|
File renamed without changes.