[TASK] Cache results in doesRecordExist_pageLookUp 16/51516/12
authorThomas Hohn <thomas@hohn.dk>
Fri, 3 Feb 2017 09:00:02 +0000 (10:00 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 22 May 2017 10:16:52 +0000 (12:16 +0200)
commitb576ef964f31fce260c23e849890237b541182a5
treed0c410a1cc6418168343de57ab566ccafa359948
parent3abdf76750acc1b365384c1f02aad1024caaa9cf
[TASK] Cache results in doesRecordExist_pageLookUp

Copying big sub-trees can benefit from caching the calls
to doesRecordExist_pageLookUp in a run-time cache since
there are a lot of identical calls to the database.

In addition the signature was adjusted - see also the already
merged issue #77391 which altered the signature.

Resolves: #79610
Releases: master
Change-Id: I2da164193f13759123d57c17985be46e7bd7667b
Reviewed-on: https://review.typo3.org/51516
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Kasper Ligaard <kasperligaard+typo3.org@gmail.com>
Tested-by: Kasper Ligaard <kasperligaard+typo3.org@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Documentation/Changelog/master/Important-79610-ChangeSignatureAndReturnValueFordoesRecordExist_pageLookUp.rst [new file with mode: 0644]