From: Kern Sibbald Date: Mon, 2 Apr 2007 11:01:23 +0000 (+0000) Subject: Correct migration prune SQL typo X-Git-Tag: Release-7.0.0~6635 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97d9f7539650b533f89360f70bb6cbe747e652a0;p=bacula%2Fbacula Correct migration prune SQL typo git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4491 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/cats/sql_cmds.c b/bacula/src/cats/sql_cmds.c index 442221748e..d45a500ee5 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -1,15 +1,7 @@ -/* - * - * This file contains all the SQL commands issued by the Director - * - * Kern Sibbald, July MMII - * - * Version $Id$ - */ /* Bacula® - The Network Backup Solution - Copyright (C) 2002-2006 Free Software Foundation Europe e.V. + Copyright (C) 2002-2007 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -33,6 +25,14 @@ (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich, Switzerland, email:ftf@fsfeurope.org. */ +/* + * + * This file contains all the SQL commands issued by the Director + * + * Kern Sibbald, July MMII + * + * Version $Id$ + */ #include "bacula.h" #include "cats.h" @@ -246,7 +246,7 @@ const char *select_admin_del = const char *select_migrate_del = "SELECT DISTINCT DelCandidates.JobId,DelCandidates.PurgedFiles " "FROM Job,DelCandidates " - "WHERE (Job.JobId=DelCanditates.JobId AND DelCandidates.JobStatus!='T') OR " + "WHERE (Job.JobId=DelCandidates.JobId AND DelCandidates.JobStatus!='T') OR " "(Job.JobTDate>%s " "AND Job.ClientId=%s " "AND Job.Type='g')";