Ignore InnoDB comment
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@165 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
222fc78685
commit
ad7c79b100
|
@ -74,6 +74,9 @@ if ($_POST) {
|
|||
}
|
||||
} elseif (strlen($_GET["create"])) {
|
||||
$row = table_status($_GET["create"]);
|
||||
if ($row["Engine"] == "InnoDB") {
|
||||
$row["Comment"] = preg_replace('~(?:(.+); )?InnoDB free: .*~', '\\1', $row["Comment"]);
|
||||
}
|
||||
$row["name"] = $_GET["create"];
|
||||
$row["fields"] = array_values(fields($_GET["create"]));
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue