[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 16:13:57 CET 2009


Hi,

attached is a new modified patch with the following fixes:
* fixed bug in array concatenation in t3lib_superadmin
* fixed wrong if condition in t3lib_div::makeRedirectUrl()
* fixed wrong if condition in
tx_indexedsearch_crawler::cleanUpOldRunningConfigurations()

olly


Oliver Hader schrieb:
> This is a SVN patch request.
> 
> Problem:
> In the TYPO Core counting rows is/was implemented as the following:
> * get result set for a "COUNT(*)" query, fetch row, free result set (not
> in all cases)
> * get result set for a regular table SELECT, get sql_num_rows, free
> result set (not in all cases again)
> 
> Solution:
> To prevent hanging record sets here and simplify the code,
> TYPO3_DB->exec_SELECTcountRows() is going to be used.
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=10099
> 
> Branch: Trunk
> 
> 
> olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0010099_v2.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090216/63d2404c/attachment-0001.txt 


More information about the TYPO3-team-core mailing list