sqlite/src
drh d33bcb8a3c Improvements to PRAGMA integrity_check for better detection of malformed
records.  Integrity_check now avoids returning SQLITE_CORRUPT on a corrupt
record.  Also includes microoptimizations that I stumbled over while working
on integrity_check.

FossilOrigin-Name: 8525c30c1d6676e51b9d9c642450aae3722c129edafdbc39b8435fcfe09b1817
2017-09-13 00:33:36 +00:00
..
alter.c Add the new sqlite3.mDbFlags field. Factor out bits of sqlite3.flags that 2017-07-26 19:59:13 +00:00
analyze.c Fix an incorrect assert in the ANALYZE logic for STAT4 on WITHOUT ROWID 2017-03-21 18:56:52 +00:00
attach.c Allow ATTACH and DETACH to occur inside of a transaction. 2017-07-26 18:26:44 +00:00
auth.c Size optimization in the authorizer error message generation logic. 2017-08-17 18:54:27 +00:00
backup.c Allocate Parse objects off of the stack where appropriate for a substantial 2016-10-03 01:21:51 +00:00
bitvec.c Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. 2016-12-07 15:49:02 +00:00
btmutex.c Avoid unnecessary calls to sqlite3BtreeEnterAll() and sqlite3BtreeLeaveAll() 2017-01-02 18:19:29 +00:00
btree.c Use the SQLITE_CORRUPT_BKPT return code in a couple more places. 2017-09-04 19:31:54 +00:00
btree.h Avoid a test for CURTYPE_BTREE in sqlite3VdbeCursorMoveto() in order to reduce 2017-08-16 19:20:20 +00:00
btreeInt.h Avoid a test for CURTYPE_BTREE in sqlite3VdbeCursorMoveto() in order to reduce 2017-08-16 19:20:20 +00:00
build.c Faster memory allocation from lookaside by not trying to keep track of the 2017-08-29 20:21:12 +00:00
callback.c Defer schema resets when the query planner is running. 2017-08-17 02:26:35 +00:00
complete.c Enhance ability to debug out-of-memory errors. 2016-02-13 23:43:46 +00:00
ctime.c Add the SQLITE_ENABLE_BATCH_ATOMIC_WRITE macro to ctime.c 2017-07-28 01:53:32 +00:00
date.c Combine the Parse.ckBase and Parse.iSelfTab fields into just Parse.iSelfTab. 2017-07-20 13:17:08 +00:00
dbstat.c Fix harmless compiler warnings about incomplete structure initializers. 2017-07-12 18:05:54 +00:00
delete.c Experimental changes that allow a WITHOUT ROWID virtual table to be writable 2017-08-10 15:19:39 +00:00
expr.c Proposed fix for ticket [b899b6042f97f5] 2017-09-04 00:33:04 +00:00
fault.c Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. 2016-12-07 15:49:02 +00:00
fkey.c When generating individual loops for each ORed term of an OR scan, move any 2017-06-22 16:51:16 +00:00
func.c Fix a few over-length source code lines. No functional changes. 2017-08-25 19:51:51 +00:00
global.c Remove the rarely-used scratch memory allocator. This makes the code smaller, 2017-08-28 15:51:35 +00:00
hash.c Make the hash table implementation a little smaller and faster. 2017-07-05 23:33:33 +00:00
hash.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
hwtime.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
in-operator.md Refactor the sqlite3ExprCodeIN() routine for improved maintainability. 2016-08-25 21:14:34 +00:00
insert.c Split the OP_Last opcode into OP_Last and OP_SeekEnd. Use OP_SeekEnd to 2017-08-01 19:53:43 +00:00
legacy.c Simplify error handling logic in sqlite3_exec() to save about 40 bytes. 2017-06-28 01:21:16 +00:00
loadext.c Add the three new pointer interfaces to the loadable extension mechanism. 2017-07-13 17:54:12 +00:00
main.c Have the header comment for sqlite3Checkpoint() mention TRUNCATE along with 2017-09-08 17:48:00 +00:00
malloc.c Faster memory allocation from lookaside by not trying to keep track of the 2017-08-29 20:21:12 +00:00
mem0.c
mem1.c New simplified memory initialization for MacOS. 2017-03-21 20:17:24 +00:00
mem2.c Enhance (and fix) the MEMTYPE tags associated with heap memory allocations 2014-10-07 15:46:54 +00:00
mem3.c Performance optimizations to the sqlite3MallocSize() by requiring the 2015-10-15 16:20:57 +00:00
mem5.c Small simplification and performance improvement in memsys5Free(). 2016-01-25 01:07:59 +00:00
memjournal.c More precise determination of when an in-memory journal needs to be 2017-07-28 18:16:14 +00:00
msvc.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
mutex.c Import common changes from the mutex initialization branch. 2015-09-12 18:57:45 +00:00
mutex.h Attempt to declare sqlite3MemoryBarrier() correctly for all possible 2015-09-10 04:17:06 +00:00
mutex_noop.c Add static mutexes for use by the built-in / third-party VFSs and use the built-in VFS mutex where appropriate. 2015-07-03 21:38:09 +00:00
mutex_unix.c Fix some harmless gcc compiler warnings. Mostly in fts5, but also two in the core code. 2015-12-23 16:42:27 +00:00
mutex_w32.c Minor enhancement to mutex tracing on Win32. 2017-02-15 18:30:57 +00:00
notify.c Split the sqlite3Error() routine into sqlite3Error() and 2014-08-22 18:00:11 +00:00
os.c Update the mechanism used to keep track of what kind of syncing to do for 2017-08-25 01:14:43 +00:00
os.h Since the return value of sqlite3OsClose() is always ignored, we might as 2016-04-14 13:16:58 +00:00
os_common.h Enhance the MSVC makefile to enable building 'testfixture' fully from source code. 2016-02-11 21:28:16 +00:00
os_setup.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
os_unix.c Fix error tests in seldom-used compile-time branches of the unix backend. 2017-08-22 15:21:54 +00:00
os_win.c Remove use of the rand_s() function (added by [139081bef9f63c3e]) as it appears to cause issues with some third-party DLLs. 2017-09-12 23:58:47 +00:00
os_win.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
pager.c Prevent a possible crash when trying to recover using a carefully corrupted \ 2017-09-07 09:56:37 +00:00
pager.h Add the new sqlite3PagerUnrefPageOne() pager method to deal with the special 2017-09-01 14:50:19 +00:00
parse.y Rearrange integer token values in the parser and logic in the 2017-08-02 11:04:00 +00:00
pcache.c Remove an obsolete optimization in pcache that due to more recent changes 2017-09-01 12:57:33 +00:00
pcache.h Small size and performance improvement in pcacheManageDirtyList() by not 2017-09-01 12:18:41 +00:00
pcache1.c Small performance optimization in pcache1. 2017-08-30 04:44:59 +00:00
pragma.c PRAGMA integrity_check returns SQLITE_OK even if it encounters corruption 2017-09-13 00:13:05 +00:00
pragma.h Add the "Pragma_list" pragma. Put all three pragmas created on this branch 2017-07-07 17:33:07 +00:00
prepare.c Size and performance optimization for sqlite3Init(). 2017-08-25 15:43:34 +00:00
printf.c Space and size optimization to the printf implementation. 2017-08-19 20:38:18 +00:00
random.c Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. 2016-12-07 15:49:02 +00:00
resolve.c The EP_Resolved flag on the Expr object is not required for correctness nor 2017-07-12 17:08:24 +00:00
rowset.c Optimizations to link list merge sort code in vdbesort.c, pcache.c, and 2016-05-20 14:54:54 +00:00
select.c Sometimes a TK_COLUMN Expr node can have Expr.pTab==0 if it is a reference 2017-08-14 14:53:24 +00:00
shell.c Fix harmless compiler warnings seen with MSVC. 2017-09-09 00:51:36 +00:00
shell.c.in Fix harmless compiler warnings seen with MSVC. 2017-09-09 00:51:36 +00:00
sqlite.h.in Minor adjustments to indentation and spacing for clarity. No changes to code. 2017-09-11 18:37:44 +00:00
sqlite3.rc More work on the MSVC build. 2016-01-23 00:07:51 +00:00
sqlite3ext.h The identifier "vsnprintf" appears to be a reserved word in recent versions 2017-08-08 21:40:23 +00:00
sqliteInt.h Remove use of the rand_s() function (added by [139081bef9f63c3e]) as it appears to cause issues with some third-party DLLs. 2017-09-12 23:58:47 +00:00
sqliteLimit.h Begin enforcing the SQLITE_LIMIT_VDBE_OP. The documentation warned that this 2017-03-17 22:50:16 +00:00
status.c Faster memory allocation from lookaside by not trying to keep track of the 2017-08-29 20:21:12 +00:00
table.c If compiled with SQLITE_INLINE_MEMCPY, all memcpy() calls are replaced with 2017-01-19 21:20:11 +00:00
tclsqlite.c Add the schema6.test module for demonstrating schemas that generate identical 2017-07-30 19:50:42 +00:00
test1.c Add the "atomic-batch-write" permutation to permutations.test. This 2017-07-22 16:58:47 +00:00
test2.c Have wal file checkpoints exit early if the sqlite3_interrupt() API function is called. 2016-08-12 16:21:15 +00:00
test3.c Change sqlite3BtreeNext() and sqlite3BtreePrevious() so that they return 2017-05-30 18:34:07 +00:00
test4.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test5.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test6.c Add a test for the outcome of a process crash within an xWrite VFS method 2017-07-22 20:12:31 +00:00
test7.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test8.c Enhance the vtab interface to handle IS, !=, IS NOT, IS NULL and IS NOT NULL 2017-09-09 19:41:12 +00:00
test9.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_async.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_autoext.c Avoid making unnecessary changes to the signatures of the 2016-08-01 14:35:48 +00:00
test_backup.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_bestindex.c Enhance the vtab interface to handle IS, !=, IS NOT, IS NULL and IS NOT NULL 2017-09-09 19:41:12 +00:00
test_blob.c Handle a real OOM condition when incrblob2.test is run on a low-memory machine. 2017-07-24 17:37:35 +00:00
test_btree.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_config.c Rename the "stmts" virtual table to just "stmt" without the final "s". 2017-06-29 14:33:51 +00:00
test_delete.c Reinstate the SQLITE_API qualifier on the sqlite3_delete_database() method in 2017-04-13 15:51:27 +00:00
test_demovfs.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_devsym.c Add a test for the outcome of a process crash within an xWrite VFS method 2017-07-22 20:12:31 +00:00
test_fs.c Fix a bug in test_fs.c that occurs when the first component of a path contains 2017-06-05 16:33:53 +00:00
test_func.c Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. 2016-12-07 15:49:02 +00:00
test_hexio.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_init.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_intarray.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_intarray.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
test_journal.c Do not run sync2.test as part of the "journaltest" permutation, as it uses 2017-03-20 16:06:48 +00:00
test_loadext.c Fix some more harmless compiler warnings. 2015-12-16 22:06:52 +00:00
test_malloc.c Remove the rarely-used scratch memory allocator. This makes the code smaller, 2017-08-28 15:51:35 +00:00
test_multiplex.c Remove the mutex from test_multiplex.c. 2016-10-27 14:51:02 +00:00
test_multiplex.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
test_mutex.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_onefile.c More harmless compiler warning fixes. 2016-04-12 20:05:06 +00:00
test_osinst.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_pcache.c Merge the PCACHE2 changes into trunk. 2011-11-16 18:08:07 +00:00
test_quota.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_quota.h Further work on Windows header file reform. 2013-11-26 01:00:31 +00:00
test_rtree.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_schema.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_server.c Changes to test code to make sure no server threads are left running after server1.test finishes. 2013-10-15 15:35:27 +00:00
test_sqllog.c Adjust filename creation in test_sqllog.c so that it uses leading zeros on 2017-01-04 14:53:53 +00:00
test_superlock.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_syscall.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_tclvar.c Test case for writing to a WITHOUT ROWID virtual table. The TCLVAR virtual 2017-08-10 17:53:11 +00:00
test_thread.c Avoid making unnecessary changes to the signatures of the 2016-08-01 14:35:48 +00:00
test_vfs.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_vfstrace.c Add the sqlite3_rtree_query_callback() API to the RTree virtual table. 2014-04-28 17:56:19 +00:00
test_windirent.c In the 'windirent' test module, use a macro for the hidden/system attribute checking. 2017-01-18 22:47:42 +00:00
test_windirent.h In the 'windirent' test module, use a macro for the hidden/system attribute checking. 2017-01-18 22:47:42 +00:00
test_wsd.c
threads.c Enhance ability to debug out-of-memory errors. 2016-02-13 23:43:46 +00:00
tokenize.c Split off sqlite3DbFreeNN() from sqlite3DbFree() and use it in cases where 2017-04-05 12:39:49 +00:00
treeview.c For sqlite3TreeView() debugging output, show the Expr.flags field on 2017-07-10 13:24:58 +00:00
trigger.c Add the new sqlite3.mDbFlags field. Factor out bits of sqlite3.flags that 2017-07-26 19:59:13 +00:00
update.c Experimental changes that allow a WITHOUT ROWID virtual table to be writable 2017-08-10 15:19:39 +00:00
utf.c Compile cleanly with SQLITE_OMIT_UTF16. 2017-07-12 12:19:33 +00:00
util.c Fix an error in [b22cdd67] that can cause a negative infinity to be (rarely) 2017-09-12 15:05:34 +00:00
vacuum.c Add the new sqlite3.mDbFlags field. Factor out bits of sqlite3.flags that 2017-07-26 19:59:13 +00:00
vdbe.c PRAGMA integrity_check returns SQLITE_OK even if it encounters corruption 2017-09-13 00:13:05 +00:00
vdbe.h Combine the Parse.ckBase and Parse.iSelfTab fields into just Parse.iSelfTab. 2017-07-20 13:17:08 +00:00
vdbeInt.h Avoid a test for CURTYPE_BTREE in sqlite3VdbeCursorMoveto() in order to reduce 2017-08-16 19:20:20 +00:00
vdbeapi.c Make sure the sqlite3_result_pointer() interface does not leave a VM register 2017-08-24 13:55:46 +00:00
vdbeaux.c Simplification and performance improvement to sqlite3_reset(). 2017-09-09 22:46:56 +00:00
vdbeblob.c Slightly smaller and faster by allocating Parser objects on the stack. 2017-08-01 20:59:41 +00:00
vdbemem.c Minor optimization to sqlite3VdbeMemSetStr(). 2017-08-21 02:05:22 +00:00
vdbesort.c Remove the rarely-used scratch memory allocator. This makes the code smaller, 2017-08-28 15:51:35 +00:00
vdbetrace.c Fix a few over-length source code lines. No functional changes. 2017-08-25 19:51:51 +00:00
vtab.c Experimental changes that allow a WITHOUT ROWID virtual table to be writable 2017-08-10 15:19:39 +00:00
vxworks.h Only use lstat() if the HAVE_LSTAT macro is defined. Fix some test file issues. 2016-01-25 18:43:05 +00:00
wal.c Update the mechanism used to keep track of what kind of syncing to do for 2017-08-25 01:14:43 +00:00
wal.h Update the mechanism used to keep track of what kind of syncing to do for 2017-08-25 01:14:43 +00:00
walker.c Small optimization in the Expr tree walker. 2017-08-17 19:23:16 +00:00
where.c Refactor names of constants and functions associated with the auxiliary 2017-09-11 19:47:37 +00:00
whereInt.h Refactor names of constants and functions associated with the auxiliary 2017-09-11 19:47:37 +00:00
wherecode.c Enhance the vtab interface to handle IS, !=, IS NOT, IS NULL and IS NOT NULL 2017-09-09 19:41:12 +00:00
whereexpr.c Refactor names of constants and functions associated with the auxiliary 2017-09-11 19:47:37 +00:00