[freeside-commits] freeside/FS/FS cust_main.pm,1.417,1.418
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Apr 9 20:43:02 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv7929
Modified Files:
cust_main.pm
Log Message:
orders of magnitude faster
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.417
retrieving revision 1.418
diff -u -d -r1.417 -r1.418
--- cust_main.pm 8 Apr 2009 07:32:24 -0000 1.417
+++ cust_main.pm 10 Apr 2009 03:43:00 -0000 1.418
@@ -8434,7 +8434,7 @@
sub _upgrade_data { #class method
my ($class, %opts) = @_;
- my $sql = 'UPDATE h_cust_main SET paycvv = NULL';
+ my $sql = 'UPDATE h_cust_main SET paycvv = NULL WHERE paycvv IS NOT NULL';
my $sth = dbh->prepare($sql) or die dbh->errstr;
$sth->execute or die $sth->errstr;
More information about the freeside-commits
mailing list