Task #68472
closedCall sql_free_result() on DB-results when no longer needed
0%
Description
Currently we don't free the results in a lot of places. Everywhere one of the following functions is called, a result is returned - and as such a sql_free_result($res) is needed to be clean (save resources).
$ grep -E "return(.*)mysqli_result" typo3/sysext/core/Classes/Database/DatabaseConnection.php -A2 | grep function
public function exec_INSERTquery($table, $fields_values, $no_quote_fields = FALSE) {
public function exec_INSERTmultipleRows($table, array $fields, array $rows, $no_quote_fields = FALSE) {
public function exec_UPDATEquery($table, $where, $fields_values, $no_quote_fields = FALSE) {
public function exec_DELETEquery($table, $where) {
public function exec_SELECTquery($select_fields, $from_table, $where_clause, $groupBy = '', $orderBy = '', $limit = '') {
protected function query($query) {
public function sql_query($query) {
public function admin_query($query) {