Commit 08d544d2 authored by Robert Ricci's avatar Robert Ricci
Browse files

Add an index for nodes.phys_nodeid, since there are some queries and

updates that use it.
parent 458a7e46
......@@ -586,7 +586,8 @@ CREATE TABLE nodes (
ipport_high int(11) NOT NULL default '20000',
sshdport int(11) NOT NULL default '11000',
jailflag tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (node_id)
PRIMARY KEY (node_id),
KEY phys_nodeid (phys_nodeid)
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