]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Fix pooluncopiedjob option with new copy type
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 23 Dec 2008 16:28:24 +0000 (16:28 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 23 Dec 2008 16:28:24 +0000 (16:28 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8243 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/migrate.c

index 8ffeb08b8da722ec75580ce3e903fb9ec9316070..9bdfab58f96e46f47186643d1581db80d4ce898d 100644 (file)
@@ -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";