/ Check-in [43c59c85]
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 | SQL 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
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: bdaa6947 user: drh tags: trunk
17:25
Fix a buffer overrun in the previous commit. Closed-Leaf check-in: 43c59c85 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: 299b9570 user: dan tags: query-planner-fix
Changes
Unified Diffs Side-by-Side Diffs Patch

Changes to src/where.c.