Project

General

Profile

Actions

Bug #20902

closed

speed up function t3lib_BEfunc::isRecordLocked()

Added by Rupert Germann over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-08-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Problem:
function t3lib_BEfunc::isRecordLocked() sets only an entry in its local cache when there are locked records. If this is not the case the sql query is executed again and again for each record show in the list.

Solution:
cache empty results, too.

(issue imported from #M11746)


Files

11746_optimize_isRecordLocked.diff (467 Bytes) 11746_optimize_isRecordLocked.diff Administrator Admin, 2009-08-18 17:54
Actions

Also available in: Atom PDF