X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fbscan.c;h=69482f198eaaa2a088d51108ab8569c72614d7a6;hb=5acaefa52eef9207ee62d4fe9d231701c0dc4529;hp=8c0444a62ab76fb0e771835830490971a85b6d2b;hpb=be05050a55fcc7b6fd6203b6e3cfe9912f77423f;p=bacula%2Fbacula 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); }