a rdataset to a zone db in the rbtdb implementation of
addrdataset.
+1207. [bug] REQUIRE that DNS_DBADD_MERGE only be set when adding
+ a rdataset to a zone db in the rbtdb implementation of
+ addrdataset.
+
1206. [bug] dns_name_downcase() enforce requirement that
target != NULL or name->buffer != NULL.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: rbtdb.c,v 1.174 2001/12/08 00:37:05 bwelling Exp $ */
+/* $Id: rbtdb.c,v 1.175 2002/05/28 05:49:20 marka Exp $ */
/*
* Principal Author: Bob Halley
* Caller must be holding the node lock.
*/
- if ((options & DNS_DBADD_MERGE) != 0)
+ if ((options & DNS_DBADD_MERGE) != 0) {
+ REQUIRE(rbtversion != NULL);
merge = ISC_TRUE;
- else
+ } else
merge = ISC_FALSE;
if ((options & DNS_DBADD_FORCE) != 0)