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-stable
Commits
2b86b5b2
Commit
2b86b5b2
authored
Jan 13, 2005
by
Leigh B. Stoller
Browse files
Change min/max nodes column in experiments table from tinyint to int.
parent
bd942080
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
2b86b5b2
...
...
@@ -330,8 +330,8 @@ CREATE TABLE experiments (
batchmode
tinyint
(
4
)
NOT
NULL
default
'0'
,
shared
tinyint
(
4
)
NOT
NULL
default
'0'
,
state
varchar
(
16
)
NOT
NULL
default
'new'
,
maximum_nodes
tinyint
(
4
)
default
NULL
,
minimum_nodes
tinyint
(
4
)
default
NULL
,
maximum_nodes
int
(
6
)
unsigned
default
NULL
,
minimum_nodes
int
(
6
)
unsigned
default
NULL
,
testdb
tinytext
,
path
tinytext
,
logfile
tinytext
,
...
...
sql/database-migrate.txt
View file @
2b86b5b2
...
...
@@ -2353,3 +2353,12 @@ last_net_act,last_cpu_act,last_ext_act);
orientation float NOT NULL default '0',
PRIMARY KEY (pid,eid,vname)
) TYPE=MyISAM;
1.305: Fix up minimum_nodes and maximum_nodes columns; they were
tinyints which is too small.
alter table experiments change minimum_nodes minimum_nodes \
int(6) unsigned default NULL;
alter table experiments change maximum_nodes maximum_nodes \
int(6) unsigned default NULL;
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