  
     sd = jcr->store_bsock;
  
-@@ -134,6 +229,20 @@
+@@ -134,6 +240,20 @@
        ok = false;                     /* error */
        set_jcr_job_status(jcr, JS_ErrorTerminated);
     }

 /*
  * Find JobId of last job that ran.  E.g. for
  *   VERIFY_CATALOG we want the JobId of the last INIT.
Index: src/cats/sql_create.c
===================================================================
--- src/cats/sql_create.c	(rvision 6374)

+ * If file have file_index=0, they are discarded by FD
+ *
+ * TODO: send deleted list and new list to client
+ *       tweak SD with file_index=-1
+ */
+bool accurate_compute_files(JCR *jcr)
+{
+   BSOCK   *fd;
+   char buf[MAXSTRING];
+   int n, len;
+   FILE_DBR fdbr;
+   POOLMEM *fname = get_pool_memory(PM_MESSAGE);
+   int do_Digest = CRYPTO_DIGEST_NONE;
+   int32_t file_index = 0;
