Commit 360a2d06 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Ack, wrong capitalization!

parent 73c7a852
...@@ -2379,7 +2379,7 @@ CREATE TABLE `node_history` ( ...@@ -2379,7 +2379,7 @@ CREATE TABLE `node_history` (
KEY `node_id` (`node_id`,`history_id`), KEY `node_id` (`node_id`,`history_id`),
INDEX `exptidx` (`exptidx`), INDEX `exptidx` (`exptidx`),
INDEX `stamp` (`stamp`), INDEX `stamp` (`stamp`),
INDEX `cnet_ip` (`cnet_ip`) INDEX `cnet_IP` (`cnet_IP`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1; ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --
......
...@@ -18,7 +18,7 @@ sub DoUpdate($$$) ...@@ -18,7 +18,7 @@ sub DoUpdate($$$)
} }
if (!DBKeyExists("node_history", "cnet_ip")) { if (!DBKeyExists("node_history", "cnet_ip")) {
DBQueryFatal("alter table node_history add " . DBQueryFatal("alter table node_history add " .
" INDEX cnet_ip (cnet_ip)"); " INDEX cnet_IP (cnet_IP)");
} }
return 0; return 0;
} }
......
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