]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix batch insert for MySQL 5.7
authorKern Sibbald <kern@sibbald.com>
Sun, 3 Jul 2016 10:19:36 +0000 (12:19 +0200)
committerKern Sibbald <kern@sibbald.com>
Sun, 3 Jul 2016 10:19:36 +0000 (12:19 +0200)
bacula/autoconf/bacula-macros/db.m4

index 6ca82a0c4a1348dc55cd7c45f9f68ca4b4cafad4..4e9007de6275e4f1a67fb14b86ca61ad68ad1c88 100644 (file)
@@ -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