Commit 60e65004 authored by Leigh Stoller's avatar Leigh Stoller

Possible fix for issue #296

parent 8b2ddede
use strict;
use libdb;
use APT_Profile;
if ($PGENISUPPORT) {
require APT_Profile;
}
sub DoUpdate($$$)
{
......@@ -14,6 +16,7 @@ sub DoUpdate($$$)
DBQueryFatal("alter table apt_profiles add " .
" `usecount` int(11) default '0'");
}
# There will not be any profiles if PGENISUPPORT is disabled.
my $query_result =
DBQueryFatal("select profileid from apt_profiles");
......
Markdown is supported
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