]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
fix JobHisto field typo from ReadDevice to LastReadDevice and a missing space
authorAlain Spineux <alain@baculasystems.com>
Fri, 7 Oct 2022 12:23:34 +0000 (14:23 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:59 +0000 (13:56 +0200)
- tests/stats-test was failing

bacula/src/cats/sql_cmds.c

index 7967615914647df45659a3bd588acb6d0638a74e..f45744e4914ec102ccb7f8feb01afe227e9ff1e3 100644 (file)
@@ -77,13 +77,13 @@ const char *fill_jobhisto =
            "VolSessionId, VolSessionTime, JobFiles, JobBytes, ReadBytes,"
            "JobErrors, JobMissingFiles, PoolId, FileSetId, PriorJobId, PriorJob, "
            "PurgedFiles, HasBase, HasCache, Reviewed, Comment, FileTable, "
-           "isVirtualFull,CompressRatio,Rate,LastReadStorageId,WriteStorageId,ReadDevice,WriteDevice,StatusInfo,Encrypted)"
+           "isVirtualFull,CompressRatio,Rate,LastReadStorageId,WriteStorageId,LastReadDevice,WriteDevice,StatusInfo,Encrypted)"
         "SELECT JobId, Job, Name, Type, Level, ClientId, JobStatus,"
            "SchedTime, StartTime, EndTime, RealEndTime, RealStartTime, JobTDate,"
            "VolSessionId, VolSessionTime, JobFiles, JobBytes, ReadBytes,"
            "JobErrors, JobMissingFiles, PoolId, FileSetId, PriorJobId, PriorJob, "
            "PurgedFiles, HasBase, HasCache, Reviewed, Comment, FileTable, "
-           "isVirtualFull,CompressRatio,Rate,LastReadStorageId,WriteStorageId,ReadDevice,WriteDevice,StatusInfo,Encrypted"
+           "isVirtualFull,CompressRatio,Rate,LastReadStorageId,WriteStorageId,LastReadDevice,WriteDevice,StatusInfo,Encrypted "
           "FROM Job "
          "WHERE JobStatus IN ('T','W','f','A','E')"
            "AND NOT EXISTS "