BIND 10 #1817: Cleanup object for SQLite3 statements
BIND 10 Development
do-not-reply at isc.org
Tue Mar 20 09:48:22 UTC 2012
#1817: Cleanup object for SQLite3 statements
-------------------------------------+-------------------------------------
Reporter: vorner | Owner:
Type: task | Status: new
Priority: medium | Milestone: New
Component: data source | Tasks
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
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <http://bind10.isc.org/ticket/1817>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list