BIND 10 #985: sqlite3_ds might not clean up well in load() method

BIND 10 Development do-not-reply at isc.org
Wed Jun 1 09:29:56 UTC 2011


#985: sqlite3_ds might not clean up well in load() method
-------------------------------------+-------------------------------------
                   Reporter:  jelte  |                 Owner:  UnAssigned
                       Type:         |                Status:  reviewing
  defect                             |             Milestone:
                   Priority:  major  |  Sprint-20110614
                  Component:  data   |            Resolution:
  source                             |             Sensitive:  0
                   Keywords:         |           Sub-Project:  DNS
            Defect Severity:  N/A    |  Estimated Difficulty:  0.0
Feature Depending on Ticket:         |           Total Hours:  0
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by jelte):

 * owner:  jelte => UnAssigned
 * status:  assigned => reviewing


Comment:

 Moved all sqlite3 calls into the catch block in load()

 Added two tests, one that simply loads the example zone, and one that
 makes sure it raises the correct exception when the database is locked
 (twice, using two different methods to ensure it is locked).

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


More information about the bind10-tickets mailing list