SQLite

Check-in [43c59c8543]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a buffer overrun in the previous commit.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | query-planner-fix
Files: files | file ages | folders
SHA1: 43c59c85436dc8001c81f4aac7f5231b13d741cb
User & Date: dan 2014-08-08 17:25:33.967
Context
2014-08-08
17:49
Improvements to the way the query planner handles sorting costs, so that very large sorting costs do not overwhelm the loop costs. (check-in: bdaa694737 user: drh tags: trunk)
17:25
Fix a buffer overrun in the previous commit. (Closed-Leaf check-in: 43c59c8543 user: dan tags: query-planner-fix)
16:52
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 problem addressed by [2af630c572]. (check-in: 299b957027 user: dan tags: query-planner-fix)
Changes
Unified Diff Side-by-Side Diff Patch
Changes to src/where.c.