[BUGFIX] Process large uid lists in chunks in RelationHandler
Uid lists in the relation handler can be very big. To avoid exceeding query limits like maximum number of placeholder per query or the max allowed statement length these large lists are split into chunks of safe length before processing. Change-Id: I176acb85feb91c6162a77016c1918cf5a992625c Resolves: #81555 References: #80875 Releases: master, 8.7 Reviewed-on: https://review.typo3.org/53193 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Manuel Selbach <manuel_selbach@yahoo.de> Tested-by:
Manuel Selbach <manuel_selbach@yahoo.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Classes/Database/Platform/PlatformInformation.php 107 additions, 0 deletions...xt/core/Classes/Database/Platform/PlatformInformation.php
- typo3/sysext/core/Classes/Database/RelationHandler.php 98 additions, 96 deletionstypo3/sysext/core/Classes/Database/RelationHandler.php
- typo3/sysext/core/Classes/Database/Schema/ConnectionMigrator.php 7 additions, 94 deletions...ysext/core/Classes/Database/Schema/ConnectionMigrator.php
- typo3/sysext/core/Tests/Unit/Database/Platform/PlatformInformationTest.php 88 additions, 0 deletions.../Tests/Unit/Database/Platform/PlatformInformationTest.php
- typo3/sysext/core/Tests/Unit/Database/Schema/ConnectionMigratorTest.php 63 additions, 96 deletions...ore/Tests/Unit/Database/Schema/ConnectionMigratorTest.php
Loading
Please register or sign in to comment