Do not free result, we need it later.
This commit is contained in:
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user