rowCountProbeCap top-level constant

int const rowCountProbeCap

Upper bound on rows scanned when counting a table for the listing. SQLite has no stored row count, so COUNT(*) is a full b-tree scan; the listing counts exactly only when a table is provably small, reading at most this many rows (omp's ROW_COUNT_PROBE_CAP).

Implementation

const rowCountProbeCap = 50000;