Comment 25 for bug 1570923

Revision history for this message
Kern Sibbald (kern) wrote :

Robie,

Thank you for your quick response. It makes sense that the default MySQL is thread-safe and there is no _r variant. Your patch looks fine, but please be aware that I suspect that it may link Bacula with the static version of MySQL rather than the shared object (.so), and your patch is good for MySQL 5.7 on Ubuntu 16.04. Unfortunately the patch needed to get Bacula to link properly with MySQL 5.7 and much older MySQL's is considerable more complex with this latest change to how the MySQL client libraries are linked.

I have pushed what I hope is a "generic" fix to Bacula 7.4 to the public git repository. It has commit SHA 50327c9d4. The equivalent "generic" fix for Bacula 7.0 has commit SHA d6de542 and is also in the Bacula public repo.

I imagine you will want to stay with your patch, but my version is also now available.

Feedback from anyone would be appreciated.