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) {