From: Eric Bollengier Date: Mon, 22 Dec 2008 13:17:04 +0000 (+0000) Subject: ebl tweak debug X-Git-Tag: Release-7.0.0~3571 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8804de1c1ad61cff1bbcf18edadaddc430595c89;p=bacula%2Fbacula ebl tweak debug git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8225 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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()); } /*