Merge branch 'MAINT_4_5_4' into QA_4_5

This commit is contained in:
Michal Čihař 2016-01-19 11:59:45 +01:00
commit a11475efe3

View File

@ -1093,6 +1093,11 @@ function PMA_countQueryResults(
$num_rows, $justBrowsing, $db, $table, $analyzed_sql_results
) {
/* Shortcut for not analyzed/empty query */
if (empty($analyzed_sql_results)) {
return 0;
}
if (!PMA_isAppendLimitClause($analyzed_sql_results)) {
// if we did not append a limit, set this to get a correct
// "Showing rows..." message