BIND 10 #1174: DatabaseAccessor::getZone() should take string, not Name

BIND 10 Development do-not-reply at isc.org
Tue Aug 16 22:03:34 UTC 2011


#1174: DatabaseAccessor::getZone() should take string, not Name
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  jinmei                             |                Status:  new
                       Type:         |             Milestone:  Next-Sprint-
  defect                             |  Proposed
                   Priority:  major  |            Resolution:
                  Component:  data   |             Sensitive:  0
  source                             |           Sub-Project:  DNS
                   Keywords:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jinmei):

 Also note that if and when we do this, we can change SQLITE_TRANSIENT
 to SQLITE_STATIC (the latter should be a bit more efficient) in the
 first call to sqlite3_bind_text() in SQLite3Database::getZone():
 {{{
     rc = sqlite3_bind_text(dbparameters_->q_zone_, 1,
 name.toText().c_str(),
                            -1, SQLITE_TRANSIENT);
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/1174#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list