From: Eric Bollengier Date: Mon, 14 Jun 2010 11:36:53 +0000 (+0200) Subject: Fix #1594 about prune copy jobs X-Git-Tag: Release-5.2.1~1298 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0d30bd6343525eef8191a802ac20db326b7cbe23;p=bacula%2Fbacula Fix #1594 about prune copy jobs --- diff --git a/bacula/src/cats/sql_cmds.c b/bacula/src/cats/sql_cmds.c index d48d926d70..cb8a9d4149 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -205,7 +205,7 @@ const char *select_copy_del = "WHERE (Job.JobTdate<%s AND DelCandidates.JobStatus NOT IN ('T','W')) OR " "(Job.JobTDate>%s " "AND Job.ClientId=%s " - "AND Job.Type='C')"; + "AND Job.Type='c')"; #else @@ -274,7 +274,7 @@ const char *select_copy_del = "WHERE (Job.JobId=DelCandidates.JobId AND DelCandidates.JobStatus NOT IN ('T','W')) OR " "(Job.JobTDate>%s " "AND Job.ClientId=%s " - "AND Job.Type='C')"; + "AND Job.Type='c')"; #endif