Commit b9b02d81 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add vfree to apt_aggregate_status

parent d919b664
......@@ -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;
......
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:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment