[BUGFIX] Do not fetch records from tables without references
If no field of a table can contain a reference by its TCA definition do not fetch record from this table at all. For tables with fields which can possibly contain references fetch only these fields instead of all. Cache list of fields which don't have to be checked in the local member 'nonRelationFields' instead of recreating the list for each and every record. Don't try to update references for tables sys_log, sys_history and tx_extensionmanager_domain_model_extension since they cannot contain references and usually have a big amount of records. Introduce some early returns to make code more readable. Improves performance for both bulk inserts and updating the reference index from the command line. Resolves: #63676 Resolves: #63782 Releases: master, 6.2 Change-Id: Ibc6f988bfde6042339595bf7b3e18125c64ae72d Reviewed-on: http://review.typo3.org/35191 Reviewed-by:Frank Nägler <typo3@naegler.net> Tested-by:
Frank Nägler <typo3@naegler.net> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Please register or sign in to comment