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
a140e1b8
Commit
a140e1b8
authored
Aug 07, 2009
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Please, let me have done this correctly this time.
parent
f962d319
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
sql/database-create.sql
sql/database-create.sql
+1
-1
sql/updates/4/177
sql/updates/4/177
+2
-1
sql/updates/4/179
sql/updates/4/179
+13
-0
No files found.
sql/database-create.sql
View file @
a140e1b8
...
...
@@ -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
,
...
...
sql/updates/4/177
View file @
a140e1b8
...
...
@@ -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;
}
...
...
sql/updates/4/179
0 → 100644
View file @
a140e1b8
#
# This file intentionally does nothing. Leave it be.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
return 0;
}
1;
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