Opened 8 years ago

Closed 6 years ago

#1817 closed task (wontfix)

Cleanup object for SQLite3 statements

Reported by: vorner Owned by:
Priority: medium Milestone: Remaining BIND10 tickets
Component: data source Version: bind10-old
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DNS Feature Depending on Ticket:
Estimated Difficulty: 4 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

We manually reset a SQLite3 statement each time it is used. This is both little bit too much code and can keep the statement not reset on some unexpected exception (which is not fatal, as we reset the statement before use again, but it is clearly not optimal).

The task is to create a class that would hold the statement and reset it on destruction and use it to hold the statements inside the methods using them.

Subtickets

Change History (4)

comment:1 Changed 8 years ago by jinmei

Is this about new or old implementation, or both?

comment:2 Changed 8 years ago by shane

  • Milestone New Tasks deleted

Michal? Can you address Jinmei's question? I'm curious too. Thanks!

comment:3 Changed 6 years ago by tomek

  • Milestone set to Remaining BIND10 tickets

comment:4 Changed 6 years ago by tomek

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version set to old-bind10

This issue is related to bind10 code that is no longer part of Kea.

If you are interested in BIND10/Bundy framework or its DNS components,
please check http://bundy-dns.de.

Closing ticket.

Note: See TracTickets for help on using tickets.