Commit a140e1b8 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Please, let me have done this correctly this time.

parent f962d319
......@@ -1011,7 +1011,6 @@ CREATE TABLE `experiment_templates` (
`path` tinytext,
`maximum_nodes` int(6) unsigned default NULL,
`minimum_nodes` int(6) unsigned default NULL,
`virtnode_count` int(6) unsigned default NULL,
`logfile` tinytext,
`logfile_open` tinyint(4) NOT NULL default '0',
`prerender_pid` int(11) default '0',
......@@ -1060,6 +1059,7 @@ CREATE TABLE `experiments` (
`state` varchar(16) NOT NULL default 'new',
`maximum_nodes` int(6) unsigned default NULL,
`minimum_nodes` int(6) unsigned default NULL,
`virtnode_count` int(6) unsigned default NULL,
`testdb` tinytext,
`path` tinytext,
`logfile` tinytext,
......
......@@ -10,7 +10,8 @@ sub DoUpdate($$$)
if (!DBSlotExists("experiments", "virtnode_count")) {
DBQueryFatal("alter table experiments add ".
"virtnode_count int(6) unsigned default NULL");
"virtnode_count int(6) unsigned default NULL ".
"after minimum_nodes");
}
return 0;
}
......
#
# This file intentionally does nothing. Leave it be.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
return 0;
}
1;
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