From e0b430ca694f47c5088edda9fd6c9015a1815bc6 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 3 Jul 2016 12:19:36 +0200 Subject: [PATCH] Fix batch insert for MySQL 5.7 --- bacula/autoconf/bacula-macros/db.m4 | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5