SQLite

Check-in [ebf819aaa5]
Login

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

Overview
Comment:Use OP_SorterOpen instead of OP_OpenEphemeral to implement GROUP BY.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | merge-sort
Files: files | file ages | folders
SHA1: ebf819aaa555bd79fddfc0a6f9827a2539095d6c
User & Date: drh 2011-09-01 16:01:27.777
Context
2011-09-02
10:31
Instead of a temporary b-tree, use a linked-list and merge-sort to sort records in main memory in vdbesort.c. (check-in: 7769fb988d user: dan tags: merge-sort)
2011-09-01
16:01
Use OP_SorterOpen instead of OP_OpenEphemeral to implement GROUP BY. (check-in: ebf819aaa5 user: drh tags: merge-sort)
15:32
Experimental code-generator changes to utilize new opcodes for sorting. (check-in: bab2e560f6 user: drh tags: merge-sort)
Changes
Unified Diff Side-by-Side Diff Patch
Changes to src/select.c.
Changes to test/distinct.test.