We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 5601 - Convert recursive updateRecords function to a loop
Convert recursive updateRecords function to a loop
Product: OHS
Classification: Unclassified
Component: General
PC Linux
: P5 enhancement
Assigned To: Alec Smecher
Depends on:
  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:

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