Commit c4a771e7 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Cut and Paste without thinking ... Change upsubnet primary index to

that subnets are actually unique!
parent 8613a204
...@@ -318,7 +318,7 @@ CREATE TABLE ipsubnets ( ...@@ -318,7 +318,7 @@ CREATE TABLE ipsubnets (
pid varchar(12) NOT NULL default '', pid varchar(12) NOT NULL default '',
eid varchar(32) NOT NULL default '', eid varchar(32) NOT NULL default '',
idx smallint(5) unsigned NOT NULL auto_increment, idx smallint(5) unsigned NOT NULL auto_increment,
PRIMARY KEY (pid,eid,idx) PRIMARY KEY (idx)
) TYPE=MyISAM; ) TYPE=MyISAM;
# #
......
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