Free result in table_status
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@553 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
96eec31be0
commit
6d4c0c5377
|
@ -53,7 +53,9 @@ function get_databases() {
|
|||
function table_status($table) {
|
||||
global $mysql;
|
||||
$result = $mysql->query("SHOW TABLE STATUS LIKE '" . $mysql->escape_string(addcslashes($table, "%_")) . "'");
|
||||
return $result->fetch_assoc();
|
||||
$return = $result->fetch_assoc();
|
||||
$result->free();
|
||||
return $return;
|
||||
}
|
||||
|
||||
function fields($table) {
|
||||
|
|
Loading…
Reference in a new issue