freeside/FS/bin freeside-daily,1.15,1.16
ivan
ivan at pouncequick.420.am
Wed Dec 22 01:53:21 PST 2004
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory pouncequick:/tmp/cvs-serv27727
Modified Files:
freeside-daily
Log Message:
just "vaccum analyze" is fine
Index: freeside-daily
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-daily,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- freeside-daily 24 Nov 2004 01:30:19 -0000 1.15
+++ freeside-daily 22 Dec 2004 09:53:18 -0000 1.16
@@ -57,10 +57,8 @@
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;
More information about the freeside-commits
mailing list