BIND 10 #1717: missing diffs table in database
BIND 10 Development
do-not-reply at isc.org
Fri Feb 24 15:06:38 UTC 2012
#1717: missing diffs table in database
-------------------------------------+-------------------------------------
Reporter: jelte | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: data source | Sprint-20120306
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
-------------------------------------+-------------------------------------
As reported on the users list, sometimes there is a table missing from the
database on new installs.
It looks as though it is a reflection of the move to the new datasource
API; we still have the old one in the code, because it is still used in a
few places.
This old one never got the new table, so what I think happens is that
sometimes, on first startup, the old implementation just happens to get
hit first, and creates the database without the new table.
Of course the real solution is to hunt down and remove the final few
places where the old API is still used, but in the meantime, a quick fix
would be to simply add the diffs table to the create statements in
sqlite3_datasrc.cc
Putting the 'trivial' fix in here, I think it is pretty trivial (just look
at the sqlite3_accessor.cc file from which I copied it)
--
Ticket URL: <http://bind10.isc.org/ticket/1717>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list