mirror of
https://github.com/vrana/adminer.git
synced 2025-11-18 02:50:39 +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"])) {
|
} elseif (strlen($_GET["create"])) {
|
||||||
$row = table_status($_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["name"] = $_GET["create"];
|
||||||
$row["fields"] = array_values(fields($_GET["create"]));
|
$row["fields"] = array_values(fields($_GET["create"]));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user