Commit 102b42ef authored by Robert Ricci's avatar Robert Ricci
Browse files

Added another key to the virt_routes table to speed up queries.

parent f731bbbf
......@@ -1131,7 +1131,8 @@ CREATE TABLE virt_routes (
dst_mask varchar(15) default '',
nexthop varchar(32) NOT NULL default '',
cost int(11) NOT NULL default '0',
PRIMARY KEY (pid,eid,vname,src,dst)
PRIMARY KEY (pid,eid,vname,src,dst),
KEY pid (pid,eid,vname)
Supports Markdown
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