[BUGFIX] Process large uid lists in chunks in RelationHandler 93/53193/19
authorSascha Egerer <sascha@sascha-egerer.de>
Mon, 12 Jun 2017 14:57:33 +0000 (16:57 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 23 Jan 2018 20:00:36 +0000 (21:00 +0100)
commitdfffc87de058dab202b3c91660f5fc6c736b6a94
tree49e20650c03f3fe57eaa486d816f5175ce30843b
parent226a7daed06a38a0ce78cfc50ce84d78bc486285
[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>
typo3/sysext/core/Classes/Database/Platform/PlatformInformation.php [new file with mode: 0644]
typo3/sysext/core/Classes/Database/RelationHandler.php
typo3/sysext/core/Classes/Database/Schema/ConnectionMigrator.php
typo3/sysext/core/Tests/Unit/Database/Platform/PlatformInformationTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Database/Schema/ConnectionMigratorTest.php