projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f742fc
)
turn on AutoCommit when vacuuming
author
ivan
<ivan>
Fri, 4 Oct 2002 12:39:29 +0000
(12:39 +0000)
committer
ivan
<ivan>
Fri, 4 Oct 2002 12:39:29 +0000
(12:39 +0000)
FS/bin/freeside-daily
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-daily
b/FS/bin/freeside-daily
index
22bf2c9
..
52028b7
100755
(executable)
--- 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;