Detailed storage engines status information.

This commit is contained in:
Alexander M. Turek
2005-01-15 00:04:32 +00:00
parent a47d428faf
commit 36bb21a53d
106 changed files with 981 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
/* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* Library for extracting information about the available storage engines
*
* Requires at least MySQL 4.1.2
* TODO: Emulation for earlier versions.
*/
$GLOBALS['mysql_storage_engines'] = array();
$res = PMA_DBI_query('SHOW STORAGE ENGINES');
while ($row = PMA_DBI_fetch_assoc($res)) {
$GLOBALS['mysql_storage_engines'][strtolower($row['Engine'])] = $row;
}
PMA_DBI_free_result($res);
unset($res, $row);
?>