From 97d9f7539650b533f89360f70bb6cbe747e652a0 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 2 Apr 2007 11:01:23 +0000 Subject: [PATCH] Correct migration prune SQL typo git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4491 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/sql_cmds.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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')"; -- 2.39.5