From f285a20df8220471777c4c2e137e93634c204869 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 26 Sep 2007 15:43:24 +0000 Subject: [PATCH] Suppress extra error messages during batch insert failure. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5656 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/catreq.c | 2 +- bacula/technotes-2.3 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bacula/src/dird/catreq.c b/bacula/src/dird/catreq.c index 8609039e17..cc1903615f 100644 --- a/bacula/src/dird/catreq.c +++ b/bacula/src/dird/catreq.c @@ -358,7 +358,7 @@ void catalog_update(JCR *jcr, BSOCK *bs) POOLMEM *omsg; Dsm_check(1); - if (!jcr->pool->catalog_files) { + if (job_canceled(jcr) || !jcr->pool->catalog_files) { goto bail_out; /* user disabled cataloging */ } if (!jcr->db) { diff --git a/bacula/technotes-2.3 b/bacula/technotes-2.3 index 812dc78379..2cf9febc6d 100644 --- a/bacula/technotes-2.3 +++ b/bacula/technotes-2.3 @@ -2,6 +2,7 @@ General: 26Sep07 +kes Suppress extra error messages during batch insert failure. kes Add jcr to timer packets so if killed message can be sent to job. kes Add JobId to all Dmsg() output. kes Put some FD auth code on dbglvl rather than fixed. -- 2.39.2