BIND 10 master, updated. 77d69c99f2b3cc8ee627d8f73174ead9f03da412 [master] add new table to old sqlite db creation
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Nov 21 16:34:47 UTC 2011
The branch, master has been updated
via 77d69c99f2b3cc8ee627d8f73174ead9f03da412 (commit)
from 13f108b25fbccc56b731bd5bcc505cdf48e91e91 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 77d69c99f2b3cc8ee627d8f73174ead9f03da412
Author: Jelte Jansen <jelte at isc.org>
Date: Mon Nov 21 17:33:36 2011 +0100
[master] add new table to old sqlite db creation
The ixfr out code makes use of a new table, but the old interface is still used, so we need to make sure it creates the table there as well. This should fix the currently failing systest (which uses loadzone which uses the old API). Acked on jabber.
-----------------------------------------------------------------------
Summary of changes:
src/lib/python/isc/datasrc/sqlite3_ds.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/datasrc/sqlite3_ds.py b/src/lib/python/isc/datasrc/sqlite3_ds.py
index fd63741..daa12fc 100644
--- a/src/lib/python/isc/datasrc/sqlite3_ds.py
+++ b/src/lib/python/isc/datasrc/sqlite3_ds.py
@@ -72,6 +72,14 @@ def create(cur):
rdtype STRING NOT NULL COLLATE NOCASE,
rdata STRING NOT NULL)""")
cur.execute("CREATE INDEX nsec3_byhash ON nsec3 (hash)")
+ cur.execute("""CREATE TABLE diffs (id INTEGER PRIMARY KEY,
+ zone_id INTEGER NOT NULL,
+ version INTEGER NOT NULL,
+ operation INTEGER NOT NULL,
+ name STRING NOT NULL COLLATE NOCASE,
+ rrtype STRING NOT NULL COLLATE NOCASE,
+ ttl INTEGER NOT NULL,
+ rdata STRING NOT NULL)""")
row = [1]
cur.execute("COMMIT TRANSACTION")
return row
More information about the bind10-changes
mailing list