BIND 10 trac2909, updated. 56099e3711191e22b41cc6f404a69569c1f3b7e1 [2909] Updated schema_copy.h to more accurately reflect the database schema
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu May 9 09:56:28 UTC 2013
The branch, trac2909 has been updated
via 56099e3711191e22b41cc6f404a69569c1f3b7e1 (commit)
from 89e0087450e73ea2336f56c0f7024f4741eaeba0 (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 56099e3711191e22b41cc6f404a69569c1f3b7e1
Author: Stephen Morris <stephen at isc.org>
Date: Thu May 9 10:54:56 2013 +0100
[2909] Updated schema_copy.h to more accurately reflect the database schema
When the MySql lease manager tests create the database, they now also
create all the indexes as well.
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcpsrv/tests/schema_copy.h | 6 ++++++
1 file changed, 6 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcpsrv/tests/schema_copy.h b/src/lib/dhcpsrv/tests/schema_copy.h
index 48a11ca..9ebd057 100644
--- a/src/lib/dhcpsrv/tests/schema_copy.h
+++ b/src/lib/dhcpsrv/tests/schema_copy.h
@@ -51,6 +51,10 @@ const char* create_statement[] = {
"subnet_id INT UNSIGNED"
") ENGINE = INNODB",
+ "CREATE INDEX lease4_by_hwaddr_subnet_id ON lease4 (hwaddr, subnet_id)",
+
+ "CREATE INDEX lease4_by_client_id_subnet_id ON lease4 (client_id, subnet_id)",
+
"CREATE TABLE lease6 ("
"address VARCHAR(39) PRIMARY KEY NOT NULL,"
"duid VARBINARY(128),"
@@ -63,6 +67,8 @@ const char* create_statement[] = {
"prefix_len TINYINT UNSIGNED"
") ENGINE = INNODB",
+ "CREATE INDEX lease6_by_iaid_subnet_id_duid ON lease6 (iaid, subnet_id, duid)",
+
"CREATE TABLE lease6_types ("
"lease_type TINYINT PRIMARY KEY NOT NULL,"
"name VARCHAR(5)"
More information about the bind10-changes
mailing list