From 908125f638a5aba8cc443b41df25f3d66d418230 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 23 Dec 2008 16:28:24 +0000 Subject: [PATCH] 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 --- bacula/src/dird/migrate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.39.5