Free result
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@471 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
8b745113e6
commit
ad5da46c68
|
@ -59,6 +59,7 @@ if ($_POST) {
|
||||||
if ($select) {
|
if ($select) {
|
||||||
$result = $mysql->query("SELECT " . implode(", ", $select) . " FROM " . idf_escape($_GET["edit"]) . " WHERE " . implode(" AND ", $where) . " LIMIT 1");
|
$result = $mysql->query("SELECT " . implode(", ", $select) . " FROM " . idf_escape($_GET["edit"]) . " WHERE " . implode(" AND ", $where) . " LIMIT 1");
|
||||||
$row = $result->fetch_assoc();
|
$row = $result->fetch_assoc();
|
||||||
|
$result->free();
|
||||||
} else {
|
} else {
|
||||||
$row = array();
|
$row = array();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue