[TASK] Streamline ReferenceIndex->updateRefIndexTable()
With ReferenceIndex->updateIndex() being pretty much cleaned up and optimized, we start looking at the main worker method updateRefIndexTable(). The patch refactors some details to make the method more easy to follow. updateIndex() now hands over the current record to suppress another DB call per row which improves 'bin/typo3 referenceindex:update' performance. Resolves: #102189 Releases: main Change-Id: I2bbd571162deb6bff676f46f6dc7d836b823eccf Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81443 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Classes/Database/ReferenceIndex.php 128 additions, 194 deletionstypo3/sysext/core/Classes/Database/ReferenceIndex.php
- typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-corrupt-image.xml 27 additions, 27 deletions...res/XmlExports/pages-and-ttcontent-with-corrupt-image.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-image-but-not-included.xml 27 additions, 27 deletions...ports/pages-and-ttcontent-with-image-but-not-included.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-image.xml 27 additions, 27 deletions...al/Fixtures/XmlExports/pages-and-ttcontent-with-image.xml
- typo3/sysext/impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-softrefs.xml 41 additions, 41 deletions...Fixtures/XmlExports/pages-and-ttcontent-with-softrefs.xml
Please register or sign in to comment