]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Because SQLite internally calculates query plan costs using a logarithmic scale,...
authordan <dan@noemail.net>
Fri, 8 Aug 2014 16:52:28 +0000 (16:52 +0000)
committerdan <dan@noemail.net>
Fri, 8 Aug 2014 16:52:28 +0000 (16:52 +0000)
commit50ae31e6f678b476a8473df2b707c341029ce6cc
treee424e1f5aa5b570a59e28f3de14949d49b207e86
parent3c19bbea0abf6fa092f5a6a4eeb3a45655b0c5e5
Because SQLite internally calculates query plan costs using a logarithmic scale, very large estimated sorting costs can cause all other estimated costs to be rounded down to zero. In these cases break ties between plans with the same total cost by comparing the costs with sorting excluded. This is an alternative fix for the same problem as addressed by [2af630c572].

FossilOrigin-Name: 299b9570279ded7158d22349ef93384286a5c755
manifest
manifest.uuid
src/where.c
src/whereInt.h