From: Michal Rakowski Date: Mon, 19 Jul 2021 12:16:09 +0000 (+0200) Subject: Fix for the PluginObject table name for the MAC jobs X-Git-Tag: Release-11.3.2~430 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8987c220953be1b4fc443e45304169a487a6d71;p=thirdparty%2Fbacula.git Fix for the PluginObject table name for the MAC jobs --- diff --git a/bacula/src/dird/mac.c b/bacula/src/dird/mac.c index 1cbf7d179..fea49f647 100644 --- a/bacula/src/dird/mac.c +++ b/bacula/src/dird/mac.c @@ -752,7 +752,7 @@ void mac_cleanup(JCR *jcr, int TermCode, int writeTermCode) db_sql_query(wjcr->db, query.c_str(), NULL, NULL); /* Move PluginObjects */ - Mmsg(query, "UPDATE PluginObject SET JobId=%s WHERE JobId=%s", + Mmsg(query, "UPDATE Object SET JobId=%s WHERE JobId=%s", new_jobid, old_jobid); db_sql_query(wjcr->db, query.c_str(), NULL, NULL);