From: Kern Sibbald Date: Sun, 3 Jul 2016 10:19:36 +0000 (+0200) Subject: Fix batch insert for MySQL 5.7 X-Git-Tag: Release-7.4.2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e0b430ca694f47c5088edda9fd6c9015a1815bc6;p=bacula%2Fbacula Fix batch insert for MySQL 5.7 --- diff --git a/bacula/autoconf/bacula-macros/db.m4 b/bacula/autoconf/bacula-macros/db.m4 index 6ca82a0c4a..4e9007de62 100644 --- a/bacula/autoconf/bacula-macros/db.m4 +++ b/bacula/autoconf/bacula-macros/db.m4 @@ -485,6 +485,7 @@ AC_HELP_STRING([--with-mysql@<:@=DIR@:>@], [Include MySQL support. DIR is the My DB_LIBS="${DB_LIBS} ${MYSQL_LIBS}" MYSQL_LIBS="$MYSQL_LIBDIR" MYSQL_INCLUDE="$MYSQL_INCDIR" + AC_DEFINE(HAVE_MYSQL_THREAD_SAFE, 1, [Set if have mysql_thread_safe]) if test -z "${batch_insert_db_backends}"; then batch_insert_db_backends="MySQL" else