projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
68fca1a
)
just "vaccum analyze" is fine
author
ivan
<ivan>
Wed, 22 Dec 2004 09:53:19 +0000
(09:53 +0000)
committer
ivan
<ivan>
Wed, 22 Dec 2004 09:53:19 +0000
(09:53 +0000)
FS/bin/freeside-daily
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-daily
b/FS/bin/freeside-daily
index
bbb074f
..
7089440
100755
(executable)
--- a/
FS/bin/freeside-daily
+++ b/
FS/bin/freeside-daily
@@
-57,10
+57,8
@@
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;
- }
+ my $sth = dbh->prepare('vacuum analyze') or die dbh->errstr;
+ $sth->execute or die $sth->errstr;
}
#local hack