]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl make bscan works with batch mode
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 21 Mar 2007 19:46:44 +0000 (19:46 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 21 Mar 2007 19:46:44 +0000 (19:46 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4378 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/bscan.c

index 8c0444a62ab76fb0e771835830490971a85b6d2b..69482f198eaaa2a088d51108ab8569c72614d7a6 100644 (file)
@@ -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);
 }