From a95837729ff85bd4b0144cfa9d149e14b5fd6fc4 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sat, 31 Jul 2004 15:06:55 +0000 Subject: [PATCH] yet another PMA_DBI_free_result() --- ChangeLog | 5 +++-- tbl_replace.php | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8ff64b4ef..50333a6d7 100755 --- a/ChangeLog +++ b/ChangeLog @@ -6,8 +6,9 @@ $Id$ $Source$ 2004-07-31 Alexander M. Turek - * tbl_change.php, libraries/relation.lib.php: Small optimizations, freed - some results. + * tbl_change.php, tbl_replace.php, libraries/relation.lib.php: Small + optimizations, freed some results (thanks to Marc for the one in + tbl_replace.php). * lang/sync_lang.sh: Updated sync script for the new names of the chinese language files. diff --git a/tbl_replace.php b/tbl_replace.php index 1817e03e5..a960ca27a 100644 --- a/tbl_replace.php +++ b/tbl_replace.php @@ -217,6 +217,8 @@ foreach ($query AS $query_index => $single_query) { $last_message .= '
'.$strInsertedRowId . ' ' . $insert_id; } } // end if + PMA_DBI_free_result($result); + unset($result); } if ($total_affected_rows != 0) {