]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Make sure the estLog() routine in the query planner handles negative
authordrh <drh@noemail.net>
Fri, 6 Jun 2014 20:20:09 +0000 (20:20 +0000)
committerdrh <drh@noemail.net>
Fri, 6 Jun 2014 20:20:09 +0000 (20:20 +0000)
commitc94b2f7d6b4c4b0f4864346c98601aee4c91f08c
tree53f50bf3afab7611fd4ded6a09e8db944c92d576
parent94aa7e091b2788dd81baf2f9e42999ea39a96d08
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
manifest
manifest.uuid
src/where.c