summaryrefslogtreecommitdiff
path: root/src/vdbesort.c
AgeCommit message (Expand)AuthorLines
2026-08-10Replace the EIGHT_BYTE_U64 macro with the in-line function sqlite3Get8byte()drh-38/+3
2026-08-04The sorter enhancement at [bdc841de10fef65b] contains a bug where itdrh-6/+13
2026-08-03Improved comparison function for the sorter, using the idea demonstrateddrh-5/+184
2025-09-25Include writes to temp files by sort operations in the SQLITE_DBSTATUS_SPILL ...dan-4/+16
2025-06-02Remove an unnecessary parameter from sqlite3VdbeRecordUnpack(). Improveddrh-3/+5
2025-06-02Fix stale comments related to KeyInfo. Add new assert()s associated withdrh-1/+7
2025-06-01Fix an off-by-one error in the size computation of a vdbe-sorter.drh-1/+1
2025-03-14Make use of the flexible-array feature of C99, when available, to try todrh-3/+6
2025-03-01Add an assert() in vdbesort.c to help both humans and static analyzer AIsdrh-0/+4
2025-02-17Code changes that make it easier to prove that no 32-bit integer overflowsdrh-2/+4
2024-08-07Add a new assert() to help static analyzers understand that a pointer isdrh-0/+1
2024-08-07Fix a harmless compiler warning in an assert().drh-1/+1
2024-02-07Turns out the branch is reachable, so back out the NEVER().drh-1/+1
2024-01-24Add NEVER() to a branch that is no longer reachable.drh-1/+1
2023-10-06Increase the size of some variables associated with the PMA sorter in orderdrh-4/+4
2023-06-07Fix straggler misspellings and tidy the custom dictionary. Also include picku...larrybr-1/+1
2023-06-07Add a C-source spell-checking facility. make misspell (on Nix)larrybr-106/+106
2022-01-03Small performance and size optimization to allocateCursor().drh-1/+2
2021-10-28Minor changes to make it easier for static analyzers to reason about the code.drh-0/+1
2021-10-23Fix the memdb VFS so that it does not allow mmap if it is resizable, and sodrh-1/+1
2021-06-15Add NULL checks on all sqlite3_vfs_find(0) calls. This is not strictlydrh-2/+3
2020-09-07Fix another (harmless in practice) tsan error in shared-cache mode.dan-1/+4
2020-01-28Faster decoding of 32-bit variable-length integers in cases were we do notdrh-3/+3
2019-10-07Omit a pointless memory allocation in vdbeSorterSort().drh-8/+3
2019-08-12Experimental implementation of NULLS FIRST/LAST. This branch still has proble...dan-2/+5
2019-07-16Add new assert() statements in an attempt to help static analyzers avoiddrh-2/+5
2019-04-16Avoid a sanitizer error (pointer arithmatic overflow) in vdbesort.c.dan-3/+7
2019-04-13Enforce the SQLITE_LIMIT_COLUMN limit on virtual tables.drh-2/+2
2018-08-21Further attempts to reduce the number of false-positives genenerated bydrh-1/+6
2017-08-28Remove the rarely-used scratch memory allocator. This makes the code smaller,drh-5/+3
2017-08-02In the KeyInfo object, refactor the nField and nXField elements intodrh-8/+7
2017-05-30Change sqlite3BtreeNext() and sqlite3BtreePrevious() so that they returndrh-6/+11
2017-05-27Smaller and faster vdbeSorterCompareText().drh-3/+3
2017-04-03Slightly smaller and faster implementation for vdbeSorterCompareInt().drh-27/+26
2016-12-21Simplifications to the way UnpackedRecord objects are allocated. Smallerdrh-9/+3
2016-12-10Reorder the fields in the VdbeCursor object so that those that need to bedrh-1/+1
2016-05-20Optimizations to link list merge sort code in vdbesort.c, pcache.c, anddrh-9/+16
2016-04-14Correctly interpret negative "PRAGMA cache_size" values when determining the ...dan-3/+11
2016-02-19Fix a harmless uninitialized variable access.drh-1/+1
2016-02-13Enhance ability to debug out-of-memory errors.mistachkin-18/+18
2016-01-29Avoid two more instances of pointer arithmetic on freed pointers.dan-3/+2
2016-01-25Fix a compiler warning about doing pointer arithmetic involving a NULL pointerdrh-1/+3
2016-01-12Fix a harmless use of an uninitialized variable following system errorsdrh-1/+1
2015-11-20Refactor the VdbeCursor object. It is now slightly smaller and faster and isdrh-11/+25
2015-10-14Fix harmless compiler warnings.mistachkin-1/+1
2015-05-02Reorganize some multi-threaded code in vdbesort.c so that full MC/DC test cov...dan-71/+95
2015-04-13Remove an unreachable branch from the vdbeSorterCompareInt() routine.drh-1/+2
2015-04-11Optimizations for VACUUM, CREATE INDEX and some cases of ORDER BY.dan-22/+200
2015-04-11Fix a problem with sorting large amounts of partially ordered data.dan-7/+2
2015-04-02Fix a problem in vdbesort.c to do with caching unpacked records.dan-1/+1