remove unused variables
This commit is contained in:
parent
237adf4026
commit
76f871585d
@ -126,7 +126,6 @@ function getServerTrafficHtml($ServerStatusData)
|
||||
PMA_replication_print_status_table($type);
|
||||
}
|
||||
}
|
||||
unset($types);
|
||||
}
|
||||
|
||||
$retval .= '<table id="serverstatustraffic" class="data noclick">';
|
||||
|
||||
@ -93,7 +93,6 @@ function getQueryStatisticsHtml($ServerStatusData)
|
||||
arsort($used_queries);
|
||||
|
||||
$odd_row = true;
|
||||
$count_displayed_rows = 0;
|
||||
$perc_factor = 100 / $total_queries; //(- $ServerStatusData->status['Connections']);
|
||||
|
||||
$retval .= '<table id="serverstatusqueriesdetails" class="data sortable noclick">';
|
||||
|
||||
4
sql.php
4
sql.php
@ -356,7 +356,7 @@ $displayResultsObject->setConfigParamsForDisplayTable();
|
||||
* Need to find the real end of rows?
|
||||
*/
|
||||
if (isset($find_real_end) && $find_real_end) {
|
||||
$unlim_num_rows = PMA_Table::countRecords($db, $table, $force_exact = true);
|
||||
$unlim_num_rows = PMA_Table::countRecords($db, $table, true);
|
||||
$_SESSION['tmp_user_values']['pos'] = @((ceil(
|
||||
$unlim_num_rows / $_SESSION['tmp_user_values']['max_rows']
|
||||
) - 1) * $_SESSION['tmp_user_values']['max_rows']);
|
||||
@ -1482,7 +1482,7 @@ function getTableHtmlForMultipleQueries(
|
||||
$analyzed_sql = PMA_SQP_analyze($parsed_sql);
|
||||
$is_select = isset($analyzed_sql[0]['queryflags']['select_from']);
|
||||
$unlim_num_rows = PMA_Table::countRecords(
|
||||
$db, $table, $force_exact = true
|
||||
$db, $table, true
|
||||
);
|
||||
$showtable = PMA_Table::sGetStatusInfo($db, $table, null, true);
|
||||
$url_query = PMA_generate_common_url($db, $table);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user