Skip to content
Snippets Groups Projects
Commit bfc4fda8 authored by Krzysztof Gutkowski's avatar Krzysztof Gutkowski Committed by Stefan Bürk
Browse files

[BUGFIX] Reduce size of prepared statements in DatabaseIntegrityCheck

The code checking for missing relations would perform the query with all
potential missing relation uids for a given table, which, given a large
enough table, would exceed the prepared statement placeholder limit for
the database connection.

This commit makes the relevant function process the checked relation
uids in chunks no larger than the placeholder limit.

Resolves: #100894
Releases: main, 12.4
Change-Id: Ie2202a7555d39bd31ac9d4ad74c6217f514b5f8c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79416


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 61f089a4
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment