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-3.0.0~406 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=908125f638a5aba8cc443b41df25f3d66d418230;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";