problem linking to InnoDB info from Status page; problem showing InnoDB engine info
This commit is contained in:
@@ -184,8 +184,9 @@ class PMA_StorageEngine
|
|||||||
function getEngine($engine)
|
function getEngine($engine)
|
||||||
{
|
{
|
||||||
$engine = str_replace('/', '', str_replace('.', '', $engine));
|
$engine = str_replace('/', '', str_replace('.', '', $engine));
|
||||||
if (file_exists('./libraries/engines/' . $engine . '.lib.php')
|
$engine_lowercase_filename = strtolower($engine);
|
||||||
&& include_once './libraries/engines/' . $engine . '.lib.php') {
|
if (file_exists('./libraries/engines/' . $engine_lowercase_filename . '.lib.php')
|
||||||
|
&& include_once './libraries/engines/' . $engine_lowercase_filename . '.lib.php') {
|
||||||
$class_name = 'PMA_StorageEngine_' . $engine;
|
$class_name = 'PMA_StorageEngine_' . $engine;
|
||||||
$engine_object = new $class_name($engine);
|
$engine_object = new $class_name($engine);
|
||||||
} else {
|
} else {
|
||||||
|
@@ -309,9 +309,9 @@ $links['Slow_queries']['MySQL - ' . $strDocu]
|
|||||||
= $cfg['MySQLManualBase'] . '/slow-query-log.html';
|
= $cfg['MySQLManualBase'] . '/slow-query-log.html';
|
||||||
|
|
||||||
$links['innodb'][$strServerTabVariables]
|
$links['innodb'][$strServerTabVariables]
|
||||||
= 'server_engines.php?engine=innodb&' . PMA_generate_common_url();
|
= 'server_engines.php?engine=InnoDB&' . PMA_generate_common_url();
|
||||||
$links['innodb'][$strInnodbStat]
|
$links['innodb'][$strInnodbStat]
|
||||||
= 'server_engines.php?engine=innodb&page=status&' .
|
= 'server_engines.php?engine=InnoDB&page=Status&' .
|
||||||
PMA_generate_common_url();
|
PMA_generate_common_url();
|
||||||
$links['innodb']['MySQL - ' . $strDocu]
|
$links['innodb']['MySQL - ' . $strDocu]
|
||||||
= $cfg['MySQLManualBase'] . '/innodb.html';
|
= $cfg['MySQLManualBase'] . '/innodb.html';
|
||||||
|
Reference in New Issue
Block a user