[TYPO3-core] FYI24: #14149: tslib_cObj::getTreeList() incorrectly checks cache entries
Jigal van Hemert
jigal at xs4all.nl
Mon Apr 19 13:33:28 CEST 2010
Dmitry Dulepov wrote:
> Solution: the fix would simply check if rows are returned at all. If they
> are, return the result. This is what caches for :)
+1 by reading
Note: In case of an error in the execution of the query
t3lib_db::exec_SELECTgetRows() returns NULL. list($cacheEntry) will then
assign NULL to $cacheEntry. Nothing wrong here, just to explain that the
db API is a bit unclear here in the type of what it returns.
--
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-team-core
mailing list