From: Marco van Wieringen Date: Wed, 21 Apr 2010 18:39:38 +0000 (+0200) Subject: For Ingres always enable batch mode inserts. X-Git-Tag: Release-5.2.1~1427 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6da9e9e20c4de478bcca2aa867c3e76c4bae92c6;p=bacula%2Fbacula For Ingres always enable batch mode inserts. --- 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