improve wording in comment
This commit is contained in:
9
sql.php
9
sql.php
@@ -379,12 +379,11 @@ if (isset($GLOBALS['show_as_php']) || !empty($GLOBALS['validatequery'])) {
|
|||||||
// c o u n t q u e r y
|
// c o u n t q u e r y
|
||||||
|
|
||||||
// If we are "just browsing", there is only one table,
|
// If we are "just browsing", there is only one table,
|
||||||
// and no where clause (or just 'WHERE 1 '),
|
// and no WHERE clause (or just 'WHERE 1 '),
|
||||||
// so we do a quick count (which uses MaxExactCount)
|
// we do a quick count (which uses MaxExactCount) because
|
||||||
// because SQL_CALC_FOUND_ROWS
|
// SQL_CALC_FOUND_ROWS is not quick on large InnoDB tables
|
||||||
// is not quick on large InnoDB tables
|
|
||||||
|
|
||||||
// but do not count again if we did it previously
|
// However, do not count again if we did it previously
|
||||||
// due to $find_real_end == true
|
// due to $find_real_end == true
|
||||||
|
|
||||||
if (!$is_group
|
if (!$is_group
|
||||||
|
Reference in New Issue
Block a user