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
b9b02d81
Commit
b9b02d81
authored
Dec 15, 2016
by
Leigh B Stoller
Browse files
Add vfree to apt_aggregate_status
parent
d919b664
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
b9b02d81
...
...
@@ -81,6 +81,7 @@ CREATE TABLE `apt_aggregate_status` (
`pcount`
int
(
11
)
default
'0'
,
`pfree`
int
(
11
)
default
'0'
,
`vcount`
int
(
11
)
default
'0'
,
`vfree`
int
(
11
)
default
'0'
,
`last_error`
text
,
PRIMARY
KEY
(
`urn`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
...
...
sql/updates/4/550
0 → 100644
View file @
b9b02d81
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_aggregate_status", "vfree")) {
DBQueryFatal("alter table apt_aggregate_status add " .
" `vfree` int(11) default '0' after vcount");
}
return 0;
}
# Local Variables:
# mode:perl
# End:
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