]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/verify.c
Turn off debug
[bacula/bacula] / bacula / src / dird / verify.c
index ddce0354ca9a5818f37fa9fde4636c7fe4ee2630..192cbbc2c1fc607c4cfff2c5707fbe0e98cf4db4 100644 (file)
@@ -322,6 +322,8 @@ bool do_verify(JCR *jcr)
       jcr->sd_msg_thread_done = true;   /* no SD msg thread, so it is done */
       jcr->SDJobStatus = JS_Terminated;
       get_attributes_and_put_in_catalog(jcr);
+      db_end_transaction(jcr, jcr->db);   /* terminate any open transaction */
+      db_write_batch_file_records(jcr);
       break;
 
    default: