From: Kern Sibbald Date: Fri, 1 Jan 2016 10:52:08 +0000 (+0100) Subject: Add HasBase+Comment to llist Jobs X-Git-Tag: Release-7.4.0~55 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1b5a33e45d3a805a9d5b6df4ed478037d4139f4a;p=bacula%2Fbacula Add HasBase+Comment to llist Jobs --- diff --git a/bacula/src/cats/sql_list.c b/bacula/src/cats/sql_list.c index 3e89c41a5b..be5bf8c9ca 100644 --- a/bacula/src/cats/sql_list.c +++ b/bacula/src/cats/sql_list.c @@ -386,7 +386,7 @@ alist *BDB::bdb_list_job_records(JCR *jcr, JOB_DBR *jr, DB_LIST_HANDLER *sendit, "StartTime,EndTime,RealEndTime,JobTDate," "VolSessionId,VolSessionTime,JobFiles,JobBytes,ReadBytes,JobErrors," "JobMissingFiles,Job.PoolId,Pool.Name as PooLname,PriorJobId," - "Job.FileSetId,FileSet.FileSet,Job.HasCache " + "Job.FileSetId,FileSet.FileSet,Job.HasBase,Job.HasCache,Job.Comment " "FROM Job JOIN Client USING (ClientId) LEFT JOIN Pool USING (PoolId) " "LEFT JOIN FileSet USING (FileSetId) ", "ORDER BY StartTime%s", limit); @@ -397,7 +397,7 @@ alist *BDB::bdb_list_job_records(JCR *jcr, JOB_DBR *jr, DB_LIST_HANDLER *sendit, "StartTime,EndTime,RealEndTime,JobTDate," "VolSessionId,VolSessionTime,JobFiles,JobBytes,ReadBytes,JobErrors," "JobMissingFiles,Job.PoolId,Pool.Name as PooLname,PriorJobId," - "Job.FileSetId,FileSet.FileSet,Job.HasCache " + "Job.FileSetId,FileSet.FileSet,Job.HasBase,Job.HasCache,Job.Comment " "FROM Job JOIN Client USING (ClientId) LEFT JOIN Pool USING (PoolId) " "LEFT JOIN FileSet USING (FileSetId) WHERE Job.JobId=%s ", edit_int64(jr->JobId, ed1));