mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
Require that only the last reference of a writable version may be committed.
This commit is contained in:
@@ -364,6 +364,10 @@ dns_db_closeversion(dns_db_t *db, dns_dbversion_t **versionp,
|
|||||||
*
|
*
|
||||||
* '*versionp' refers to a valid version.
|
* '*versionp' refers to a valid version.
|
||||||
*
|
*
|
||||||
|
* If committing a writable version, then there must be no other
|
||||||
|
* outstanding references to the version (e.g. an active rdataset
|
||||||
|
* iterator).
|
||||||
|
*
|
||||||
* Ensures:
|
* Ensures:
|
||||||
*
|
*
|
||||||
* *versionp == NULL
|
* *versionp == NULL
|
||||||
|
Reference in New Issue
Block a user