mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +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:
3
CHANGES
3
CHANGES
@@ -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.
|
2581. [contrib] dlz/mysql set MYSQL_OPT_RECONNECT option on connection.
|
||||||
Requires MySQL 5.0.19 or later. [RT #19084]
|
Requires MySQL 5.0.19 or later. [RT #19084]
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* 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 */
|
/*! \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,
|
isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL,
|
||||||
DNS_LOGMODULE_ZONE, ISC_LOG_DEBUG(3),
|
DNS_LOGMODULE_ZONE, ISC_LOG_DEBUG(3),
|
||||||
"removing journal file");
|
"removing journal file");
|
||||||
if (remove(zone->journal) < 0) {
|
if (remove(zone->journal) < 0 && errno != ENOENT) {
|
||||||
char strbuf[ISC_STRERRORSIZE];
|
char strbuf[ISC_STRERRORSIZE];
|
||||||
isc__strerror(errno, strbuf, sizeof(strbuf));
|
isc__strerror(errno, strbuf, sizeof(strbuf));
|
||||||
isc_log_write(dns_lctx,
|
isc_log_write(dns_lctx,
|
||||||
|
Reference in New Issue
Block a user