[BUGFIX] Prepared statement contains too many placeholders 01/54801/3
authorPawel Cieslik <p.cieslik@macopedia.pl>
Mon, 27 Nov 2017 19:06:31 +0000 (20:06 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 27 Nov 2017 21:33:31 +0000 (22:33 +0100)
commit93f26c243c04e5a270d67124f15d773d8e70d70d
tree32bf8b0b97bdbb903bcd7d84419ebc969c3fd0b8
parent7d5b706dffa153f6f904d65e120d5e2534f90252
[BUGFIX] Prepared statement contains too many placeholders

Fix method findInStorageAndNotInUidList where $uidList
contains more then 65536 records in MySQL, 64000 in Oracle,
34464 in PostgreSQL by avoiding using prepared statements
and just passing values directly in query.

Resolves: #82233
Releases: master, 8.7
Change-Id: Ic72fa540936631274ae542d3c02128e159bd3fb1
Reviewed-on: https://review.typo3.org/54801
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php