Actions
Bug #46000
closedWrong usage of array_unique() in RootlineUtility.php
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Performance
Target version:
-
Start date:
2013-03-04
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The array_unique() function has no effect because the returned array is NOT used and were not assigned to the static variable self::$rootlineFields
Impact:
We will get a very huge SQL statement after some loops (up to 2 MB SQL), see attached file "t3.sample.sql".
Database gets very busy and load time of page increases.
Original file: RootlineUtility.php
File fixed: RootlineUtility.new.php
Diff file is attached: RootlineUtility.php.diff
From package: introductionpackage-6.0.2
Files
Actions