From: Eric Bollengier Date: Wed, 17 Dec 2008 15:48:05 +0000 (+0000) Subject: ebl cleanup X-Git-Tag: Release-3.0.0~464 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=94421dae1aac08e8dc1ded7725ec903de5a78f77;p=bacula%2Fbacula ebl cleanup git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8179 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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)) {