From 448088f31e914d286bab311344968a0c44111116 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 17 Dec 2008 15:48:05 +0000 Subject: [PATCH] ebl cleanup git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8179 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/migrate.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bacula/src/dird/migrate.c b/bacula/src/dird/migrate.c index b2d3fb4256..5e361c6205 100644 --- a/bacula/src/dird/migrate.c +++ b/bacula/src/dird/migrate.c @@ -1160,13 +1160,11 @@ void migration_cleanup(JCR *jcr, int TermCode) * - copy any Log records to the new JobId */ if (jcr->get_JobType() == JT_COPY && jcr->JobStatus == JS_Terminated) { - UAContext *ua = new_ua_context(jcr); /* Copy JobLog to new JobId */ Mmsg(query, "INSERT INTO Log (JobId, Time, LogText ) " "SELECT %s, Time, LogText FROM Log WHERE JobId=%s", new_jobid, old_jobid); db_sql_query(mig_jcr->db, query.c_str(), NULL, NULL); - free_ua_context(ua); } if (!db_get_job_record(jcr, jcr->db, &jcr->jr)) { -- 2.39.5