projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0d75de
)
38278: Removing duplicate CDR entries prior to billing [FOR UPDATE fix, v4+]
author
Jonathan Prykop
<jonathan@freeside.biz>
Wed, 5 Oct 2016 02:29:39 +0000
(21:29 -0500)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Wed, 5 Oct 2016 02:29:39 +0000
(21:29 -0500)
FS/bin/freeside-cdrrewrited
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-cdrrewrited
b/FS/bin/freeside-cdrrewrited
index
bb16059
..
d117f56
100644
(file)
--- a/
FS/bin/freeside-cdrrewrited
+++ b/
FS/bin/freeside-cdrrewrited
@@
-63,12
+63,11
@@
while (1) {
foreach my $cdr (
qsearch( {
'table' => 'cdr',
- 'extra_sql' => 'FOR UPDATE', #XXX overwritten by opt below...would fixing this break anything?
'hashref' => {},
'extra_sql' => 'WHERE freesidestatus IS NULL '.
' AND freesiderewritestatus IS NULL '.
$extra_sql.
- ' LIMIT 1024', #arbitrary, but don't eat too much memory
+ ' LIMIT 1024
FOR UPDATE
', #arbitrary, but don't eat too much memory
} )
) {