Actions
Bug #60457
closedFix result value of DatabaseConnection::sql_free_result()
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2014-07-22
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
public function sql_free_result($res) { if ($this->debug_check_recordset($res) && is_object($res)) { return $res->free(); } else { return FALSE; } }
In case of success the current implementation returns the result of $res->free(). Unfortunately free() doesn't return anything.
Solution:
Return TRUE in case of success
Updated by Markus Klein over 10 years ago
- Status changed from New to Under Review
Updated by Stefano Kowalke over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b0a53b872eac90241add5128b649ecbc9010392d.
Actions