Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
5a8b9223
Commit
5a8b9223
authored
Sep 25, 2006
by
Leigh B. Stoller
Browse files
Add a swapmod flag to the experiment run to indicate that a swapmod
was resquested by the user.
parent
3513a97d
Changes
3
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
5a8b9223
...
...
@@ -491,6 +491,7 @@ CREATE TABLE experiment_runs (
archive_tag
varchar
(
64
)
default
NULL
,
start_time
datetime
default
NULL
,
stop_time
datetime
default
NULL
,
swapmod
tinyint
(
1
)
NOT
NULL
default
'0'
,
PRIMARY
KEY
(
exptidx
,
idx
)
)
TYPE
=
MyISAM
;
...
...
sql/database-migrate.txt
View file @
5a8b9223
...
...
@@ -3696,3 +3696,10 @@ last_net_act,last_cpu_act,last_ext_act);
alter table experiment_runs add \
ending_archive_tag varchar(64) default NULL after starting_archive_tag;
4.90: Add a swapmod flag to the experiment run to indicate that a swapmod
was resquested by the user.
**** Skip this stuff below if you just did 4.41 above.
alter table experiment_runs add swapmod tinyint(1) NOT NULL default '0';
sql/templates.sql
View file @
5a8b9223
...
...
@@ -370,6 +370,9 @@ CREATE TABLE experiment_runs (
-- Timestamps
start_time
datetime
default
NULL
,
stop_time
datetime
default
NULL
,
-- If the run specified swapmod, record that with this flag.
-- The NS file is stored in the archive.
swapmod
tinyint
(
1
)
NOT
NULL
default
'0'
,
PRIMARY
KEY
(
exptidx
,
idx
)
)
TYPE
=
MyISAM
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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