From 6da9e9e20c4de478bcca2aa867c3e76c4bae92c6 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Wed, 21 Apr 2010 20:39:38 +0200 Subject: [PATCH] For Ingres always enable batch mode inserts. --- bacula/autoconf/configure.in | 5 +++++ bacula/configure | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 6a0494752d..26df950b85 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1804,6 +1804,11 @@ fi AC_SUBST(uncomment_dbi) +dnl For Ingres always enable batch inserts. +if test x$DB_TYPE = xingres; then + support_batch_insert=yes +fi + if test $support_batch_insert = yes ; then AC_DEFINE(HAVE_BATCH_FILE_INSERT, 1, [Set if DB batch insert code enabled]) fi diff --git a/bacula/configure b/bacula/configure index d3ad801816..f0094fd29e 100755 --- a/bacula/configure +++ b/bacula/configure @@ -29430,6 +29430,10 @@ else fi +if test x$DB_TYPE = xingres; then + support_batch_insert=yes +fi + if test $support_batch_insert = yes ; then -- 2.39.5