From 8804de1c1ad61cff1bbcf18edadaddc430595c89 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 22 Dec 2008 13:17:04 +0000 Subject: [PATCH] ebl tweak debug git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8225 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/ua_purge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/dird/ua_purge.c b/bacula/src/dird/ua_purge.c index 2edf8866fd..e42e2c38a3 100644 --- a/bacula/src/dird/ua_purge.c +++ b/bacula/src/dird/ua_purge.c @@ -396,6 +396,7 @@ void upgrade_copies(UAContext *ua, char *jobs) "GROUP BY PriorJobId ", /* one result per copy */ JT_JOB_COPY, jobs, jobs); db_sql_query(ua->db, query.c_str(), NULL, (void *)NULL); + Dmsg1(050, "Upgrade copies Log sql=%s\n", query.c_str()); /* Now upgrade first copy to Backup */ Mmsg(query, "UPDATE Job SET Type='B' " /* JT_JOB_COPY => JT_BACKUP */ @@ -407,7 +408,6 @@ void upgrade_copies(UAContext *ua, char *jobs) db_sql_query(ua->db, query.c_str(), NULL, (void *)NULL); db_unlock(ua->db); - Dmsg1(050, "Upgrade copies Log sql=%s\n", query.c_str()); } /* -- 2.39.5