diff options
author | ivan <ivan> | 2004-12-22 09:53:18 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-12-22 09:53:18 +0000 |
commit | 5073a0d77b624018600f7fc01c7da2fee2849c18 (patch) | |
tree | 30e1cae825848a7d76f8cc5daf60ae81df148620 /FS/bin/freeside-daily | |
parent | 722714f3fb20bc74f267d4deabeacee840ca68a1 (diff) |
just "vaccum analyze" is fine
Diffstat (limited to 'FS/bin/freeside-daily')
-rwxr-xr-x | FS/bin/freeside-daily | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily index d8d36252e..ae71112dd 100755 --- a/FS/bin/freeside-daily +++ b/FS/bin/freeside-daily @@ -57,10 +57,8 @@ foreach $cust_main ( @cust_main ) { if ( driver_name eq 'Pg' ) { dbh->{AutoCommit} = 1; #so we can vacuum - foreach my $statement ( 'vacuum', 'vacuum analyze' ) { - my $sth = dbh->prepare($statement) or die dbh->errstr; - $sth->execute or die $sth->errstr; - } + my $sth = dbh->prepare('vacuum analyze') or die dbh->errstr; + $sth->execute or die $sth->errstr; } my $conf = new FS::Conf; |