Project

General

Profile

Task #80207

Updated by Thomas Hohn about 7 years ago

In \TYPO3\CMS\Core\Database\ReferenceIndex the updateRefIndexTable method sets 
 @$currentRelations[$relation['hash']] = $currentRelations;@ which not really makes sense. retrieves $currentRelations 

 https://git.typo3.org/Packages/TYPO3.CMS.git/blob/HEAD:/typo3/sysext/core/Classes/Database/ReferenceIndex.php#l224 

 Since the relation is not used - it would be sufficient to: to 
 # Fetch the hash value 
 # Set $currentRelationHashes[$relation['hash']] to true since we only use it to process the records aftwards

Back