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

Christian Kuhn lolli at schwarzbu.ch
Thu Jan 15 14:24:42 CET 2009


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) {"?


Thanks
Christian




More information about the TYPO3-team-core mailing list