Free temporary query result.
This commit is contained in:
@@ -16,6 +16,7 @@ $Source$
|
||||
detection to only place where it is currently used.
|
||||
* header.inc.php, css/phpmyadmin.css.php: Define CSS normal way and not
|
||||
by writing through JavaScript.
|
||||
* libraries/get_foreign.lib.php: Free temporary query result.
|
||||
|
||||
2005-10-13 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* left.php: preselect db if only one db
|
||||
|
@@ -46,6 +46,7 @@ if ($foreigners && isset($foreigners[$field])) {
|
||||
$res = PMA_DBI_query('SELECT COUNT(*)' . $f_query_from . $f_query_filter);
|
||||
if ($res) {
|
||||
$the_total = PMA_DBI_fetch_value($res);
|
||||
@PMA_DBI_free_result($res);
|
||||
} else {
|
||||
$the_total = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user