mirror of
https://github.com/vrana/adminer.git
synced 2025-11-18 02:50:39 +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:
@@ -334,3 +334,9 @@ function shorten_utf8($string, $length) {
|
||||
}
|
||||
return nl2br(htmlspecialchars($string));
|
||||
}
|
||||
|
||||
function table_comment(&$row) {
|
||||
if ($row["Engine"] == "InnoDB") {
|
||||
$row["Comment"] = preg_replace('~(?:(.+); )?InnoDB free: .*~', '\\1', $row["Comment"]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user