2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

2582. [bug] Don't emit warning log message when we attempt to

remove non-existant journal. [RT #19516]
This commit is contained in:
Mark Andrews
2009-03-26 22:51:54 +00:00
parent 9384dc16a1
commit 64e161a7f7
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
2582. [bug] Don't emit warning log message when we attempt to
remove non-existant journal. [RT #19516]
2581. [contrib] dlz/mysql set MYSQL_OPT_RECONNECT option on connection.
Requires MySQL 5.0.19 or later. [RT #19084]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.488 2009/03/13 01:35:18 marka Exp $ */
/* $Id: zone.c,v 1.489 2009/03/26 22:51:54 marka Exp $ */
/*! \file */
@@ -9560,7 +9560,7 @@ zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) {
isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL,
DNS_LOGMODULE_ZONE, ISC_LOG_DEBUG(3),
"removing journal file");
if (remove(zone->journal) < 0) {
if (remove(zone->journal) < 0 && errno != ENOENT) {
char strbuf[ISC_STRERRORSIZE];
isc__strerror(errno, strbuf, sizeof(strbuf));
isc_log_write(dns_lctx,