Bug 5601 - Convert recursive updateRecords function to a loop
Convert recursive updateRecords function to a loop
Status: RESOLVED FIXED
Product: OHS
Classification: Unclassified
Component: General
2.3.1
PC Linux
: P5 enhancement
Assigned To: Alec Smecher
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-21 09:17 PDT by Alec Smecher
Modified: 2010-07-21 10:30 PDT (History)
0 users

See Also:
Version Reported In:
Also Affects:


Attachments
Patch against harvester 2.3.0 (6.12 KB, patch)
2010-07-21 10:30 PDT, Alec Smecher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Smecher 2010-07-21 09:17:04 PDT
Convert recursive updateRecords function in OAIHarvester.inc.php to a loop. It is tail-recursive and this would reduce the chance of hitting a depth limit.
Comment 1 Alec Smecher 2010-07-21 10:30:09 PDT
Created attachment 3143 [details]
Patch against harvester 2.3.0

Convert tail-recursive function to loop
Comment 2 Alec Smecher 2010-07-21 10:30:26 PDT
Fixed.