summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-10-04 12:39:29 +0000
committerivan <ivan>2002-10-04 12:39:29 +0000
commit54a27b35957baddb725e2b7544d9f134989bfd99 (patch)
tree6078ec05b183285d76ddcedb87a90649928e3708
parent2f742fce69ed1d168f95478f36a5e70b381d64a9 (diff)
turn on AutoCommit when vacuuming
-rwxr-xr-xFS/bin/freeside-daily1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily
index 22bf2c963..52028b773 100755
--- a/FS/bin/freeside-daily
+++ b/FS/bin/freeside-daily
@@ -50,6 +50,7 @@ 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;