problem linking to InnoDB info from Status page; problem showing InnoDB engine info

This commit is contained in:
Marc Delisle
2007-06-07 00:23:33 +00:00
parent f5018d7f61
commit af3dddae08
2 changed files with 5 additions and 4 deletions

View File

@@ -184,8 +184,9 @@ class PMA_StorageEngine
function getEngine($engine)
{
$engine = str_replace('/', '', str_replace('.', '', $engine));
if (file_exists('./libraries/engines/' . $engine . '.lib.php')
&& include_once './libraries/engines/' . $engine . '.lib.php') {
$engine_lowercase_filename = strtolower($engine);
if (file_exists('./libraries/engines/' . $engine_lowercase_filename . '.lib.php')
&& include_once './libraries/engines/' . $engine_lowercase_filename . '.lib.php') {
$class_name = 'PMA_StorageEngine_' . $engine;
$engine_object = new $class_name($engine);
} else {

View File

@@ -309,9 +309,9 @@ $links['Slow_queries']['MySQL - ' . $strDocu]
= $cfg['MySQLManualBase'] . '/slow-query-log.html';
$links['innodb'][$strServerTabVariables]
= 'server_engines.php?engine=innodb&' . PMA_generate_common_url();
= 'server_engines.php?engine=InnoDB&' . PMA_generate_common_url();
$links['innodb'][$strInnodbStat]
= 'server_engines.php?engine=innodb&page=status&' .
= 'server_engines.php?engine=InnoDB&page=Status&' .
PMA_generate_common_url();
$links['innodb']['MySQL - ' . $strDocu]
= $cfg['MySQLManualBase'] . '/innodb.html';