Undefined variable: db_is_information_schema
This commit is contained in:
@@ -8,6 +8,7 @@ $Source$
|
||||
2005-11-06 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* libraries/display_tbl.lib.php:
|
||||
bug #985399 MIME-based in print view / need to select the pk
|
||||
* db_details_db_info.php: Undefined variable: db_is_information_schema
|
||||
|
||||
2005-11-06 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* lang/norwegian: Update, thanks to Sven-Erik Andersen
|
||||
|
@@ -9,6 +9,13 @@ require_once('./libraries/common.lib.php');
|
||||
|
||||
PMA_checkParameters(array('db'));
|
||||
|
||||
if ( PMA_MYSQL_INT_VERSION >= 50002 && $db == 'information_schema' ) {
|
||||
$cfg['ShowStats'] = false;
|
||||
$db_is_information_schema = true;
|
||||
} else {
|
||||
$db_is_information_schema = false;
|
||||
}
|
||||
|
||||
function fillTooltip( &$tooltip_truename, &$tooltip_aliasname, &$tmp ) {
|
||||
$tooltip_truename[$tmp['Name']] = ($GLOBALS['cfg']['ShowTooltipAliasTB'] && $GLOBALS['cfg']['ShowTooltipAliasTB'] != 'nested' ? (!empty($tmp['Comment']) ? $tmp['Comment'] . ' ' : $tmp['Name']) : $tmp['Name']);
|
||||
$tooltip_aliasname[$tmp['Name']] = ($GLOBALS['cfg']['ShowTooltipAliasTB'] && $GLOBALS['cfg']['ShowTooltipAliasTB'] != 'nested' ? $tmp['Name'] : (!empty($tmp['Comment']) ? $tmp['Comment'] . ' ' : $tmp['Name']));
|
||||
|
Reference in New Issue
Block a user