diff options
author | ivan <ivan> | 2002-10-04 12:39:29 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-10-04 12:39:29 +0000 |
commit | 54a27b35957baddb725e2b7544d9f134989bfd99 (patch) | |
tree | 6078ec05b183285d76ddcedb87a90649928e3708 | |
parent | 2f742fce69ed1d168f95478f36a5e70b381d64a9 (diff) |
turn on AutoCommit when vacuuming
-rwxr-xr-x | FS/bin/freeside-daily | 1 |
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; |