free yet another result

This commit is contained in:
Alexander M. Turek
2004-07-31 10:56:22 +00:00
parent e0b4565515
commit 156ead02a9
2 changed files with 4 additions and 3 deletions

View File

@@ -6,7 +6,8 @@ $Id$
$Source$
2004-07-31 Alexander M. Turek <me@derrabus.de>
* 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 <me@derrabus.de>
* lang/chinese_*.inc.php, libraries/select_lang.lib.php: More consistant

View File

@@ -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