Commit f0bc8183 authored by Leigh B Stoller's avatar Leigh B Stoller

Oops, lets flag nodes as well with nonfsmounts.

parent 2597cbc0
......@@ -2869,6 +2869,7 @@ CREATE TABLE `nodes` (
`reserved_pid` varchar(48) default NULL,
`uuid` varchar(40) NOT NULL default '',
`reserved_memory` int(10) unsigned default '0',
`nonfsmounts` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`node_id`),
KEY `phys_nodeid` (`phys_nodeid`),
KEY `node_id` (`node_id`,`phys_nodeid`),
......
......@@ -14,6 +14,10 @@ sub DoUpdate($$$)
DBQueryFatal("alter table experiments add ".
" `nonfsmounts` tinyint(1) NOT NULL default '0'");
}
if (!DBSlotExists("nodes", "nonfsmounts")) {
DBQueryFatal("alter table nodes add ".
" `nonfsmounts` tinyint(1) NOT NULL default '0'");
}
return 0;
}
......
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