Do not free result, we need it later.

This commit is contained in:
Michal Čihař
2004-08-06 15:26:58 +00:00
parent dbd97eca13
commit 8f62277a4b
2 changed files with 3 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2004-08-06 Michal Čihař <michal@cihar.com>
* tbl_change.php: Do not free result, we need it later.
2004-08-05 Marc Delisle <lem9@users.sourceforge.net> 2004-08-05 Marc Delisle <lem9@users.sourceforge.net>
(Patches from Michael Keck) (Patches from Michael Keck)
* index.php: names and ids for framesets in the noscript section * index.php: names and ids for framesets in the noscript section

View File

@@ -92,7 +92,6 @@ if (isset($primary_key)) {
$local_query = 'SELECT * FROM ' . PMA_backquote($table) . ' WHERE ' . $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, NULL, PMA_DBI_QUERY_STORE);
$row[$rowcount] = PMA_DBI_fetch_assoc($result[$rowcount]); $row[$rowcount] = PMA_DBI_fetch_assoc($result[$rowcount]);
PMA_DBI_free_result($result[$rowcount]);
$primary_keys[$rowcount] = $primary_key; $primary_keys[$rowcount] = $primary_key;
// No row returned // No row returned