[BUGFIX] Use less memory in CLI lowlevel_refindex 87/38587/2
authorChristian Weiske <christian.weiske@netresearch.de>
Thu, 9 Apr 2015 08:44:25 +0000 (10:44 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Thu, 9 Apr 2015 12:34:01 +0000 (14:34 +0200)
commitb57bf36e550d61333d76d13d5b050c06aaa9ceea
treeb88ee6db83db02dce1fd7b81287bc888d36ae855
parent5538ff4cf5f240f556470884576e832d6ae6105c
[BUGFIX] Use less memory in CLI lowlevel_refindex

Fetch each row when we actually need its data instead of fetching all
rows at once.
This saves quite a lot memory on tables with many records.

Change-Id: I7493f206c94cba5ee3f3ff85d84dc70d91dd66aa
Resolves: #17774
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/38587
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Database/ReferenceIndex.php