]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1943. [bug] Set the loadtime after rollimg forward the journal.
authorMark Andrews <marka@isc.org>
Tue, 3 Jan 2006 05:26:29 +0000 (05:26 +0000)
committerMark Andrews <marka@isc.org>
Tue, 3 Jan 2006 05:26:29 +0000 (05:26 +0000)
                        [RT #15647]

CHANGES
lib/dns/zone.c

diff --git a/CHANGES b/CHANGES
index 308f3b15f78f66023e78eb9f61412a9ec72fb9fa..4e0728000bada07d6e4c0ca1294f7ec046df6f95 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -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]
index 593427b843f4a88bad74cc73526c7538f663d308..6385ffa75d4aab37156e276cff14492636a856e6 100644 (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.
         */