Project

General

Profile

Actions

Feature #19793

closed

Use TYPO3_DB->exec_SELECTcountRows() to determine the number of rows

Added by Oliver Hader about 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-01-11
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

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)

To prevent hanging record sets TYPO3_DB->exec_SELECTcountRows() should be used in future.

(issue imported from #M10099)


Files

0010099_v3.patch (31.7 KB) 0010099_v3.patch Administrator Admin, 2009-03-09 15:19

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #19786: Integrate TYPO3_DB->exec_SELECTcountRows()ClosedOliver Hader2009-01-10

Actions
Actions #1

Updated by Oliver Hader about 15 years ago

Committed to SVN Trunk (rev. 5161)

Actions

Also available in: Atom PDF