From b209eefc011ff1bf720bf62cc2267b98de3f5397 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