|
@@ -358,6 +358,7 @@ const char* const SCHEMA_LIST[] = {
|
|
|
// defining a separate index for rdtype only doesn't work either; SQLite3
|
|
|
// would then create a temporary B-tree for "ORDER BY").
|
|
|
"CREATE INDEX records_bytype_and_rname ON records (rdtype, rname)",
|
|
|
+ "CREATE INDEX records_byrname_and_rdtype ON records (rname, rdtype)",
|
|
|
"CREATE TABLE nsec3 (id INTEGER PRIMARY KEY, zone_id INTEGER NOT NULL, "
|
|
|
"hash TEXT NOT NULL COLLATE NOCASE, "
|
|
|
"owner TEXT NOT NULL COLLATE NOCASE, "
|