From 1b5a33e45d3a805a9d5b6df4ed478037d4139f4a Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 1 Jan 2016 11:52:08 +0100 Subject: [PATCH] Add HasBase+Comment to llist Jobs --- bacula/src/cats/sql_list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); -- 2.39.5