Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
c19c2f3f
Commit
c19c2f3f
authored
Sep 26, 2003
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump size of state/batchstate to 16 chars.
parent
a6188091
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
sql/database-create.sql
sql/database-create.sql
+2
-2
sql/database-migrate.txt
sql/database-migrate.txt
+8
-0
No files found.
sql/database-create.sql
View file @
c19c2f3f
...
...
@@ -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
(
1
2
)
NOT
NULL
default
'new'
,
state
varchar
(
1
6
)
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
(
1
2
)
default
NULL
,
batchstate
varchar
(
1
6
)
default
NULL
,
event_sched_pid
int
(
11
)
default
'0'
,
prerender_pid
int
(
11
)
default
'0'
,
uselinkdelays
tinyint
(
4
)
NOT
NULL
default
'0'
,
...
...
sql/database-migrate.txt
View file @
c19c2f3f
...
...
@@ -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;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment