[TYPO3-core] RFC #11722: speed up function t3lib_BEfunc::selectVersionsOfRecord
Rupert Germann
rupi at gmx.li
Fri Aug 14 17:13:59 CEST 2009
Hi,
after my last patch was accepted in less than an hour, let's see if this
works a second time.
;-)
this is a SVN patch request.
Type: Bugfix, BE performance improvement
Bugtracker references:
http://bugs.typo3.org/view.php?id=11722
Branches: Trunk
problem:
when rendering the extended listview in the Backend, TYPO3 does 2
queries for each record to find out if it has versions. The first query
fetches the currently displayed record again which is already present in
the calling function.
solution:
traverse the current $row to function
t3lib_BEfunc::selectVersionsOfRecord() and re-use it instead of fetching
it from the DB
greets
rupert
"There shall be no new TYPO3 version delivering content slower than its
predecessor!"
More information about the TYPO3-team-core
mailing list