From: Marcin Haba Date: Tue, 12 Apr 2022 10:52:23 +0000 (+0200) Subject: Fix #9035 update job statistics X-Git-Tag: Beta-15.0.0~598 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bc6ecce79e0be30df6a2faaf14a39d7fe19d922;p=thirdparty%2Fbacula.git Fix #9035 update job statistics --- diff --git a/bacula/src/cats/sql_cmds.c b/bacula/src/cats/sql_cmds.c index db8734afa..756dc6a2c 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -54,12 +54,12 @@ const char *fill_jobhisto = "SchedTime, StartTime, EndTime, RealEndTime, JobTDate," "VolSessionId, VolSessionTime, JobFiles, JobBytes, ReadBytes," "JobErrors, JobMissingFiles, PoolId, FileSetId, PriorJobId, PriorJob, " - "PurgedFiles, HasBase, Reviewed, Comment)" + "PurgedFiles, HasBase, HasCache, Reviewed, Comment, FileTable)" "SELECT JobId, Job, Name, Type, Level, ClientId, JobStatus," "SchedTime, StartTime, EndTime, RealEndTime, JobTDate," "VolSessionId, VolSessionTime, JobFiles, JobBytes, ReadBytes," "JobErrors, JobMissingFiles, PoolId, FileSetId, PriorJobId, PriorJob, " - "PurgedFiles, HasBase, Reviewed, Comment " + "PurgedFiles, HasBase, HasCache, Reviewed, Comment, FileTable " "FROM Job " "WHERE JobStatus IN ('T','W','f','A','E')" "AND NOT EXISTS "