projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5a9d84
)
backport paycvv upgrade from 1.9: "orders of magnitude faster"
author
ivan
<ivan>
Fri, 17 Apr 2009 10:17:03 +0000
(10:17 +0000)
committer
ivan
<ivan>
Fri, 17 Apr 2009 10:17:03 +0000
(10:17 +0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
8f7530f
..
d3c0886
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-6283,7
+6283,7
@@
sub _agent_plandata {
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;