Commit 03e9f45f authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[1177] Adapt the rest of the code

There are some (yet unused) virtual methods and result codes, so we need
to make sure the rest compiles. Just a thin layer for now.
parent cb4d8443
......@@ -253,6 +253,13 @@ Query::process() const {
// Just empty answer with SOA in authority section
putSOA(*result.zone_finder);
break;
default:
// These are new result codes (WILDCARD and WILDCARD_NXRRSET)
// They should not happen from the in-memory and the database
// backend isn't used yet.
// TODO: Implement before letting the database backends in
isc_throw(isc::NotImplemented, "Unknown result code");
break;
}
}
}
......
......@@ -141,6 +141,10 @@ public:
// Turn this on if you want it to return RRSIGs regardless of FIND_GLUE_OK
void setIncludeRRSIGAnyway(bool on) { include_rrsig_anyway_ = on; }
Name findPreviousName(const Name&) const {
isc_throw(isc::NotImplemented, "Mock doesn't support previous name");
}
private:
typedef map<RRType, ConstRRsetPtr> RRsetStore;
typedef map<Name, RRsetStore> Domains;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment