Exact found rows except MySQL and PgSQL

This commit is contained in:
Jakub Vrana
2026-02-01 03:52:38 +01:00
parent 68e8b5bf69
commit a5ec07a77d

View File

@@ -503,7 +503,7 @@ if (!$columns && support("table")) {
if (intval($found_rows) < max(1e4, 2 * ($page + 1) * $limit)) {
// slow with big tables
$found_rows = first(slow_query(count_rows($TABLE, $where, $is_group, $group)));
} else {
} elseif (JUSH == 'sql' || JUSH == 'pgsql') {
$exact_count = false;
}
}