1943. [bug] Set the loadtime after rollimg forward the journal.

[RT #15647]
This commit is contained in:
Mark Andrews
2006-01-03 05:26:29 +00:00
parent efc32b02d1
commit 503ab4e136
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
1943. [bug] Set the loadtime after rollimg forward the journal.
[RT #15647]
1942. [bug] If the name of a DNSKEY match that of one in
trusted-keys do not attempt to validate the DNSKEY
using the parents DS RRset. [RT #15649]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.446 2005/11/30 03:33:49 marka Exp $ */
/* $Id: zone.c,v 1.447 2006/01/03 05:26:29 marka Exp $ */
/*! \file */
@@ -1777,14 +1777,12 @@ zone_postload(dns_zone_t *zone, dns_db_t *db, isc_time_t loadtime,
dns_zone_log(zone, ISC_LOG_DEBUG(2),
"number of nodes in database: %u",
dns_db_nodecount(db));
zone->loadtime = loadtime;
dns_zone_log(zone, ISC_LOG_DEBUG(1), "loaded");
if (result == DNS_R_SEENINCLUDE)
DNS_ZONE_SETFLAG(zone, DNS_ZONEFLG_HASINCLUDE);
else
DNS_ZONE_CLRFLAG(zone, DNS_ZONEFLG_HASINCLUDE);
/*
* Apply update log, if any, on initial load.
*/
@@ -1816,6 +1814,10 @@ zone_postload(dns_zone_t *zone, dns_db_t *db, isc_time_t loadtime,
needdump = ISC_TRUE;
}
zone->loadtime = loadtime;
dns_zone_log(zone, ISC_LOG_DEBUG(1), "loaded");
/*
* Obtain ns, soa and cname counts for top of zone.
*/