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:
jakubvrana 2007-07-14 07:06:14 +00:00
parent 222fc78685
commit ad7c79b100

View file

@ -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 {