]> git.sur5r.net Git - bacula/bacula/commitdiff
Yet an other tweak of MySQL accurate query with Delta
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 21 Nov 2010 12:39:13 +0000 (13:39 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 25 Nov 2010 13:59:32 +0000 (14:59 +0100)
bacula/src/cats/sql_cmds.c

index 7549452d3b23f61ab7bc5bf7fa969ab43c542e73..8ba88be632d75019fdadaf30962b0f3e3a956a7d 100644 (file)
@@ -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 "