aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2014-08-08 16:52:28 +0000
committerdan <dan@noemail.net>2014-08-08 16:52:28 +0000
commit50ae31e6f678b476a8473df2b707c341029ce6cc (patch)
treee424e1f5aa5b570a59e28f3de14949d49b207e86 /src/os_unix.c
parent3c19bbea0abf6fa092f5a6a4eeb3a45655b0c5e5 (diff)
downloadsqlite-50ae31e6f678b476a8473df2b707c341029ce6cc.tar.gz
sqlite-50ae31e6f678b476a8473df2b707c341029ce6cc.zip
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
Diffstat (limited to 'src/os_unix.c')
0 files changed, 0 insertions, 0 deletions