From bbb48a0fbe2c155faad9fe1565f39a6a0924efda Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 21 Mar 2007 19:46:44 +0000 Subject: [PATCH] ebl make bscan works with batch mode git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4378 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/stored/bscan.c | 3 +++ 1 file changed, 3 insertions(+) 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); } -- 2.39.5