Free result

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@471 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2008-09-01 16:09:04 +00:00
parent 8b745113e6
commit ad5da46c68

View file

@ -59,6 +59,7 @@ if ($_POST) {
if ($select) {
$result = $mysql->query("SELECT " . implode(", ", $select) . " FROM " . idf_escape($_GET["edit"]) . " WHERE " . implode(" AND ", $where) . " LIMIT 1");
$row = $result->fetch_assoc();
$result->free();
} else {
$row = array();
}