]> git.ipfire.org Git - thirdparty/sqlite.git/commit
In sqlite_stat1, revert the number of rows to the average, not adjusted for
authordrh <>
Sat, 30 Dec 2023 22:00:37 +0000 (22:00 +0000)
committerdrh <>
Sat, 30 Dec 2023 22:00:37 +0000 (22:00 +0000)
commite3da549b9c0a05b8bf1d5b4712883a9061de07b1
tree4e254b3313578aa719ddf035550e39ac9ad6dd4a
parent0e50bd3c317cf56c324f64e48f85bc03c797a372
In sqlite_stat1, revert the number of rows to the average, not adjusted for
the maximum.  Instead add "uneven=NNN" where NNN is a multiplier to apply to
the average to get the maximum.  "uneven" is only reported if NNN is 10 or more.
Also add the "slow" argument is the maximum number of rows reported by a
full equality match is so large that a table scan seems likely to be faster.

FossilOrigin-Name: 41773fa760f10964b3f276a9a45f7e32df0082b516edc76d70609e7eb5f81b14
manifest
manifest.uuid
src/analyze.c
src/sqliteInt.h
src/where.c