mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 12:21:24 +02:00
Proper handling of lower_case_table_names
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1259 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -234,9 +234,12 @@ function table_status($name = "") {
|
||||
// ignore internal comment, unnecessary since MySQL 5.1.21
|
||||
$row["Comment"] = preg_replace('~(?:(.+); )?InnoDB free: .*~', '\\1', $row["Comment"]);
|
||||
}
|
||||
if (strlen($name)) {
|
||||
return $row;
|
||||
}
|
||||
$return[$row["Name"]] = $row;
|
||||
}
|
||||
return (strlen($name) ? $return[$name] : $return);
|
||||
return $return;
|
||||
}
|
||||
|
||||
/** Get status of referencable tables
|
||||
|
Reference in New Issue
Block a user