Commit 77d69c99 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[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.
parent 13f108b2
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment