From: Eric Bollengier Date: Wed, 21 Mar 2007 19:46:44 +0000 (+0000) Subject: ebl make bscan works with batch mode X-Git-Tag: Release-7.0.0~6745 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bbb48a0fbe2c155faad9fe1565f39a6a0924efda;p=bacula%2Fbacula ebl make bscan works with batch mode git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4378 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/bscan.c b/bacula/src/stored/bscan.c index 8c0444a62a..69482f198e 100644 --- a/bacula/src/stored/bscan.c +++ b/bacula/src/stored/bscan.c @@ -366,6 +366,9 @@ static void do_scan() read_records(bjcr->read_dcr, record_cb, bscan_mount_next_read_volume); + if (update_db) { + db_write_batch_file_records(bjcr); /* used by bulk batch file insert */ + } free_attr(attr); }