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

Oliver Hader oliver at typo3.org
Mon Mar 9 15:18:08 CET 2009


FYI: Committed to SVN Trunk (rev. 5161)
-> changes in t3lib_superadmin have been dropped
-> the additional intval() in tslib_feTCE::checkDoublePostExist() was
committed as follow-up (rev. 5162)

Changes:
http://forge.typo3.org/repositories/revision/typo3v4-core/5161
http://forge.typo3.org/repositories/revision/typo3v4-core/5162

olly


Oliver Hader schrieb:
> 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


More information about the TYPO3-team-core mailing list