[freeside-commits] freeside/FS/bin freeside-upgrade, 1.5.2.12, 1.5.2.13
Ivan,,,
ivan at wavetail.420.am
Tue Jun 9 20:00:15 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv6013
Modified Files:
Tag: FREESIDE_1_7_BRANCH
freeside-upgrade
Log Message:
don't attempt to create h_queue indices, for SG upgradability
Index: freeside-upgrade
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-upgrade,v
retrieving revision 1.5.2.12
retrieving revision 1.5.2.13
diff -u -d -r1.5.2.12 -r1.5.2.13
--- freeside-upgrade 22 May 2009 03:22:48 -0000 1.5.2.12
+++ freeside-upgrade 10 Jun 2009 03:00:12 -0000 1.5.2.13
@@ -46,17 +46,21 @@
if (dbdef->table('h_cust_main'));
}
+my @statements =
+ grep { $_ !~ /^CREATE +INDEX +h_queue/ } #useless, holds up queue insertion
+ dbdef->sql_update_schema( dbdef_dist(datasrc), $dbh )
+
if ( $DRY_RUN ) {
print
- join(";\n", @bugfix, dbdef->sql_update_schema( dbdef_dist(datasrc), $dbh ) ). ";\n";
+ join(";\n", @bugfix, @statements ). ";\n";
exit;
} else {
- foreach my $statement ( @bugfix ) {
+ foreach my $statement ( @bugfix, @statements ) {
$dbh->do( $statement )
or die "Error: ". $dbh->errstr. "\n executing: $statement";
}
- dbdef->update_schema( dbdef_dist(datasrc), $dbh );
+# dbdef->update_schema( dbdef_dist(datasrc), $dbh );
}
my $hashref = {};
More information about the freeside-commits
mailing list