diff --git a/ChangeLog b/ChangeLog index 720df80b5..5e7bc7684 100755 --- a/ChangeLog +++ b/ChangeLog @@ -6,7 +6,8 @@ $Id$ $Source$ 2004-07-31 Alexander M. Turek - * libraries/relation.lib.php: Small optimizations, freed some results. + * tbl_change.php, libraries/relation.lib.php: Small optimizations, freed + some results. 2004-07-30 Alexander M. Turek * lang/chinese_*.inc.php, libraries/select_lang.lib.php: More consistant diff --git a/tbl_change.php b/tbl_change.php index bd9e11e13..c8668cfbe 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -90,9 +90,9 @@ if (isset($primary_key)) { $result = array(); foreach ($primary_key_array AS $rowcount => $primary_key) { $local_query = 'SELECT * FROM ' . PMA_backquote($table) . ' WHERE ' . $primary_key . ';'; - $result[$rowcount] = PMA_DBI_query($local_query, NULL, PMA_DBI_QUERY_STORE); + $result[$rowcount] = PMA_DBI_query($local_query); $row[$rowcount] = PMA_DBI_fetch_assoc($result[$rowcount]); - //PMA_DBI_free_result($result[$rowcount]); + PMA_DBI_free_result($result[$rowcount]); $primary_keys[$rowcount] = $primary_key; // No row returned