mirror of
https://github.com/vrana/adminer.git
synced 2026-01-05 07:10:38 +01:00
Remove InnoDB table comment in Tables and views
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@516 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -71,9 +71,7 @@ if ($_POST) {
|
||||
process_fields($row["fields"]);
|
||||
} elseif (strlen($_GET["create"])) {
|
||||
$row = table_status($_GET["create"]);
|
||||
if ($row["Engine"] == "InnoDB") {
|
||||
$row["Comment"] = preg_replace('~(?:(.+); )?InnoDB free: .*~', '\\1', $row["Comment"]);
|
||||
}
|
||||
table_comment($row);
|
||||
$row["name"] = $_GET["create"];
|
||||
$row["fields"] = array_values($orig_fields);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user