BIND 10 #1174: DatabaseAccessor::getZone() should take string, not Name
BIND 10 Development
do-not-reply at isc.org
Fri Aug 12 07:24:36 UTC 2011
#1174: DatabaseAccessor::getZone() should take string, not Name
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: defect | Status: new
Priority: major | Milestone: Next-
Component: data source | Sprint-Proposed
Sensitive: 0 | Keywords:
Sub-Project: DNS | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
That is, instead of
{{{
virtual std::pair<bool, int> getZone(const isc::dns::Name& name) const
= 0;
}}}
it should have been:
{{{
virtual std::pair<bool, int> getZone(const string& name) const = 0;
}}}
(and the derived versions must be updated accordingly)
At least in the original, the database backend is to be as dumb as
possible, and it shouldn't have to be required to know any DNS
specific knowledge.
--
Ticket URL: <http://bind10.isc.org/ticket/1174>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list