diff options
author | drh <drh@noemail.net> | 2014-06-06 20:20:09 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-06-06 20:20:09 +0000 |
commit | c94b2f7d6b4c4b0f4864346c98601aee4c91f08c (patch) | |
tree | 53f50bf3afab7611fd4ded6a09e8db944c92d576 /ext/misc/compress.c | |
parent | 94aa7e091b2788dd81baf2f9e42999ea39a96d08 (diff) | |
download | sqlite-c94b2f7d6b4c4b0f4864346c98601aee4c91f08c.tar.gz sqlite-c94b2f7d6b4c4b0f4864346c98601aee4c91f08c.zip |
Make sure the estLog() routine in the query planner handles negative
values correctly (always returning 1). Prior to this change, estLog(-1)
would return a large number which could throw off the cost computations
in the query planner in obscure circumstances.
FossilOrigin-Name: 75437bee4905949c66dc7694ea234d4d5aefd981
Diffstat (limited to 'ext/misc/compress.c')
0 files changed, 0 insertions, 0 deletions