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:
@@ -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");
|
||||
|
@@ -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));
|
||||
|
@@ -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)
|
||||
|
@@ -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");
|
||||
|
Reference in New Issue
Block a user