[TYPO3-core] RFC: Bug #10099: Use TYPO3_DB->exec_SELECTcountRows() to determine the number of rows

Oliver Hader oliver at typo3.org
Mon Feb 16 15:46:46 CET 2009


Hi Christian,

Christian Kuhn schrieb:
> Hi.
> 
> Oliver Hader wrote:
>> Solution:
>> To prevent hanging record sets here and simplify the code,
>> TYPO3_DB->exec_SELECTcountRows() is going to be used.
> 
> +1 on reading with one exception:
> 
> typo3/sysext/indexed_search/class.crawler.php
> @@ -524,13 +524,13 @@
> 
> -           if (!$queued_items['count'])    {
> +           if ($queued_items) {
> 
> Shouldn't that be "if (!$queued_items) {"?

Of course! I'm rechecking the whole patch...

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list