1
0
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:
jakubvrana
2009-06-22 09:58:58 +00:00
parent 409f968295
commit 607e104fa1
4 changed files with 9 additions and 5 deletions

View File

@@ -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");
}