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

Bump size of state/batchstate to 16 chars.

parent a6188091
......@@ -253,7 +253,7 @@ CREATE TABLE experiments (
autoswap_timeout int(4) NOT NULL default '0',
batchmode tinyint(4) NOT NULL default '0',
shared tinyint(4) NOT NULL default '0',
state varchar(12) NOT NULL default 'new',
state varchar(16) NOT NULL default 'new',
maximum_nodes tinyint(4) default NULL,
minimum_nodes tinyint(4) default NULL,
testdb tinytext,
......@@ -262,7 +262,7 @@ CREATE TABLE experiments (
logfile_open tinyint(4) NOT NULL default '0',
attempts smallint(5) unsigned NOT NULL default '0',
canceled tinyint(4) NOT NULL default '0',
batchstate varchar(12) default NULL,
batchstate varchar(16) default NULL,
event_sched_pid int(11) default '0',
prerender_pid int(11) default '0',
uselinkdelays tinyint(4) NOT NULL default '0',
......
......@@ -977,3 +977,11 @@ last_net_act,last_cpu_act,last_ext_act);
alter table experiments add keyhash varchar(64) default NULL \
after mem_usage;
1.187: Increase the length of the state and batchstate fields.
alter table experiments change state state varchar(16) NOT NULL \
default 'new';
alter table experiments change batchstate batchstate varchar(16) \
default NULL;
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