From: Eric Bollengier Date: Sun, 21 Nov 2010 12:39:13 +0000 (+0100) Subject: Yet an other tweak of MySQL accurate query with Delta X-Git-Tag: Release-7.0.0~1362 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=418f9c8be21a78e9a6446dd90fa16cfcc197cc8c;p=bacula%2Fbacula Yet an other tweak of MySQL accurate query with Delta --- diff --git a/bacula/src/cats/sql_cmds.c b/bacula/src/cats/sql_cmds.c index 7549452d3b..8ba88be632 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -362,7 +362,7 @@ const char *select_recent_version_with_basejob[5] = { */ const char *select_recent_version_with_basejob_and_delta_default = "SELECT FileId, Job.JobId AS JobId, FileIndex, File.PathId AS PathId, " - "File.FilenameId AS FilenameId, LStat, MD5, MarkId, " + "File.FilenameId AS FilenameId, LStat, MD5, T1.MarkId AS MarkId, " "Job.JobTDate AS JobTDate " "FROM Job, File, ( " "SELECT MAX(JobTDate) AS JobTDate, PathId, FilenameId, MarkId "