                    Pmsg1(0, _("Could not update job record. ERR=%s\n"), db_strerror(db));
                 }
                 mjcr->read_dcr = NULL;
-@@ -1112,7 +1112,7 @@
+@@ -1122,7 +1122,7 @@
        return 1;
     }
  

    LocationId INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
Index: src/stored/bscan.c
===================================================================
--- src/stored/bscan.c	(rvision 6151)
+++ src/stored/bscan.c	(copie de travail)
@@ -622,7 +622,7 @@
                jr.VolSessionTime = mjcr->VolSessionTime;
                jr.JobTDate = (utime_t)mjcr->start_time;
                jr.ClientId = mjcr->ClientId;

 bool db_update_storage_record(JCR *jcr, B_DB *mdb, STORAGE_DBR *sr);
Index: src/cats/make_sqlite_tables.in
===================================================================
--- src/cats/make_sqlite_tables.in	(revision 6595)
+++ src/cats/make_sqlite_tables.in	(working copy)
@@ -75,6 +75,9 @@
    );
 CREATE INDEX inx6 ON Job (Name);
