diff options
author | drh <> | 2022-04-27 16:41:56 +0000 |
---|---|---|
committer | drh <> | 2022-04-27 16:41:56 +0000 |
commit | 609959285bc035aa18da0d89bea484e1b5432105 (patch) | |
tree | 78ef4c354277499766150e0fb643518026b77d37 /src/sqliteInt.h | |
parent | 9684d71081fd07cd79f2738f7bfd83cde3aa49a0 (diff) | |
download | sqlite-609959285bc035aa18da0d89bea484e1b5432105.tar.gz sqlite-609959285bc035aa18da0d89bea484e1b5432105.zip |
When computing STAT1 values using ANALYZE, if a ratio comes out to be between
1.0 and 1.1, then round it down to 1 rather than the using the default rounding
rule of changing it to 2. The reduces the estimation error for the
case where a column value is very nearly, but not quite unique.
FossilOrigin-Name: eb59c46a5aed69bc6fd096997bf24c082e533c1085439f6ec1fbe5ff78e8b374
Diffstat (limited to 'src/sqliteInt.h')
0 files changed, 0 insertions, 0 deletions