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.0.3~161 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df5f0dcffe780d8ca6d18a7b229dfe3c13910549;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 c930e6369d..c8261dff8e 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -208,7 +208,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 @@ -277,7 +277,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