]> git.sur5r.net Git - bacula/bacula/commitdiff
Add HasBase+Comment to llist Jobs
authorKern Sibbald <kern@sibbald.com>
Fri, 1 Jan 2016 10:52:08 +0000 (11:52 +0100)
committerKern Sibbald <kern@sibbald.com>
Fri, 1 Jan 2016 10:52:08 +0000 (11:52 +0100)
bacula/src/cats/sql_list.c

index 3e89c41a5b797b0a8200e87c080fc53057dd137d..be5bf8c9ca075a37f3fd5e1315054792cf12d9f7 100644 (file)
@@ -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));