sqlite/src
drh d40807ddef Performance improvements to the external merge-sorter. Keep content on an
in-memory linked lists rather than an ephemeral table prior to spilling to
disk.  Use the external merge-sorter to implement ORDER BY and GROUP BY
in addition to CREATE INDEX.

FossilOrigin-Name: 4c43e8b2d2c1d8dcba3cd1c3f2ec4e19ab419430
2011-09-03 17:07:26 +00:00
..
alter.c Create and use a function especially for adding the ParseSchema opcode. 2011-06-03 20:11:17 +00:00
analyze.c If the keyword "unordered" appears at the end of the SQLITE_STAT1.STAT 2011-04-09 03:20:59 +00:00
attach.c Simplify the wal-readonly branch so that it does not require changes to 2011-06-01 20:01:49 +00:00
auth.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
backup.c Reorder some of the branches in backup.c in order to make the code 2011-08-25 20:18:47 +00:00
bitvec.c Make the size of a Bitvec object 512 bytes on all platforms, instead of 2010-08-05 11:56:01 +00:00
btmutex.c Fix a performance regression: Keep two btree masks in each prepared 2011-04-06 22:05:53 +00:00
btree.c Remove some dead code. Fix a faulty assert(). Improve some variable names. 2011-09-02 21:42:33 +00:00
btree.h Instead of a temporary b-tree, use a linked-list and merge-sort to sort records in main memory in vdbesort.c. 2011-09-02 10:31:11 +00:00
btreeInt.h Suppress many harmless compiler warnings, mostly signed/unsigned comparisons 2011-04-05 22:08:24 +00:00
build.c The build works again with -DSQLITE_OMIT_MERGE_SORT. The merge-sorter now 2011-09-03 00:17:51 +00:00
callback.c Rename sqlite3SchemaFree() to sqlite3SchemaClear() to more accurately reflect 2011-04-04 13:40:53 +00:00
complete.c Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging 2010-02-23 17:36:32 +00:00
ctime.c Add the SQLITE_MAX_SCHEMA_RETRY compile-time option to the set of options 2011-08-31 20:47:50 +00:00
date.c Fix some harmless compiler warnings that were occurring with THREADSAFE=0. 2011-06-24 11:29:51 +00:00
delete.c Experimental changes to improve optimization of DISTINCT queries. 2011-06-30 20:17:15 +00:00
expr.c Instead of a temporary b-tree, use a linked-list and merge-sort to sort records in main memory in vdbesort.c. 2011-09-02 10:31:11 +00:00
fault.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
fkey.c Remove an unreachable branch in the FK code. 2011-08-22 20:33:12 +00:00
func.c Fix a couple of compiler warnings. 2011-06-15 12:43:36 +00:00
global.c Add a missing initializer for sqlite3GlobalConfig.bLocaltimeFault. 2011-06-21 15:27:54 +00:00
hash.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
hash.h Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
hwtime.h Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
insert.c Add support for on conflict clauses to fts3/fts4. 2011-04-25 18:49:57 +00:00
journal.c Tweaks to the new shared-memory interface design - mostly comment changes. 2010-07-13 23:41:40 +00:00
legacy.c Continuing improvements to error reporting and the sqlite3_log() routine. 2010-02-23 20:11:56 +00:00
lempar.c Enhancements to lemon to generate more compact action tables and to avoid 2009-11-03 19:18:31 +00:00
loadext.c Changes to allow FTS to be compiled as a loadable module again. 2011-06-28 07:15:43 +00:00
main.c Add the SQLITE_EXTRA_INIT macro. 2011-08-25 00:14:41 +00:00
malloc.c Fix a bug in memory usage tracking that was introduced by 2011-05-05 17:00:51 +00:00
mem0.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
mem1.c Add evidence mark comments to source code. Add additional information to the 2010-08-31 15:27:32 +00:00
mem2.c Add evidence mark comments to source code. Add additional information to the 2010-08-31 15:27:32 +00:00
mem3.c Add a target to main.mk that will fail if the amalgamation contains any exported symbols that do not begin with "sqlite3_". Run this target from within releasetest.tcl. Add "static" to a couple of private functions in mem3.c. 2011-07-07 08:19:16 +00:00
mem5.c Suppress many harmless compiler warnings, mostly signed/unsigned comparisons 2011-04-05 22:08:24 +00:00
memjournal.c Fix a comment typo in memjournal.c 2010-09-16 23:18:57 +00:00
mutex_noop.c Make walIndexTryHdr() a private function. Fix an issue with SQLITE_MUTEX_NOOP. 2010-06-26 22:16:02 +00:00
mutex_os2.c Updates to the OS/2 patches. This change also move the location of a global 2011-04-11 15:36:26 +00:00
mutex_unix.c Update mutex1.test so that it works with the memsubsys1 permutation (pagecache memory). Change a few instances of SQLITE_MUTEX_STATIC_LRU2 in comments and test code to STATIC_PMEM. 2011-01-26 07:25:32 +00:00
mutex_w32.c Fix cut-and-paste typo in debugging print statement in winMutexTry(). 2011-03-15 02:55:28 +00:00
mutex.c Add some 'const' markers to static data that is really constant. 2010-06-02 05:53:53 +00:00
mutex.h Fix some compiler warnings under MSVC. 2010-09-01 02:38:21 +00:00
notify.c Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() and 2010-07-24 16:34:37 +00:00
os_common.h The server1.test script should only run if mutexes are functional. 2011-08-31 19:40:58 +00:00
os_os2.c Updates to the OS/2 patches. This change also move the location of a global 2011-04-11 15:36:26 +00:00
os_unix.c Formerly, we enabled fdatasync() on linux only. But now we learn that 2011-08-31 21:01:55 +00:00
os_win.c Remove unused local variable. 2011-09-02 15:08:28 +00:00
os.c All the SQLITE_OPEN_URI flag to propagate down into the VFS. 2011-07-20 17:13:30 +00:00
os.h Change the name of the xShmClose VFS method to xShmUnmap, everywhere. 2010-07-14 00:14:30 +00:00
pager.c Remove some dead code. Fix a faulty assert(). Improve some variable names. 2011-09-02 21:42:33 +00:00
pager.h Remove some dead code. Fix a faulty assert(). Improve some variable names. 2011-09-02 21:42:33 +00:00
parse.y Enhance the LIKE/GLOB query optimization so that it works as long as there 2010-07-22 17:49:52 +00:00
pcache1.c Simplifications to the SQLITE_PAGECACHE_BLOCKALLOC logic. Reduce the number 2011-08-23 23:41:40 +00:00
pcache.c Print a log message on each cache spill if compiled with 2011-05-28 15:53:07 +00:00
pcache.h Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
pragma.c Fix the build when using SQLITE_OMIT_PRAGMA. 2011-06-03 13:02:57 +00:00
prepare.c Do not do a backup if the number of reserved bytes in the source and 2011-04-09 02:09:44 +00:00
printf.c Fix all known instances of signed-integer overflow. Within SQL expressions, 2011-03-05 20:59:46 +00:00
random.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
resolve.c Fix for [54844eea3f]: Do not create automatic indexes on correlated sub-queries. 2011-07-08 16:10:54 +00:00
rowset.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
select.c Instead of a temporary b-tree, use a linked-list and merge-sort to sort records in main memory in vdbesort.c. 2011-09-02 10:31:11 +00:00
shell.c Change the default chunk size on test_multiplex.c to 2147418112 bytes 2011-07-08 17:02:57 +00:00
sqlite3ext.h Changes to allow FTS to be compiled as a loadable module again. 2011-06-28 07:15:43 +00:00
sqlite.h.in Updates to the sqlite3_mem_methods documentation. 2011-08-24 15:18:16 +00:00
sqliteInt.h The build works again with -DSQLITE_OMIT_MERGE_SORT. The merge-sorter now 2011-09-03 00:17:51 +00:00
sqliteLimit.h Update a comment in sqliteLimit.h. No changes to code or tests. 2011-04-06 12:38:10 +00:00
status.c Add a description of access rules for the Schema object and lots of asserts 2011-04-04 18:22:02 +00:00
table.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
tclsqlite.c Ensure that the Tcl "db onecolumn" command returns an empty string if the SELECT statement returns zero rows. 2011-08-18 17:47:57 +00:00
test1.c Fix a buffer overrun in test logic. No impact on the core SQLite. 2011-08-30 00:53:50 +00:00
test2.c Increase the maximum page size from 32k to 64k. 2010-08-12 02:41:12 +00:00
test3.c Have the ATTACH command do URI interpretation in the same way as sqlite3_open() and sqlite3_open_v2() do. 2011-04-23 15:54:54 +00:00
test4.c Changes for consistent use of SQLITE_OS_UNIX and removal of legacy OS_UNIX from testfixture source; 2011-04-04 21:48:01 +00:00
test5.c Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() and 2010-07-24 16:34:37 +00:00
test6.c Change the way the "crash" VFS (test6.c) handles SQLITE_FCNTL_SIZE_HINT. 2011-08-23 19:46:02 +00:00
test7.c Changes for consistent use of SQLITE_OS_UNIX and removal of legacy OS_UNIX from testfixture source; 2011-04-04 21:48:01 +00:00
test8.c Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() and 2010-07-24 16:34:37 +00:00
test9.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
test_async.c Fix makefiles so that they build sqlite3_analyzer again. Tweaks to comments 2010-07-12 16:47:48 +00:00
test_autoext.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
test_backup.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
test_btree.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
test_config.c Modify test cases so that veryquick.test passes with PAGECACHE_BLOCKALLOC defined. 2011-08-22 14:55:54 +00:00
test_demovfs.c Minor cleanups to the header comments on various test_*.c file, to make 2011-05-23 18:37:42 +00:00
test_devsym.c Change the name of the xShmClose VFS method to xShmUnmap, everywhere. 2010-07-14 00:14:30 +00:00
test_func.c Make sure code *compiles* with each OMIT and ENABLE option. Mostly changes to test modules. 2011-02-09 19:55:20 +00:00
test_fuzzer.c Add additional test data and documentation to the fuzzer virtual table. 2011-04-01 20:28:31 +00:00
test_hexio.c Fix some problems in os_unix.c when compiled with ENABLE_LOCKING_STYLE on OSX. Also some minor issues with test scripts. 2011-04-01 09:04:36 +00:00
test_init.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
test_intarray.c Fix a faulty function prototype in test_intarray.c. 2009-12-01 18:46:06 +00:00
test_intarray.h Initial implementation and test cases for the "intarray" virtual table. 2009-11-10 17:24:37 +00:00
test_journal.c Minor cleanups to the header comments on various test_*.c file, to make 2011-05-23 18:37:42 +00:00
test_loadext.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
test_malloc.c Fix harmless compiler warnings in test code. No changes to the core. 2011-08-25 18:54:46 +00:00
test_multiplex.c Updated comments on the multiplexor extension. No changes to code. 2011-08-15 19:44:30 +00:00
test_multiplex.h Removed dependency on sqliteInt.h so that multiplex VFS shim can be compiled as loadable module. 2011-04-01 14:22:46 +00:00
test_mutex.c Update mutex1.test so that it works with the memsubsys1 permutation (pagecache memory). Change a few instances of SQLITE_MUTEX_STATIC_LRU2 in comments and test code to STATIC_PMEM. 2011-01-26 07:25:32 +00:00
test_onefile.c Change the name of the xShmClose VFS method to xShmUnmap, everywhere. 2010-07-14 00:14:30 +00:00
test_osinst.c Changes for consistent use of SQLITE_OS_UNIX and removal of legacy OS_UNIX from testfixture source; 2011-04-04 21:48:01 +00:00
test_pcache.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
test_quota.c Fix an file separator character issue with test_quota.c that was causing 2011-08-25 03:38:31 +00:00
test_rtree.c Fix harmless compiler warnings in test code. No changes to the core. 2011-08-25 18:54:46 +00:00
test_schema.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
test_server.c Changes to support building with various SQLITE_OMIT_XXX options defined. 2011-04-06 17:54:31 +00:00
test_stat.c Tweaks to comments in pager.c. Fix two compiler warnings. 2010-08-14 12:42:45 +00:00
test_superlock.c Work around restriction in Windows file locking. 2010-12-07 17:12:21 +00:00
test_syscall.c When retrying a write() after an EINTR error on unix, be sure to also 2011-08-19 14:54:12 +00:00
test_tclvar.c Make sure registers computed for the VFilter opcode are marked invalid 2009-11-23 21:23:45 +00:00
test_thread.c Enable the thread test logic to work with the SQLITE_HAS_CODEC compile-time 2011-08-30 19:52:32 +00:00
test_vfs.c Add tests to improve coverage of vdbesort.c. 2011-08-12 11:59:57 +00:00
test_vfstrace.c Add a big comment to the top of test_vfstrace.c to explain how to compile 2011-05-20 13:26:58 +00:00
test_wholenumber.c Add the "wholenumber" virtual table module to the test suite - useful in 2011-04-01 23:49:44 +00:00
test_wsd.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
tokenize.c Performance enhancement to the blob-literal tokenizer. 2011-06-03 21:34:45 +00:00
trigger.c Ignore the database name on the target table when parsing a CREATE TABLE 2011-07-01 13:50:44 +00:00
update.c Experimental changes to improve optimization of DISTINCT queries. 2011-06-30 20:17:15 +00:00
utf.c Use only unsigned values in the implementatin of LIKE and GLOB so that 2011-06-13 12:19:21 +00:00
util.c Compile with the SQLITE_ENABLE_8_3_NAME macro set to 2 to force 8+3 filenames 2011-07-21 21:29:35 +00:00
vacuum.c Add a comment to the VACUUM implementation explaining when all schemas are 2011-04-04 23:08:14 +00:00
vdbe.c The build works again with -DSQLITE_OMIT_MERGE_SORT. The merge-sorter now 2011-09-03 00:17:51 +00:00
vdbe.h Experimental changes to improve the performance of OP_Next. 2011-08-27 18:48:57 +00:00
vdbeapi.c Remove an unnecessary assignment from vdbeapi.c. 2011-06-27 19:37:23 +00:00
vdbeaux.c Experimental code-generator changes to utilize new opcodes for sorting. 2011-09-01 15:32:47 +00:00
vdbeblob.c Refactor the SQL parameter processing so that parameter names for values 2011-06-01 18:15:55 +00:00
vdbeInt.h The build works again with -DSQLITE_OMIT_MERGE_SORT. The merge-sorter now 2011-09-03 00:17:51 +00:00
vdbemem.c About a 1% overall performance improvement by using a macro to avoid 2011-08-29 02:49:41 +00:00
vdbesort.c Simplification and performance tweaks in vdbeSorterMerge(). 2011-09-03 16:42:38 +00:00
vdbetrace.c Fix a couple of MSVC compiler warnings; 2011-04-07 03:41:01 +00:00
vtab.c Create and use a function especially for adding the ParseSchema opcode. 2011-06-03 20:11:17 +00:00
wal.c Prototype change for a new sqlite3_file_control() that will cause the 2011-07-26 16:03:07 +00:00
wal.h Simplify the wal-readonly branch so that it does not require changes to 2011-06-01 20:01:49 +00:00
walker.c Remove the obsolete "$Id:$" RCS identifier strings from the source code. 2009-11-10 01:30:52 +00:00
where.c Make sure IS NOT NULL constraints work on virtual tables. 2011-08-02 01:57:39 +00:00