From: Eric Bollengier Date: Thu, 6 May 2021 13:15:29 +0000 (+0200) Subject: Disable fix on bvfs_get_jobids() temporarily X-Git-Tag: Release-11.0.4~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff91cf7521b2b2eac5e80806b4353fe7b652b8ff;p=thirdparty%2Fbacula.git Disable fix on bvfs_get_jobids() temporarily --- diff --git a/bacula/src/cats/sql_get.c b/bacula/src/cats/sql_get.c index e64fc36ff..863a45229 100644 --- a/bacula/src/cats/sql_get.c +++ b/bacula/src/cats/sql_get.c @@ -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) {