|
@@ -730,13 +730,10 @@ private:
|
|
const DomainTree& tree_;
|
|
const DomainTree& tree_;
|
|
const DomainNode* node_;
|
|
const DomainNode* node_;
|
|
bool ready_;
|
|
bool ready_;
|
|
- bool individual_rrs_;
|
|
|
|
public:
|
|
public:
|
|
- MemoryIterator(const DomainTree& tree, const Name& origin,
|
|
|
|
- bool individual_rrs) :
|
|
|
|
|
|
+ MemoryIterator(const DomainTree& tree, const Name& origin) :
|
|
tree_(tree),
|
|
tree_(tree),
|
|
- ready_(true),
|
|
|
|
- individual_rrs_(individual_rrs)
|
|
|
|
|
|
+ ready_(true)
|
|
{
|
|
{
|
|
// Find the first node (origin) and preserve the node chain for future
|
|
// Find the first node (origin) and preserve the node chain for future
|
|
// searches
|
|
// searches
|
|
@@ -788,7 +785,7 @@ public:
|
|
} // End of anonymous namespace
|
|
} // End of anonymous namespace
|
|
|
|
|
|
ZoneIteratorPtr
|
|
ZoneIteratorPtr
|
|
-InMemoryClient::getIterator(const Name& name, bool individual_rrs) const {
|
|
|
|
|
|
+InMemoryClient::getIterator(const Name& name, bool) const {
|
|
ZoneTable::FindResult result(impl_->zone_table.findZone(name));
|
|
ZoneTable::FindResult result(impl_->zone_table.findZone(name));
|
|
if (result.code != result::SUCCESS) {
|
|
if (result.code != result::SUCCESS) {
|
|
isc_throw(DataSourceError, "No such zone: " + name.toText());
|
|
isc_throw(DataSourceError, "No such zone: " + name.toText());
|
|
@@ -806,8 +803,7 @@ InMemoryClient::getIterator(const Name& name, bool individual_rrs) const {
|
|
isc_throw(Unexpected, "The zone at " + name.toText() +
|
|
isc_throw(Unexpected, "The zone at " + name.toText() +
|
|
" is not InMemoryZoneFinder");
|
|
" is not InMemoryZoneFinder");
|
|
}
|
|
}
|
|
- return (ZoneIteratorPtr(new MemoryIterator(zone->impl_->domains_, name,
|
|
|
|
- individual_rrs)));
|
|
|
|
|
|
+ return (ZoneIteratorPtr(new MemoryIterator(zone->impl_->domains_, name)));
|
|
}
|
|
}
|
|
|
|
|
|
ZoneUpdaterPtr
|
|
ZoneUpdaterPtr
|