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