freeside/FS/bin freeside-daily,1.3.4.9,1.3.4.10

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-serv27731

Modified Files:
      Tag: FREESIDE_1_4_BRANCH
	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.3.4.9
retrieving revision 1.3.4.10
diff -u -d -r1.3.4.9 -r1.3.4.10
--- freeside-daily	5 Mar 2004 05:59:17 -0000	1.3.4.9
+++ freeside-daily	22 Dec 2004 09:53:19 -0000	1.3.4.10
@@ -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;
 }
 
 #local hack




More information about the freeside-commits mailing list