/ File History
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

History of src/legacy.c

2019-02-07
18:49
Merge the offical 3.27.0 release. file: [f69590f1] check-in: [62829164] user: drh branch: apple-osx, size: 4697
2019-02-04
19:12
Ensure that the sqlite3_exec() callback gets the correct number of columns for a query, even if the schema changes out from under it. file: [d7874bc8] check-in: [a16ffb5a] user: drh branch: trunk, size: 4531
2018-12-04
21:16
When compiled with SQLITE_ENABLE_NORMALIZE, always have sqlite3_exec() enable the SQLITE_PREPARE_NORMALIZE flag. file: [f2965b72] check-in: [28643d83] user: mistachkin branch: execWithNormalize, size: 4669
2017-07-07
22:58
Merge in all the latest trunk enhancements. file: [83f44991] check-in: [7f48f6ab] user: drh branch: apple-osx, size: 4688
2017-06-28
01:21
Simplify error handling logic in sqlite3_exec() to save about 40 bytes. file: [134ab3e3] check-in: [6480916c] user: drh branch: trunk, size: 4522
2017-03-06
20:00
Merge all pending 3.18 enhancements from trunk. file: [b143b1fe] check-in: [1650c3f4] user: drh branch: apple-osx, size: 4793
2017-02-16
17:18
Change two MallocZero() calls into MallocRaw() to avoid unnecessary memset(). file: [e88ed13c] check-in: [ff5e733c] user: drh branch: trunk, size: 4627
2016-02-18
01:36
Merge recent performance enhancements and the enhanced API_ARMOR from trunk. file: [b419b813] check-in: [b7fa0fb3] user: drh branch: apple-osx, size: 4769
2016-02-13
23:43
Enhance ability to debug out-of-memory errors. file: [75d3023b] check-in: [6a9c4a3e] user: mistachkin branch: noMemBkpt, size: 4603
2016-02-05
14:29
Merge OOM handling optimizations and PRAGMA synchronous=EXTRA as well as other enhancements from trunk. file: [c6552d90] check-in: [201fcbee] user: drh branch: apple-osx, size: 4764
01:55
Improvements to the way that OOM errors are processed. file: [b1b0880f] check-in: [c3ef0347] user: drh branch: oom-handling, size: 4598
2014-09-21
23:08
Merge in all recent changes from trunk. file: [9c17d86e] check-in: [3967ebe8] user: drh branch: apple-osx, size: 4765
2014-09-10
22:46
Complete the implementation of the various APIs. Fix several problems. This is another incremental check-in that does not completely work. file: [ba1863ea] check-in: [4eaaa7fa] user: drh branch: user-auth, size: 4599
2014-08-26
02:02
Merge recent performance enhancements and the CAST operator enhancements into the apple-osx branch. file: [4d9ad7da] check-in: [5c273111] user: drh branch: apple-osx, size: 4800
2014-08-22
18:00
Split the sqlite3Error() routine into sqlite3Error() and sqlite3ErrorWithMsg(), for a slight size reduction and performance increase. file: [87c92f4a] check-in: [cf561d1f] user: drh branch: trunk, size: 4634
2014-08-14
13:39
Merge the pre-3.8.6 changes from trunk into the apple-osx branch. file: [3d9ac010] check-in: [08058df3] user: drh branch: apple-osx, size: 4809
2014-08-11
15:54
Updates to evidence marks and requirements. No changes to code. file: [febc2a9e] check-in: [62d38308] user: drh branch: trunk, size: 4643
2014-05-19
15:16
Changes to help ensure that a multiplication does not overflow when computing the number of bytes needed for a memory allocation, and cause a malfunction. No problems existing problems were discovered. However, these changes should help to ensure that no problems arise in the future. file: [311f98da] check-in: [17349a49] user: drh branch: safer-malloc, size: 4472
2014-05-08
23:01
Initial attempt to merge in all trunk changes over the previous 1.5 years. This check-in compiles but there are compiler warnings and "make test" segfaults after only running a few test modules. file: [17887cec] check-in: [9411d7dc] user: drh branch: apple-osx, size: 4633
2013-04-06
18:06
Increase the default SQLITE_MAX_SCHEMA_RETRY to 50. Make sure that macro covers every case where a prepared statement might need to be reprepared due to a schema change. The sqlite3_exec() interface now uses sqlite3_prepare_v2(). file: [0df0b155] check-in: [c1d7304c] user: drh branch: trunk, size: 4467
2010-06-16
19:48
Merge in changes up to and including the 3.6.23.1 release. file: [015826a9] check-in: [21ca87f6] user: drh branch: apple-osx, size: 4801
2010-02-23
20:11
Continuing improvements to error reporting and the sqlite3_log() routine. file: [a199d768] check-in: [edea3bb7] user: drh branch: trunk, size: 4635
2010-01-20
01:26
Update the Apple OS-X branch to include all of the latest changes in trunk. file: [b319b529] check-in: [96499b1d] user: drh branch: apple-osx, size: 4796
01:20
Manually copy over the rebustness fixes from the apple-osx branch. file: [16f38549] check-in: [095c74ea] user: drh branch: trunk, size: 4630
2010-01-19
23:50
robustness fixes for preventing a finalized statement from being reused file: [c9c8f267] check-in: [a7a0c8d6] user: adam branch: apple-osx, size: 4809
2009-12-07
23:53
Merge all changes associated with the version 3.6.21 release into the OS-X branch. file: [3c3f78cb] check-in: [ad08794d] user: drh branch: apple-osx, size: 4740
2009-11-10
01:30
Remove the obsolete "$Id:$" RCS identifier strings from the source code. file: [9304428e] check-in: [f6c045f6] user: drh branch: trunk, size: 4574
2009-11-03
22:34
Customizations for OSX contributed by Apple. file: [3ec18805] check-in: [941a01eb] user: adam branch: apple-osx, size: 4805
2009-08-07
16:56
Enhancement to (6844). If sqlite3_exec() is to return SQLITE_NOMEM because it fails to allocate space for an error message, set the database error-code to SQLITE_NOMEM too. (CVS 6962) file: [303b4ffc] check-in: [8293fa19] user: danielk1977 branch: trunk, size: 4639
2009-07-03
19:18
Cause sqlite3_exec() to return SQLITE_NOMEM if it cannot allocate memory to hold the error message for some other error. (CVS 6844) file: [54a11649] check-in: [e9849292] user: drh branch: trunk, size: 4590
2009-05-05
20:02
Minor changes to the sqlite3_exec() implementation in legacy.c to facility full coverage testing. (CVS 6608) file: [9a56cf12] check-in: [9e3016c1] user: drh branch: trunk, size: 4554
2009-03-19
18:51
Fix a couple of fairly obscure cases where an assert() could fail following a malloc failure. (CVS 6360) file: [2ad5b52d] check-in: [cc0d9256] user: danielk1977 branch: trunk, size: 4321
2009-01-20
16:53
When not compiling for an EBCDIC system, use built-in alternatives to the tolowe r(), toupper() and other ctype.h library functions. Ticket #3597. (CVS 6196) file: [8b3b95d4] check-in: [1041abd6] user: danielk1977 branch: trunk, size: 4288
2008-12-10
19:26
Never use strlen(). Use our own internal sqlite3Strlen30() which is guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) file: [4f7410b2] check-in: [c872d554] user: drh branch: trunk, size: 4307
2008-08-02
03:50
Additional coverage testing. Fix a segfault following OOM in sqltie3_load_extension(). (CVS 5523) file: [aac57bd9] check-in: [f1e44eb3] user: drh branch: trunk, size: 4298
2008-07-28
19:34
Implement the "lookaside" memory allocation cache. Use of this cache makes the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) file: [3635cc6a] check-in: [e48f9697] user: drh branch: trunk, size: 4222
2008-06-15
02:51
Continuing work on the new memory allocation subsystem. Added routines for temporary memory allocation. Right the btree balance mechanism to only do one temporary allocation at a time. (CVS 5220) file: [3626c71f] check-in: [65fe7b62] user: drh branch: trunk, size: 4225
2008-05-20
15:44
Changes to the error handling policies of sqlite3_exec() to make them more consistent. Changes to the documentation on the error handling polices of sqlite3_exec() so that the documentation and code agree. (CVS 5148) file: [8f5a2b25] check-in: [a0376c79] user: drh branch: trunk, size: 4226
2008-05-19
23:51
Improvements to API documentation. The sqlite3_exec() function now sets the result returned by sqlite3_errcode() when it receives an SQLITE_ABORT. (CVS 5144) file: [4568e476] check-in: [f1df19ca] user: drh branch: trunk, size: 4199
2008-03-21
18:01
Defer allocating memory space to hold the array of column values and names in sqlite3_exec() until there is a need to use the array. In the common case where there is no callback, this avoids a malloc() call. (CVS 4905) file: [8267890e] check-in: [d8686abc] user: drh branch: trunk, size: 4098
2008-02-13
18:25
Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783) file: [cb1939fd] check-in: [990237e2] user: danielk1977 branch: trunk, size: 4037
2007-08-29
12:31
Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321) file: [4ac53191] check-in: [e38ef81b] user: danielk1977 branch: trunk, size: 3773
2007-08-22
20:18
The malloc.test script now passes all tests with no errors. (CVS 4271) file: [7e1b1c57] check-in: [db818430] user: drh branch: trunk, size: 3696
2007-08-21
10:44
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) file: [a83519a8] check-in: [fbbd5bda] user: drh branch: trunk, size: 3695
2007-08-16
04:30
Half-way through a major refactoring of the memory allocation. I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) file: [6013a7cb] check-in: [deb7ecd6] user: drh branch: trunk, size: 3711
2007-05-04
13:15
Eliminate all uses of sprintf() and strcpy(). These were not being misused. But getting rid of them removes a library dependency. And it avoids warnings from the OpenBSD compiler. Ticket #2336. (CVS 3916) file: [388c71ad] check-in: [ba4845b3] user: drh branch: trunk, size: 3696
2007-04-25
11:28
Fix a bug in the sqlite3_changes() function reported on the mailing list. (CVS 3868) file: [c05a599a] check-in: [58ea768c] user: drh branch: trunk, size: 3658
2006-09-15
07:28
Add support for extended result codes - additional result information carried in the higher bits of the integer return codes. This must be enabled using the sqlite3_extended_result_code() API. Only a few extra result codes are currently defined. (CVS 3422) file: [2631df6a] check-in: [ba579ddc] user: drh branch: trunk, size: 3776
2006-06-26
21:35
Publish APIs sqlite3_malloc() and sqlite3_realloc() that use the OS-layer memory allocator. Convert sqlite3_free() and sqlite3_mprintf() to also use the OS-layer memory allocator. (CVS 3298) file: [10e01a90] check-in: [85a66a25] user: drh branch: trunk, size: 3742
2006-03-06
20:55
Code changes resulting from Coverity analysis. http://scan.coverity.com/ Found 1 potential segfault in sqlite3_mprintf(). Also 2 failures to fclose() following a malloc() failure. And lots of cases where unnecessary conditionals could be removed from the code. (CVS 3126) file: [fa15d505] check-in: [e510e6dd] user: drh branch: trunk, size: 3734
2006-01-23
13:14
Work around buggy malloc() implementations that cause problems on malloc(0). Ticket #1572. (CVS 2996) file: [86b66970] check-in: [ada5490f] user: drh branch: trunk, size: 3736
2006-01-18
15:25
Change sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970) file: [0fd27db5] check-in: [e0b022e5] user: danielk1977 branch: trunk, size: 3746
2006-01-11
21:41
Automatically deallocate thread-specific data when it is no longer being used. Ticket #1601. Also implemented the suggestion of ticket #1603. Memory management is now off by default at compile-time. The sqlite3_enable_memory_management() API has been removed. (CVS 2919) file: [9bf7ee1b] check-in: [5d9c6aa9] user: drh branch: trunk, size: 3819
2006-01-09
06:29
Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893) file: [f651ccd3] check-in: [82b81f69] user: danielk1977 branch: trunk, size: 3819
2005-12-12
06:53
Fix minor malloc() related problems and add sqlite3_soft_heap_limit() stubs. (CVS 2814) file: [59757d85] check-in: [1637f379] user: danielk1977 branch: trunk, size: 3811
2005-12-06
12:52
Some elements of the new malloc() failure handling. Not all cases work properly yet. Also, library is not threadsafe if malloc() fails right now. (CVS 2800) file: [7b88d20e] check-in: [e1606658] user: danielk1977 branch: trunk, size: 3803
2004-09-06
17:34
Fix more name collisions. Allow sqlite.h and sqlite3.h to both be included in the same C/C++ source file. (CVS 1942) file: [d58ea507] check-in: [23e5bed1] user: drh branch: trunk, size: 3790
17:24
Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3 connection now *must* be called "sqlite3". You cannot call it "sqlite". This might break existing code. (CVS 1941) file: [1cf9a326] check-in: [3ddf5a9d] user: drh branch: trunk, size: 3790
2004-08-08
23:39
Fix problems in the handling of malloc failures. (CVS 1882) file: [2f3617c6] check-in: [81d91d14] user: drh branch: trunk, size: 3790
20:22
Make sure the argument to ctype.h macros is always an unsigned character. Ticket #839. (CVS 1881) file: [09b45fd3] check-in: [b0659738] user: drh branch: trunk, size: 3732
2004-05-26
23:25
Refactoring of the vdbe Mem functions and the APIs that deal with them. The code will not compile in its current state. (CVS 1465) file: [ad23746f] check-in: [bba6684d] user: drh branch: trunk, size: 3717
02:04
Use the new API calls more consistently. (CVS 1459) file: [a856d2d5] check-in: [17e7db48] user: danielk1977 branch: trunk, size: 3727
00:01
Add file legacy.c with old APIs. (CVS 1456) file: [706484c3] check-in: [ae18fcb7] user: danielk1977 branch: trunk, size: 3739 Added