SQLite

Timeline
Login

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

6 check-ins using file src/wherecode.c version 2a2d2993fd

2025-07-08
22:11
Fix a possible user-after free following OOM in the EXISTS-to-JOIN optimization. (Leaf check-in: 498ee8d514 user: drh tags: trunk)
20:28
Adjustments to test/incrblob4.test so that it works on both Linux and Mac in spite of error message differences between those platforms. Minor change to termIsEquivalent() to provide 100% MC/DC. (check-in: 720387f860 user: drh tags: trunk)
19:53
New optimizations to detect early when queries return no rows due to tables being empty. This includes the EXISTS-to-JOIN optimization that tries to transform EXISTS constraints into additional terms of the FROM clause. (check-in: e33da6d5dc user: drh tags: trunk)
17:28
Enable the EXISTS-to-JOIN optimization if the outer query has no FROM clause. (Closed-Leaf check-in: 1b9b124f9a user: drh tags: empty-table-optimizations)
2025-07-07
19:03
Small performance optimization in the resolver. (check-in: 840646df06 user: drh tags: empty-table-optimizations)
18:35
Merge the latest trunk enhancements and fixes into the empty-table-optimizations branch. (check-in: f15cdf0757 user: drh tags: empty-table-optimizations)