Commit 39ea2f89 authored by Mac Newbold's avatar Mac Newbold
Browse files

Add a new index to the virt_trafgens field to make idlecheck's lookup faster.

parent d5bf0bdb
......@@ -1030,7 +1030,8 @@ CREATE TABLE virt_trafgens (
target_port int(11) NOT NULL default '0',
target_ip varchar(15) NOT NULL default '',
generator tinytext NOT NULL,
PRIMARY KEY (pid,eid,vnode,vname)
PRIMARY KEY (pid,eid,vnode,vname),
KEY vnode (vnode)
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