[config] new parameter $cfg['Servers'][$i]['CountTables'] = true; set to false for speed improvements with many databases
This commit is contained in:
@@ -432,8 +432,11 @@ require_once './libraries/List.class.php';
|
|||||||
if ($db['name'] == $selected) {
|
if ($db['name'] == $selected) {
|
||||||
$return .= ' selected="selected"';
|
$return .= ' selected="selected"';
|
||||||
}
|
}
|
||||||
$return .= '>' . htmlspecialchars($cut ? $db['disp_name_cut'] : $db['disp_name'])
|
$return .= '>' . htmlspecialchars($cut ? $db['disp_name_cut'] : $db['disp_name']);
|
||||||
.' (' . $db['num_tables'] . ')</option>' . "\n";
|
if (! empty($db['num_tables'])) {
|
||||||
|
$return .= ' (' . $db['num_tables'] . ')';
|
||||||
|
}
|
||||||
|
$return .= '</option>' . "\n";
|
||||||
}
|
}
|
||||||
if (count($dbs) > 1) {
|
if (count($dbs) > 1) {
|
||||||
$return .= '</optgroup>' . "\n";
|
$return .= '</optgroup>' . "\n";
|
||||||
|
Reference in New Issue
Block a user