Free temporary query result.

This commit is contained in:
Michal Čihař
2005-10-13 15:42:52 +00:00
parent 2287fd9927
commit acf06caecc
2 changed files with 2 additions and 0 deletions

View File

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