mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 12:00:41 +02:00
Create information_schema function
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@751 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -331,3 +331,8 @@ function table_comment(&$row) {
|
||||
$row["Comment"] = preg_replace('~(?:(.+); )?InnoDB free: .*~', '\\1', $row["Comment"]);
|
||||
}
|
||||
}
|
||||
|
||||
function information_schema($db) {
|
||||
global $dbh;
|
||||
return ($dbh->server_info >= 5 && $db == "information_schema");
|
||||
}
|
||||
|
Reference in New Issue
Block a user