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:
parent
b79ef09bc6
commit
eb5e03b430
|
@ -234,9 +234,12 @@ function table_status($name = "") {
|
||||||
// ignore internal comment, unnecessary since MySQL 5.1.21
|
// ignore internal comment, unnecessary since MySQL 5.1.21
|
||||||
$row["Comment"] = preg_replace('~(?:(.+); )?InnoDB free: .*~', '\\1', $row["Comment"]);
|
$row["Comment"] = preg_replace('~(?:(.+); )?InnoDB free: .*~', '\\1', $row["Comment"]);
|
||||||
}
|
}
|
||||||
|
if (strlen($name)) {
|
||||||
|
return $row;
|
||||||
|
}
|
||||||
$return[$row["Name"]] = $row;
|
$return[$row["Name"]] = $row;
|
||||||
}
|
}
|
||||||
return (strlen($name) ? $return[$name] : $return);
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get status of referencable tables
|
/** Get status of referencable tables
|
||||||
|
|
Loading…
Reference in a new issue