From ff91cf7521b2b2eac5e80806b4353fe7b652b8ff Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 6 May 2021 15:15:29 +0200 Subject: [PATCH] Disable fix on bvfs_get_jobids() temporarily --- bacula/src/cats/sql_get.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) { -- 2.47.3