mirror of
https://github.com/vrana/adminer.git
synced 2026-02-28 01:21:25 +01:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user