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

Pass covers field to dns_db_deleterdataset

This commit is contained in:
Brian Wellington
2000-02-08 19:27:36 +00:00
parent 6cac2e0f7a
commit 75f8396869
4 changed files with 7 additions and 6 deletions

View File

@@ -661,7 +661,7 @@ active_node(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node) {
* Make sure there is no NXT record for this node.
*/
result = dns_db_deleterdataset(db, node, version,
dns_rdatatype_nxt);
dns_rdatatype_nxt, 0);
if (result == DNS_R_UNCHANGED)
result = ISC_R_SUCCESS;
check_result(result, "dns_db_deleterdataset");

View File

@@ -791,7 +791,7 @@ t_dns_db_currentversion(char **av) {
}
/* delete the found rdataset in the new version */
dns_result = dns_db_deleterdataset(db, nodep, nversionp, rdatatype);
dns_result = dns_db_deleterdataset(db, nodep, nversionp, rdatatype, 0);
if (dns_result != DNS_R_SUCCESS) {
t_info("dns_db_deleterdataset failed %s\n",
dns_result_totext(dns_result));
@@ -1286,7 +1286,7 @@ t_dns_db_closeversion_1(char **av) {
return(T_UNRESOLVED);
}
dns_result = dns_db_deleterdataset(db, nodep, nversionp, existing_rdatatype);
dns_result = dns_db_deleterdataset(db, nodep, nversionp, existing_rdatatype, 0);
if (dns_result != DNS_R_SUCCESS) {
t_info("dns_db_deleterdataset failed %s\n",
dns_result_totext(dns_result));
@@ -1644,7 +1644,7 @@ t_dns_db_closeversion_2(char **av) {
return(T_UNRESOLVED);
}
dns_result = dns_db_deleterdataset(db, nodep, nversionp, existing_rdatatype);
dns_result = dns_db_deleterdataset(db, nodep, nversionp, existing_rdatatype, 0);
if (dns_result != DNS_R_SUCCESS) {
t_info("dns_db_deleterdataset failed %s\n",
dns_result_totext(dns_result));

View File

@@ -863,7 +863,8 @@ main(int argc, char *argv[]) {
dns_db_printnode(db, node, stdout);
} else if (dbi != NULL && delmode && !found_as) {
result = dns_db_deleterdataset(db, node,
version, type);
version, type,
0);
if (result != DNS_R_SUCCESS)
print_result("", result);
if (printnode)

View File

@@ -661,7 +661,7 @@ active_node(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node) {
* Make sure there is no NXT record for this node.
*/
result = dns_db_deleterdataset(db, node, version,
dns_rdatatype_nxt);
dns_rdatatype_nxt, 0);
if (result == DNS_R_UNCHANGED)
result = ISC_R_SUCCESS;
check_result(result, "dns_db_deleterdataset");