TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #29169
Issue Bug Closed

#29169exec_SELECTcountRows returns string

Steffen Gebert 08/22/11, 18:36 updated 10/02/18, 12:19

Open in Forge Comment in Forge

Description

PHPdoc of t3lib_DB::exec_SELECTcountRows says that it returns an integer, but it returns the number as string (as the mysql function does so).

Either the PHPdoc comment should be changed or we cast it to a real integer, in case of a value is returned (which I would prefer).

Reviews 4

  • TYPO3_4-4 4569[BUGFIX] exec_SELECTcountRows returns string Resolves this issue Merged Susi Moog CR +2 V +2 → 4.6, 4.5, 4.4 issue_29169 Easy +1 −0 06/03/13, 20:49
  • main 4540[BUGFIX] exec_SELECTcountRows returns string Resolves this issue Merged Georg Ringer CR +2 V +2 → 4.6, 4.5, 4.4 issue_29169 Easy +1 −0 06/03/13, 20:49
  • TYPO3_4-4 4568[BUGFIX] exec_SELECTcountRows returns string Resolves this issue Abandoned Susi Moog CR 0 V 0 → 4.6, 4.5, 4.4 issue_29169 Easy +1 −0 06/03/13, 20:49
  • TYPO3_4-5 4567[BUGFIX] exec_SELECTcountRows returns string Resolves this issue Merged Susi Moog CR +2 V +2 → 4.6, 4.5, 4.4 issue_29169 Easy +1 −0 06/03/13, 20:49
Author
Steffen Gebert
Priority
Should have
TYPO3 version
4.6
Complexity
no-brainer
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback