mirror of
https://github.com/vrana/adminer.git
synced 2025-11-17 18:40:40 +01:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user