Bug #46000
closedWrong usage of array_unique() in RootlineUtility.php
100%
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
Updated by Gerrit Code Review over 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18691
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18691
Updated by Gerrit Code Review over 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18691
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/18694
Updated by Andreas Lingott over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6e5ec413c47ed278111ad766baeecb7406cae97b.