From: Peter van Dijk Date: Wed, 10 Oct 2012 12:03:27 +0000 (+0000) Subject: update mysql dnssec schema indexes X-Git-Tag: auth-3.2-rc1~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c487f25287f9166b973e961ff195b33d0f7182c1;p=pdns update mysql dnssec schema indexes git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2792 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/dnssec.schema.mysql.sql b/pdns/dnssec.schema.mysql.sql index c25d81941..e0a0b589d 100644 --- a/pdns/dnssec.schema.mysql.sql +++ b/pdns/dnssec.schema.mysql.sql @@ -22,7 +22,7 @@ create index domainidindex on cryptokeys(domain_id); alter table records add ordername VARCHAR(255) BINARY; alter table records add auth bool; -create index orderindex on records(ordername); +create index recordorder on records (domain_id, ordername); create table tsigkeys ( id INT auto_increment,