]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Disable fix on bvfs_get_jobids() temporarily
authorEric Bollengier <eric@baculasystems.com>
Thu, 6 May 2021 13:15:29 +0000 (15:15 +0200)
committerEric Bollengier <eric@baculasystems.com>
Wed, 26 May 2021 07:58:23 +0000 (09:58 +0200)
bacula/src/cats/sql_get.c

index e64fc36ff74f50401cd15eab45b9577572f90a1b..863a45229f13642d387ce571dc56778c126de6ae 100644 (file)
@@ -1477,8 +1477,11 @@ bool BDB::bdb_get_accurate_jobids(JCR *jcr,
       bsnprintf(jobid, sizeof(jobid), "0%u", btemp_cur++);
       V(btemp_mutex);
    } else {
-      edit_uint64(jcr->JobId, jobid);
-      Mmsg(aux, " AND JobId = %s ", jobid);
+      /* TODO: Here we have a hint on the JobId to return
+       * depdending on the Job level of the hint, we must
+       * adapt one of the queries (F, D, I) and add a JobId=x
+       */
+      edit_uint64(from_jobid, jobid);
    }
 
    if (jr->Name[0] != 0) {