From: Eric Bollengier Date: Tue, 23 Dec 2008 16:28:24 +0000 (+0000) Subject: ebl Fix pooluncopiedjob option with new copy type X-Git-Tag: Release-7.0.0~3558 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b017829dd10313904830d921d7a1c8430fc5e0a0;p=bacula%2Fbacula ebl Fix pooluncopiedjob option with new copy type git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8243 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/migrate.c b/bacula/src/dird/migrate.c index 8ffeb08b8d..9bdfab58f9 100644 --- a/bacula/src/dird/migrate.c +++ b/bacula/src/dird/migrate.c @@ -590,7 +590,7 @@ const char *sql_jobids_of_pool_uncopied_jobs = " AND Job.Type = 'B' AND Job.JobStatus = 'T'" " AND Job.JobId NOT IN" " (SELECT PriorJobId FROM Job WHERE" - " Type = 'B' AND Job.JobStatus = 'T'" + " Type IN ('B','C') AND Job.JobStatus = 'T'" " AND PriorJobId != 0)" " ORDER by Job.StartTime";