Yes, your solution will work quite fine. However, it has the downside of only working with MySQL 5.7 and later, so it not appropriate for the project where people link against lots of older versions of MySQL.
I think the original Ubuntu bug report (https://bugs.launchpad.net/bugs/1570923) on the linking problems with MySQL has a patch that uses my patch (and now hopefully my second patch). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592749 Title: MySQL 5.7 slow with Bacula 7.4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1592749/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs