/ 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/vdbeapi.c

2019-10-19
13:29
Refactor names of column index transformation functions, for clarity. Get generated columns working with ALTER TABLE RENAME COLUMN. file: [1252d80c] check-in: [27ab41c9] user: drh branch: generated-columns, size: 62767
2019-09-16
12:02
Merge the latest changes from trunk into the apple-osx branch. file: [8a3b1648] check-in: [a95191de] user: drh branch: apple-osx, size: 63764
2019-08-08
15:24
Remove support for STAT3. The sqlite_stat3 tables are ignored, if they exist. STAT4 continues to work as it always has, and as it is a superset of STAT3 is the recommended replacement. file: [95001d0f] check-in: [1e17ea2f] user: drh branch: omit-stat3, size: 62757
2019-05-14
19:39
Merge recent enhancements from trunk into apple-osx. file: [63d90464] check-in: [40362d51] user: drh branch: apple-osx, size: 63791
2019-05-04
01:29
New testcase macros to ensure that MEM_IntReal is fully tested. file: [f9161e5c] check-in: [8b8ef445] user: drh branch: int-real, size: 62784
2019-05-03
21:17
Add the SQLITE_TESTCTRL_RESULT_INTREAL test-control and use it to create the intreal() SQL function in testfixture. Write a few simple tests to prove this all works. TH3 will hold most of the INTREAL tests, probably. file: [3e8a5dac] check-in: [c9838731] user: drh branch: int-real, size: 62698
17:08
Improved comments on the elements of the array constant used to implement the sqlite3_value_type() interface. file: [e9469b40] check-in: [f73a7de7] user: drh branch: int-real, size: 62295
2019-05-02
21:36
Make MEM_IntReal a completely independent type, meaning a floating point value stored as an integer. This fixes a problem with arithmetic within arguments to string functions on indexes of expressions. But it is a big change and needs lots of new testcase() macros for MC/DC and so it is initially put on this branch. file: [76b8fced] check-in: [dba836e3] user: drh branch: int-real, size: 61392
17:45
Ensure that the typeof() function always returns SQLITE_FLOAT for floating point values even when the value is stored as an integer to save space. file: [5ef99233] check-in: [48889530] user: drh branch: trunk, size: 61409
2019-04-26
17:20
An experimental interface for retrieving the estimated cost and estimated number of output rows for a query. file: [69fae8eb] check-in: [1b25fa10] user: drh branch: cost-est, size: 60148
2019-04-15
14:49
Bring in the latest enhancements from trunk. file: [62e21603] check-in: [378230ae] user: drh branch: apple-osx, size: 60926
2019-04-14
00:40
Remove a stray tab from the source code. file: [2ddd60f4] check-in: [0ada58e9] user: drh branch: trunk, size: 59919
2019-04-02
00:34
Merge enhancements from trunk. file: [6f93b0b5] check-in: [0b35aebb] user: drh branch: apple-osx, size: 60929
2019-03-29
11:13
Initial implementation of the sqlite3_value_frombind() interface. file: [a6e462bd] check-in: [98da62df] user: drh branch: value_frombind, size: 59922
2019-03-19
20:48
Merge recent enhancements from trunk. file: [0f255b5e] check-in: [000f4398] user: drh branch: apple-osx, size: 60764
2019-03-06
14:53
Add the sqlite3_stmt_isexplain() interface. file: [7a052df8] check-in: [ee642d3e] user: drh branch: trunk, size: 59757
2019-03-04
07:15
Fix a problem preventing compilation with SQLITE_OMIT_UTF16. file: [0eb687d3] check-in: [906d1fd8] user: dan branch: trunk, size: 59552
2019-03-01
18:27
Merge the latest enhancements from trunk. file: [c32f0cbe] check-in: [e64ded7b] user: drh branch: apple-osx, size: 60521
2019-02-20
18:13
Avoid the use of function pointers in columnName(), as function pointers appear to be a source of consternation to LLVM. file: [cde63790] check-in: [c48f6f39] user: drh branch: trunk, size: 59514
2019-01-17
15:47
Sync up with the latest enhancements on trunk. file: [68480f89] check-in: [475a179a] user: drh branch: apple-osx, size: 60703
2018-12-19
17:05
Add new interfaces sqlite3_result_pointer(), and sqlite3_value_pointer() and use them to transfer the eponymous FTS3 column pointer to the snippet() and offsets() routines. Cherrypick from commit [8201f4e1] on branch-3.18. file: [e5ec7a4e] check-in: [553a923c] user: dan branch: branch-3.19, size: 58194
16:03
Add interfaces sqlite3_bind_pointer(), sqlite3_result_pointer(), and sqlite3_value_pointer() used to safely move pointer values through SQL without exposing underlying memory address information. Cherrypick from commit [8201f4e1] on branch-3.18. file: [a34cabb4] check-in: [4cb67252] user: dan branch: branch-3.9, size: 50783
2018-12-14
21:58
Experimental support for new sqlite3_bind_blob() and sqlite3_bind_text() interfaces that take an extra void* argument that is passed into the destructor in front of the object that is to be destroyed. file: [b827ec57] check-in: [33a1924e] user: drh branch: custom-destructors, size: 61515
2018-12-11
12:51
Small performance improvement in sqlite3_step(). file: [57a2d794] check-in: [d1db8d58] user: drh branch: trunk, size: 59696
12:20
Small performance improvement in the sqlite3_bind() family of interfaces. file: [d006df50] check-in: [1dc0c3df] user: drh branch: trunk, size: 59699
2018-12-10
20:01
Further refinements to the sqlite3_normalized_sql() interface. TH3 now gives 100% MC/DC on that interface. file: [43ccaa96] check-in: [c96bf6cc] user: drh branch: trunk, size: 59703
02:00
Merge enhancements from trunk. file: [511656a4] check-in: [b1bbc718] user: drh branch: apple-osx, size: 60728
2018-12-06
20:18
Experimental changes to (optionally) allow double-quoted strings to be checked against known identifiers. file: [affdfc74] check-in: [73a6b8c1] user: mistachkin branch: normalize_v4, size: 59724
01:08
Fix a missing mutex in the sqlite3_normalized_sql() interface when it is called on a prepared statement that did not previously have a computed normalization of the input SQL. file: [9709452b] check-in: [1a1a59c6] user: drh branch: trunk, size: 59721
2018-12-05
18:28
Merge enhancements and the ALTER TABLE bug fix from trunk. file: [d9fafa56] check-in: [edfc2acf] user: drh branch: apple-osx, size: 60650
13:39
Enhance the sqlite3_normalize_sql() interface so that it works even if the prepared statement was not initially compiled using SQLITE_PREPARE_NORMALIZED. Enhance the ".trace" command in the CLI so that it is able to access the full scope of functionality provided by sqlite3_trace_v2() and in particular so that it is able to show normalized SQL output using the newly enhanced sqlite3_normalize_sql() interface. file: [9ac7e394] check-in: [7da617e9] user: drh branch: trunk, size: 59643
2018-12-04
14:33
Performance improvement in sqlite3_step() by creating a new mTrace flag for the legacy xProfile pointer that is set by sqlite3_profile(). file: [dc825a6e] check-in: [e28584e8] user: drh branch: trunk, size: 59512
13:51
Small performance increase in sqlite3_step() for the common case where it returns SQLITE_ROW. file: [666993b7] check-in: [89344826] user: drh branch: trunk, size: 59460
2018-11-05
13:53
Merge recent trunk enhancements. file: [373eebe4] check-in: [62acf7a0] user: drh branch: apple-osx, size: 60442
2018-10-29
17:53
Add the sqlite3_normalized_sql() API. file: [ecccfce6] check-in: [592b66e8] user: mistachkin branch: normalized_sql, size: 59435
2018-10-09
22:50
Merge changes for the 3.25.0 release. file: [230b1c12] check-in: [ddf6a54e] user: drh branch: apple-osx, size: 60184
2018-08-04
16:54
Remove more column-cache residue: The OP_SetColTab and OP_VerifyColTab opcodes and the associated SQLITE_DEBUG_COLUMNCACHE logic. file: [2ba821c5] check-in: [80236e81] user: drh branch: omit-column-cache, size: 59177
2018-06-20
09:23
Add tests to improve coverage of code in window.c. Fix a problem with "SELECT row_number() OVER ()". file: [e35f8133] check-in: [f41b6b73] user: dan branch: exp-window-functions, size: 59577
2018-06-12
13:52
Improvements to SCopy correctness tracking when SQLITE_DEBUG is enabled. file: [af4a3de0] check-in: [b2973f23] user: drh branch: trunk, size: 59247
2018-06-04
14:10
Merge changes from trunk. file: [409748b4] check-in: [95fbac39] user: drh branch: apple-osx, size: 60191
2018-05-26
16:00
Store application-defined function names as lower-case to avoid the need for case conversions before calling xFindFunction on virtual tables. Avoid using lookaside to store the destructors for application defined functions, as lookaside should be reserved for transient allocations. file: [765a0bbe] check-in: [777189ce] user: drh branch: trunk, size: 59184
2018-03-14
17:17
Merge the latest enhancements from trunk. file: [2a056477] check-in: [a658f80c] user: drh branch: apple-osx, size: 61068
08:27
Improve detection of out-of-range parameters in sqlite3_stmt_status() for SQLITE_ENABLE_API_ARMOR builds. file: [29d2baf9] check-in: [21ecbce1] user: dan branch: trunk, size: 60061
2018-01-23
03:44
Slightly faster function dispatch in the virtual machine by avoiding unnecessary reinitialization of variables that are already correctly initialized. file: [fea41171] check-in: [edd4e687] user: drh branch: trunk, size: 59978
2018-01-15
21:59
Merge the enhancements associated with the first 3.22.0 beta. file: [b9ca143d] check-in: [c9d2ec51] user: drh branch: apple-osx, size: 61140
2018-01-12
21:00
Add the experimental sqlite3_value_nochange() interface usable by xUpdate methods of virtual tables to see if a column has actually changed values. file: [02f77368] check-in: [8b7be15e] user: drh branch: sqlite3_value_nochange, size: 60133
2018-01-11
17:04
Add the sqlite3_vtab_nochange() method which virtual table implementations can use to optimize UPDATEs. file: [f519346f] check-in: [d444b1ff] user: drh branch: sqlite3_vtab_nochange, size: 59924
2017-09-13
18:38
Experimental sqlite3_stmt_retryable() interface. file: [e706b81a] check-in: [ebada072] user: drh branch: sqlite3_stmt_retryable, size: 59440
2017-09-09
06:10
Merge trunk enhancements file: [896c3695] check-in: [6a0b9d9d] user: drh branch: apple-osx, size: 60219
2017-08-24
14:04
Make sure the sqlite3_result_pointer() interface does not leave a VM register in an inconsistent state. Fix for ticket [7486aa54b968e9b5]. Test cases are in TH3. file: [d362429e] check-in: [abc7adfd] user: drh branch: branch-3.20, size: 59245
13:55
Make sure the sqlite3_result_pointer() interface does not leave a VM register in an inconsistent state. Fix for ticket [7486aa54b968e9b5]. Test cases are in TH3. file: [9c670ca0] check-in: [d2f9230c] user: drh branch: trunk, size: 59212
2017-08-02
22:43
In the KeyInfo object, refactor the nField and nXField elements into nKeyField and nAllField, which are more useful and run a little faster. file: [05d6b14a] check-in: [aea5990e] user: drh branch: trunk, size: 59186
19:04
Avoid redundant calls to sqlite3ApiExit() in sqlite3_step(). file: [dc282e27] check-in: [527974d4] user: drh branch: trunk, size: 59180
18:28
Only attempt to invoke WAL callbacks when a transaction has committed. file: [6e27a510] check-in: [bcc6dacb] user: drh branch: trunk, size: 59237
2017-07-27
16:42
In sqlite3_bind_pointer(), invoke the destructor if the bind index is out of range, like sqlite3_bind_blob() does. file: [08235311] check-in: [d6684d2a] user: drh branch: pointer-with-destructor, size: 59219
15:53
Improved implementation of the destructor on pointer-passing interfaces. file: [5857a84f] check-in: [601ad679] user: drh branch: pointer-with-destructor, size: 59169
14:04
A demonstration of how FTS3 cursor pointers can be passed from the MATCH operator to the snippet() function securely and opaquely without having to use the sqlite3_result_pointer() and sqlite3_value_pointer() interfaces. file: [76f27963] check-in: [49cf31da] user: drh branch: pass-pointer-as-blob, size: 59002
03:48
Add a destructor argument to sqlite3_bind_pointer() and sqlite3_result_pointer(). file: [7fd45f24] check-in: [3d9e841f] user: drh branch: pointer-with-destructor, size: 59108
2017-07-21
07:56
Add new interfaces sqlite3_result_pointer(), and sqlite3_value_pointer() and use them to transfer the eponymous FTS3 column pointer to the snippet() and offsets() routines. This changes is a cherry-pick of [f0f49224] via [69906880cee] and is ultimately inspired by check-in [72de49f2]. file: [ef70ce2a] check-in: [8201f4e1] user: drh branch: branch-3.18, size: 57707
07:45
Add new interfaces sqlite3_result_pointer(), and sqlite3_value_pointer() and use them to transfer the eponymous FTS3 column pointer to the snippet() and offsets() routines. This changes is a cherry-pick of [f0f49224] with version-specific edits. That check-in was inspired by check-in [72de49f2]. file: [4ebb5e6a] check-in: [69906880] user: drh branch: branch-3.9.2, size: 50563
04:08
Add new interfaces sqlite3_result_pointer(), and sqlite3_value_pointer() and use them to transfer the eponymous FTS3 column pointer to the snippet() and offsets() routines. This is a cherry-pick of [f0f49224] which was in turn inspired by [72de49f2]. file: [4a280606] check-in: [5a3022e0] user: drh branch: branch-3.8.10, size: 47840
03:23
Add new interfaces sqlite3_result_pointer(), and sqlite3_value_pointer() and use them to transfer the eponymous FTS3 column pointer to the snippet() and offsets() routines. This is a cherry-pick of [f0f492245e95], which is in turn inspired by check-in [72de49f2]. file: [feda38a2] check-in: [a66a5b39] user: drh branch: branch-3.8.6, size: 41904
03:09
Add new interfaces sqlite3_result_pointer(), and sqlite3_value_pointer() and use them to transfer the eponymous FTS3 column pointer to the snippet() and offsets() routines. This changes is inspired by check-in [72de49f2] but is new implementation, not a cherry-pick. file: [ac2f07c4] check-in: [f0f49224] user: drh branch: branch-3.7.11, size: 40833
2017-07-20
16:55
Experimental API sqlite3_stmt_refresh() to force a prepared statement to recompile if it needs to due to a schema change or other factor. file: [d83d30e1] check-in: [10556ee4] user: drh branch: sqlite3_stmt_refresh, size: 59527
2017-07-17
20:21
Merge all the latest fixes and enhancements from trunk. file: [624a7839] check-in: [e181225d] user: drh branch: apple-osx, size: 60000
17:46
Interchange to branches within an "if" statement in sqlite3_value_pointer() in order to work around a bug in gcc. file: [52844a5a] check-in: [8a606e4a] user: drh branch: branch-3.20, size: 58993
11:39
Improve the sqlite3_result_pointer() interface so that it cannot be faked using sqlite3_result_null() and sqlite3_result_subtype(). file: [f600bf0d] check-in: [c13264d5] user: drh branch: pointer-types, size: 58993
00:40
Add an experimental "pointer type" parameter to sqlite3_bind_pointer(), sqlite3_result_pointer(), and sqlite3_value_pointer(). The pointer type is a string that must compare equal using strcmp() or else the pointer comes through as a NULL. file: [c42a2f0a] check-in: [211cce04] user: drh branch: pointer-types, size: 58990
2017-07-15
10:44
Add new interfaces sqlite3_bind_pointer(), sqlite3_result_pointer(), and sqlite3_value_pointer() used to safely move pointer values through SQL without exposing underlying memory address information. file: [0d8a4deb] check-in: [d6a44b35] user: drh branch: branch-3.17, size: 57817
2017-07-07
22:58
Merge in all the latest trunk enhancements. file: [5eed6c26] check-in: [7f48f6ab] user: drh branch: apple-osx, size: 59211
2017-06-30
23:09
Add APIs for binding pointers that can be used by app-defined functions. file: [8f830cf2] check-in: [d9f4a831] user: drh branch: bind-pointer, size: 58878
2017-06-23
21:05
Merge all recent trunk enhancements into the apple-osx branch. file: [aa587e3d] check-in: [53b14a38] user: drh branch: apple-osx, size: 59071
2017-06-01
00:54
Add interfaces sqlite3_prepare_v3() and sqlite3_prepare16_v3() with the extra prepFlags argument. Add the SQLITE_PREPARE_PERSISTENT option as one bit in that argument. file: [899d8f02] check-in: [4a25c588] user: drh branch: prepare_v3, size: 58204
2017-05-31
16:21
Add the SQLITE_STMTSTATUS_MEMUSED option for sqlite3_stmt_status() that reports the amount of heap memory used for a single prepared statement. file: [c961d8d9] check-in: [b57d5104] user: drh branch: stmtstatus-memused, size: 58064
2017-05-29
22:44
More efficient error handling and reset in the binding mechanism. file: [6009dbf0] check-in: [9a3e3b34] user: drh branch: trunk, size: 57768
2017-05-11
18:49
Merge recent enhancements from trunk. file: [70f5682b] check-in: [b55c0f14] user: drh branch: apple-osx, size: 58747
15:20
Negative N values in sqlite3_get_auxdata() and sqlite3_set_auxdata() can be used to access an auxiliary data cache over all functions in a single prepared statement. file: [dc904b3c] check-in: [ff530675] user: drh branch: auxdata-cache, size: 57740
2017-05-10
19:42
Rename fields of the internal AuxData object to make them unique and easier to search for. file: [736dce6a] check-in: [2be9850c] user: drh branch: trunk, size: 57287
2017-03-06
20:00
Merge all pending 3.18 enhancements from trunk. file: [995f6356] check-in: [1650c3f4] user: drh branch: apple-osx, size: 58260
2017-03-03
21:51
If a reprepare is needed after binding to a variable with a number larger than 32, set only the high-order bit of the Vdbe.expmask rather than setting all bits. This could potentially result in fewer false-positive reprepares. file: [5b08d825] check-in: [45797fee] user: drh branch: trunk, size: 57253
2017-02-23
16:30
Save a few bytes and a few cycles by setting Vdbe.expmask to zero for statements prepared using legacy interface sqlite3_prepare(). file: [70aabe10] check-in: [a8fd7052] user: dan branch: trunk, size: 57257
2017-02-04
15:29
Merge recent trunk enhancements. file: [56ef5bdf] check-in: [6c3f0902] user: drh branch: apple-osx, size: 58150
2017-01-30
19:44
Experimental change to invoke the preupdate hook when WITHOUT ROWID tables are written. file: [3e4a8893] check-in: [856f8604] user: dan branch: preupdate-without-rowid, size: 57143
2017-01-27
16:39
Merge all recent trunk enhancements into the apple-osx branch. file: [46cdfab6] check-in: [0e14fe1b] user: drh branch: apple-osx, size: 57992
2017-01-25
18:53
Fix another pre-update hook issue, this time in sqlite3preupdate_old(). file: [7a65f106] check-in: [c7651d21] user: dan branch: trim-nulls, size: 56985
17:44
Fix a problem with the pre-update hook on this branch. file: [9a44ed2f] check-in: [6fc4fbfa] user: dan branch: trim-nulls, size: 57042
2017-01-03
20:20
Merge changes from the 3.16.1 release file: [fe1a1ebd] check-in: [dcbec226] user: drh branch: apple-osx, size: 58068
2016-12-23
03:59
Use the VList object to replace Parse.azVar for tracking the mapping between SQL parameter names and parameter numbers. There is a performance improvement, though there are still a few hiccups in the current code. file: [d6ebaa46] check-in: [68ecafa1] user: drh branch: VList, size: 57061
2016-12-21
19:45
Simplifications to the way UnpackedRecord objects are allocated. Smaller and faster code that also fixes a subtle (currently unreachable) bug. file: [129a2a11] check-in: [f7ab01f2] user: drh branch: trunk, size: 57208
2016-11-26
20:44
Merge all recent trunk changes, and especially the new sqlite3_snapshot_recover() interface. file: [ae2cab17] check-in: [41a3af54] user: drh branch: apple-osx, size: 58310
2016-11-25
19:18
Refactor the sqlite3BtreeKey() and sqlite3BtreeData() internal interfaces into sqlite3BtreePayload() and sqlite3BtreePayloadChecked(), respectively. This is a continuation of the optimization started by check-in [2d831074cf]. The result is a slightly smaller and faster binary. file: [ea4e2dc2] check-in: [49ebc219] user: drh branch: trunk, size: 57303
2016-11-04
19:09
Merge recent trunk changes, including all the fixes that appeared in version 3.15.1. file: [4ecb0af9] check-in: [0e5ffd91] user: drh branch: apple-osx, size: 58307
2016-10-21
21:21
In the sessions module, avoid recording a change if an UPDATE statement overwrites a column with REAL affinity containing an integer value with the same value. file: [97129bec] check-in: [b861328a] user: dan branch: sessions-fix, size: 57300
2016-10-01
11:39
Avoid accessing Vdbe.pc if it is uninitialized. Check Vdbe.magic first. file: [8272f934] check-in: [6ac6e446] user: drh branch: trunk, size: 57089
2016-09-28
16:15
Merge recent enhancements from trunk. file: [7c42a968] check-in: [06014163] user: drh branch: apple-osx, size: 58096
2016-09-22
21:37
Fix a potential null-pointer dereference and crash in the case where one thread is calling sqlite3_column_text() and another thread is calling sqlite3_step() on the same prepared statement at the same instant. file: [794f8066] check-in: [ee1382a3] user: drh branch: trunk, size: 57089
2016-09-20
01:46
Further performance enhancements in zeroblob() handling. file: [1e0505f6] check-in: [21b0e3b7] user: drh branch: trunk, size: 57043
2016-09-07
18:20
Merge recent enhancements from trunk. file: [17e7b651] check-in: [00759af0] user: drh branch: apple-osx, size: 58078
2016-08-18
14:33
Rename the Db.zName field to Db.zDbSName to make it more descriptive and to distinguish it from all of the other "zName" variables scattered throughout the code. file: [a32d61b7] check-in: [92a22f01] user: drh branch: zDbSName, size: 57071
2016-08-09
01:21
Refocus the timer on the pager_end_transaction() routine. file: [4fc64489] check-in: [9d4eb6e4] user: drh branch: debug, size: 44542
2016-08-04
14:08
Add extra logging calls to this branch. file: [c56dc899] check-in: [491f1ef3] user: dan branch: debug, size: 44544
2016-07-25
17:31
Merge 3.14 alpha changes from trunk. file: [facd9075] check-in: [e98cefb1] user: drh branch: apple-osx, size: 58075
2016-07-23
02:07
Add requirements marks to the sqlite3_trace_v2() interface documentation. file: [c3f6715a] check-in: [ebd388e9] user: drh branch: sqlite3_trace_v2, size: 57068
2016-07-14
01:09
Add the sqlite3_expanded_sql() interface. Refinements to the sqlite3_trace_v2() interface to make it more useful. file: [460b90f7] check-in: [99ee7ee5] user: drh branch: sqlite3_trace_v2, size: 56208
2016-07-13
22:55
First cut at implementing the new sqlite3_trace_v2() interface. file: [a466743c] check-in: [cb0062fe] user: drh branch: sqlite3_trace_v2, size: 56200
2016-06-15
10:21
Merge changes from trunk. file: [ac62868e] check-in: [0f707d15] user: drh branch: apple-osx, size: 56927
2016-06-04
20:37
Change the sqlite3BtreeKeySize() interface into sqlite3BtreeIntegerKey() and make it only work for table btrees. Change sqlite3BtreeDataSize() into sqlite3BtreePayloadSize() and make it work for all btrees. Combine sqlite3BtreeDataFetch() and sqlite3BtreeKeyFetch() into a single sqlite3BtreePayloadFetch() routine. These changes seem to make the b-tree interface more rational and they reduce both binary size and CPU usage. file: [02bcbc2c] check-in: [bef35e18] user: drh branch: btree-refactor, size: 55920
2016-04-21
15:35
Merge all recent enhancements from trunk. file: [ded51c08] check-in: [a15c49ae] user: drh branch: apple-osx, size: 56977
2016-02-25
18:54
Merge all the latest changes from trunk. file: [ba85b78f] check-in: [b8659004] user: drh branch: sessions, size: 55970
2016-02-18
01:36
Merge recent performance enhancements and the enhanced API_ARMOR from trunk. file: [334db1c0] check-in: [b7fa0fb3] user: drh branch: apple-osx, size: 51321
01:29
Add extra API armor on the sqlite3_bind_blob() interface. file: [95b1f8e5] check-in: [80de1ad5] user: drh branch: trunk, size: 50314
2016-02-13
23:43
Enhance ability to debug out-of-memory errors. file: [bfc06382] check-in: [6a9c4a3e] user: mistachkin branch: noMemBkpt, size: 50233
2016-02-05
14:29
Merge OOM handling optimizations and PRAGMA synchronous=EXTRA as well as other enhancements from trunk. file: [acc259f1] check-in: [201fcbee] user: drh branch: apple-osx, size: 51220
14:15
Merge enhancements from trunk. file: [f9bed48c] check-in: [a533608c] user: drh branch: sessions, size: 55869
01:55
Improvements to the way that OOM errors are processed. file: [9324f6ba] check-in: [c3ef0347] user: drh branch: oom-handling, size: 50213
2016-02-02
02:30
Merge recent enhancements from trunk. file: [29f9b3c1] check-in: [e6a4a163] user: drh branch: apple-osx, size: 51222
02:22
Merge all recent enhancements from trunk. file: [648ebb95] check-in: [f3f92001] user: drh branch: sessions, size: 55871
2016-01-30
15:46
A different way to clear the subtype on VDBE registers when the value of the register is overwritten with new content. To fix [[f45ac567eaa9f93]. file: [9d640d5e] check-in: [2e9fb129] user: dan branch: clear-subtype-flag, size: 50215
14:53
Take care to clear the subtype on VDBE registers when the value of the register is overwritten with new content. file: [59412373] check-in: [ec653cbc] user: drh branch: clear-subtype-fail, size: 50161
2016-01-20
11:40
Merge all recent enhancements from trunk. file: [a25beee4] check-in: [3ed49691] user: drh branch: apple-osx, size: 51124
11:33
Merge recent enhancements from trunk. file: [75fa852c] check-in: [327af5f6] user: drh branch: sessions, size: 55773
2016-01-14
22:19
Combine the xFunc and xStep pointers of the FuncDef object into a single pointer xSFunc. file: [ffae8f5a] check-in: [0d1b3d7d] user: drh branch: trunk, size: 50117
2015-12-02
20:40
Merge recent enhancements from trunk. file: [ab2cb8fe] check-in: [d1a1278d] user: drh branch: sessions, size: 55765
2015-09-24
14:43
Merge recent trunk enhancements into the apple-osx branch. file: [b13f483b] check-in: [4dd06d8b] user: drh branch: apple-osx, size: 51116
14:26
Merge all the latest trunk enhancements into the sessions branch. file: [f5eda36a] check-in: [c91065f8] user: drh branch: sessions, size: 55759
2015-09-19
18:08
Fix compiler warnings. file: [020681b9] check-in: [5c31ee62] user: drh branch: trunk, size: 50109
2015-09-15
17:20
Merge trunk enhancements into the apple-osx branch. file: [1e25aab8] check-in: [f12b8a0f] user: drh branch: apple-osx, size: 51004
2015-09-14
10:47
Merge the latest trunk enhancements. file: [82973abf] check-in: [22ce9218] user: drh branch: sessions, size: 55647
2015-09-10
20:34
Experimental implementation of sqlite3_result_subtype() and sqlite3_value_subtype() interfaces. file: [0d890f57] check-in: [7b5be299] user: drh branch: subtypes, size: 49997
2015-09-08
21:12
Enhance the DBSTAT virtual table with a new hidden table "schema" that if set will cause the table to report on the specified schema rather than on "main". Also: Fix a faulty assert in sqlite3_context_db_handle(). file: [b821d530] check-in: [6beb512c] user: drh branch: trunk, size: 49731
2015-08-28
02:12
Merge trunk enhancements into the apple-osx branch. Most tests works, but there are yet a few issues to be resolved. file: [0a32d589] check-in: [da864658] user: drh branch: apple-osx, size: 50739
2015-08-20
23:54
Merge recent trunk enhancements, include table-valued functions. file: [c58b0f5a] check-in: [e9196d56] user: drh branch: sessions, size: 55382
17:18
Make SQLITE_BUSY_SNAPSHOT and SQLITE_BUSY_RECOVERY retryable, just as a plain SQLITE_BUSY is. file: [bda74ef4] check-in: [fd13dd95] user: drh branch: trunk, size: 49732
2015-07-24
22:21
Merge test improvements and minor fixes from trunk. file: [7813b972] check-in: [0298a9a7] user: drh branch: sessions, size: 55375
17:36
Add the sqlite3_bind_zeroblob64() API. file: [adabbd66] check-in: [1997ee54] user: dan branch: trunk, size: 49725
17:14
Fix compiler warnings. Get the new sqlite3_result_zeroblob64() working on loadable extensions. file: [f91ac25a] check-in: [f8991e6f] user: drh branch: trunk, size: 49322
16:24
Add the sqlite3_result_zeroblob64() API. Use it in the SQL zeroblob() function. file: [a0ffa364] check-in: [c6445b9f] user: dan branch: trunk, size: 49317
15:49
More robust handling of zeroblob() with oversized arguments. Fix fuzzcheck so that it can be run with limited heap memory. file: [082746d4] check-in: [4e3e516a] user: drh branch: trunk, size: 48971
2015-07-14
15:39
Merge trunk changes, including the addition of FTS5 and pcache1 performance enhancements. file: [86f01f72] check-in: [db4cbefb] user: drh branch: sessions, size: 54595
14:48
Always invoke the profile callback even if the statement does not run to completion. file: [2fa7ed75] check-in: [202479aa] user: drh branch: trunk, size: 48945
2015-05-22
23:26
Merge enhancements from trunk, including the new sqlite3_value_dup() API and the addition of the apSqlParam field in the sqlite3_rtree_query_info object of R-Tree. file: [a5d2e8af] check-in: [cdc0ca6f] user: drh branch: sessions, size: 53781
21:04
Make sure sqlite3_value_dup() works correctly even for sqlite3_value objects that are marked SQLITE_STATIC. file: [6a0d7757] check-in: [f332ffc3] user: drh branch: value-dup, size: 48131
19:55
Fix minor issues with the sqlite3_value_dup() interface. file: [06b7b785] check-in: [95edcf50] user: drh branch: value-dup, size: 48145
2015-05-20
22:01
Add the sqlite3_value_dup() and sqlite3_value_free() interfaces and use those to add the sqlite3_rtree_query_info.apSqlParam field to the query callback in R-Tree. file: [87c9a551] check-in: [2007391c] user: drh branch: sessions-value-dup, size: 53720
21:28
Add the sqlite3_value_dup() and sqlite3_value_free() interfaces. Use these interfaces to enhance R-Tree to add the sqlite3_rtree_query_info.apSqlParam field. file: [f9ad1be1] check-in: [a7ee40c4] user: drh branch: value-dup, size: 48070
2015-04-22
14:41
Prototype for an sqlite3_db_log() interface. file: [d4c9945b] check-in: [658e20f5] user: drh branch: sqlite3_db_log, size: 47396
2015-03-17
18:54
Merge all recent trunk enhancements into the sessions branch. file: [d95f2bb4] check-in: [1d1c57c3] user: drh branch: sessions, size: 53036
18:35
Merge all recent trunk changes, and in particular the blocking WAL lock change, into the apple-osx branch. file: [36861a49] check-in: [8abbeadb] user: drh branch: apple-osx, size: 48393
2015-03-12
23:48
Fix the "now" option for date-time functions for cases when STAT4 is disabled. file: [583d56b1] check-in: [3ac1f6a3] user: drh branch: trunk, size: 47386
21:02
Always disallow functions as the DEFAULT of a column. Add assert()s and file: [1295402c] check-in: [a991bb1a] user: drh branch: stat4-function, size: 47372
06:46
The valueFromFunction() routine is better able to handle OOM errors. Omit unreachable branches. file: [da6551c9] check-in: [8fb6bd9b] user: drh branch: stat4-function, size: 47354
2015-03-11
20:06
Allow the query planner to evaluate deterministic scalar SQL functions used in WHERE constraints if all arguments are SQL literals in order to compare the results with sqlite_stat4 sample data. file: [5c207659] check-in: [b7f1fc26] user: dan branch: stat4-function, size: 46794
2015-03-09
13:18
Merge recent trunk enhancements into the apple-osx branch. file: [6ef15e2d] check-in: [5e04eec8] user: drh branch: apple-osx, size: 47690
13:07
Merge recent trunk enhancements into the sessions branch. file: [be4717b0] check-in: [68c8937e] user: drh branch: sessions, size: 52333
2015-02-27
00:33
Add a couple of requirements marks. file: [dac0d0d8] check-in: [d70b0fd4] user: drh branch: trunk, size: 46683
2015-02-21
15:13
Merge all recent trunk changes into the sessions branch. file: [1f5af816] check-in: [f36bb5fa] user: drh branch: sessions, size: 52160
2015-02-13
12:13
Merge all recent trunk fixes and enhancements into the apple-osx branch. file: [855e0c2f] check-in: [b2449d67] user: drh branch: apple-osx, size: 47517
12:05
Make sure the prepared statement auto-resets on extended error codes of SQLITE_BUSY and SQLITE_LOCKED even when compiled using SQLITE_OMIT_AUTORESET. file: [3d88089b] check-in: [3c6ca414] user: drh branch: trunk, size: 46510
2014-12-16
01:05
Merge threading fixes from trunk into the sessions branch. file: [90aeb4b3] check-in: [9817a286] user: drh branch: sessions, size: 52020
00:29
Merge latest fixes and enhancements from trunk into apple-osx. file: [ad6b1bde] check-in: [2c1d8dda] user: drh branch: apple-osx, size: 47377
2014-12-12
01:27
Add new tests to the threadtest4.c program. Fix a long-standing data race in WAL mode for shared-cache. file: [4bc511a4] check-in: [d8d3e6d0] user: drh branch: trunk, size: 46370
2014-12-11
16:38
Fix a race condition to do with very large index keys in shared-cache mode. file: [f8dd2d33] check-in: [fc157dd7] user: dan branch: trunk, size: 46296
2014-11-18
21:27
Merge recent trunk enhancements. file: [55cd1450] check-in: [ccb601f6] user: drh branch: apple-osx, size: 47346
21:20
Merge recent trunk enhancements, including the read-after-ROLLBACK change and the addition of sqlite3_stmt_scanstatus() support, as well as various minor bug fixes. file: [3d4d2a2b] check-in: [f09055f3] user: drh branch: sessions, size: 51989
2014-11-06
04:42
Add the SQLITE_SCANSTAT_SELECTID metric. Use it to improve the ".stmtscan on" output in the shell. file: [07acb615] check-in: [64ad5761] user: drh branch: scanstatus, size: 46339
03:55
Change the SQLITE_SCANSTAT_EST parameter so that it returns a double for the estimated number of output rows per loop, rather than a 64-bit integer. Revise the output format for the ".scanstats on" in the shell to make use of this new capability. file: [6a126fd8] check-in: [f9684000] user: drh branch: scanstatus, size: 46149
2014-11-03
16:39
Fix a typo preventing this from building with SQLITE_ENABLE_STMT_SCANSTATUS defined. file: [900259bd] check-in: [4c5714ab] user: dan branch: scanstatus, size: 46027
16:35
Refactor the interface to make it more easily extensible. file: [76d62888] check-in: [7955342d] user: drh branch: scanstatus, size: 46026
11:25
Remove unused variable from struct WhereInfo. Add some explanatory comments to new code. file: [addf446e] check-in: [f5313e0c] user: dan branch: scanstatus, size: 45859
2014-11-01
20:38
If SQLITE_ENABLE_STMT_SCANSTATUS is defined, record the number of times each VDBE opcode is executed. Derive the values returned by sqlite3_stmt_scanstatus() from these records on demand. file: [19e433e6] check-in: [9ea37422] user: dan branch: scanstatus, size: 45860
2014-10-31
20:11
Add the experimental sqlite3_stmt_scanstatus() API. file: [2afa2e16] check-in: [6a9bab34] user: dan branch: scanstatus, size: 45744
14:53
Merge recent trunk enhancements, and in particular the improvements to the b-tree balancing logic, into the sessions branch. file: [1a5c9248] check-in: [28b044a5] user: drh branch: sessions, size: 50203
2014-10-27
18:42
Merge latest enhancements, including the SQLITE_ENABLE_API_ARMOR patch, from trunk. file: [08f16b5d] check-in: [10aaf3b1] user: drh branch: apple-osx, size: 45560
2014-10-24
00:35
Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. file: [02d8afcf] check-in: [c297a84b] user: drh branch: api-armor, size: 44553
2014-10-23
17:26
Add debugging code to count the number of iterations of each loop made as part of statement execution. file: [cbfb0fed] check-in: [c6a5b67a] user: dan branch: debug-loopcounters, size: 44842
2014-10-10
12:56
Merge all recent trunk changes. file: [30a1c991] check-in: [abfef254] user: drh branch: sessions, size: 49855
2014-10-09
11:27
Merge the latest trunk enhancements into the apple-osx branch. file: [72c51192] check-in: [6fc72077] user: drh branch: apple-osx, size: 45212
2014-10-03
16:00
Add requirements marks on the sqlite3_db_status() interface implementation. Fix a typo in the documentation. Fix the new sqlite3_result_text64() routine so that it works correctly with an encoding parameter of SQLITE_UTF16. file: [37a6c6ae] check-in: [d2fc3227] user: drh branch: trunk, size: 44205
2014-09-21
23:08
Merge in all recent changes from trunk. file: [b7b086fc] check-in: [3967ebe8] user: drh branch: apple-osx, size: 45160
22:49
Merge all recent trunk changes into the sessions branch. file: [cdded67e] check-in: [6406b77f] user: drh branch: sessions, size: 49803
2014-09-19
00:43
Add the sqlite3VdbeMemClearAndResize() interface to be used in place of sqlite3VdbeMemGrow(). A C++ style comment was left in this check-in by mistake, and so it has been moved into a branch to avoid problems in any future bisects on windows. file: [e9e33b59] check-in: [5b9b8987] user: drh branch: Cplusplus-comment, size: 44153
2014-09-18
21:25
Add the Mem.szMalloc element to the Mem object and use it to keep track of the size of the Mem.zMalloc allocation. file: [e088ed70] check-in: [9c09ac35] user: drh branch: trunk, size: 44146
17:52
Merge the Mem.r value into the MemValue union as Mem.u.r. Hence, a Mem can now store an integer or a real but not both at the same time. Strings are still stored in a separate element Mem.z, for now. file: [88929e02] check-in: [4c8c89d7] user: drh branch: trunk, size: 44084
01:21
Fix compiler warnings and change the nullMem structure initializer into a format that MSVC can understand. file: [c02242df] check-in: [163bfae8] user: drh branch: micro-optimizations, size: 44121
2014-09-17
14:52
Improved interface to the Mem object handling. Small size reduction and performance increase. file: [c6e63f91] check-in: [4e437844] user: drh branch: micro-optimizations, size: 44056
2014-09-16
14:16
Reorder the elements of the Mem object for a small size reduction and performance improvement. Moved into a branch because MSVC is unable to handle named structure initializer on nullMem. file: [4d2aa56e] check-in: [0be3019e] user: drh branch: micro-optimizations, size: 44092
2014-09-11
23:34
Fix an issue with sqlite3_bind_text64() with the SQLITE_UTF16 encoding parameter. Remove some unreachable code from the text64() and blob64() implementation. file: [06b712d4] check-in: [34292b08] user: drh branch: trunk, size: 43873
2014-09-09
20:30
Change the name of the _texte64() interfaces to just _test64(), without the "e". file: [cec65a12] check-in: [6ab76c5f] user: drh branch: 64-bit-lengths, size: 43713
17:27
Add new APIs that take 64-bit length parameters: sqlite3_malloc64(), sqlite3_realloc64(), sqlite3_bind_blob64(), sqlite3_bind_texte64(), sqlite3_result_blob64(), and sqlite3_result_texte64(). Internal memory allocation routines also now use 64-bit unsigned length parameters for safety. Also add the sqlite3_msize() interface. Fix the sqlite3_get_table() to use sqlite3_realloc64() to avoid a integer overflow problem. file: [fce69e5e] check-in: [94954850] user: drh branch: 64-bit-lengths, size: 43715
2014-09-08
15:04
Merge support for large files on Android from trunk. file: [d6398509] check-in: [c2885c6b] user: drh branch: sessions, size: 47538
2014-09-06
16:39
Fix typos in comments. No code changes. file: [e43a6b98] check-in: [e62aab5e] user: peter.d.reid branch: trunk, size: 41888
2014-09-02
15:57
Merge the latest trunk changes into the apple-osx branch. file: [b0122a03] check-in: [696dc935] user: drh branch: apple-osx, size: 42888
15:49
Merge the latest trunk changes, including the multi-threaded sorter, into the sessions branch. file: [6b14e766] check-in: [d4cce2c7] user: drh branch: sessions, size: 47531
2014-08-27
14:14
In the sqlite3_context object, keep a pointer to the result value rather than storing the result value in the sqlite3_context object and using memcpy() to move the value back into its register after the function returns. This runs faster and saves over 500 bytes of code space. file: [09677a53] check-in: [6c1ee3e3] user: drh branch: trunk, size: 41881
2014-08-26
02:15
Merge recent performance enhancements and the CAST operator enhancements into the sessions branch. file: [ce34bb80] check-in: [08ae974a] user: drh branch: sessions, size: 47419
02:02
Merge recent performance enhancements and the CAST operator enhancements into the apple-osx branch. file: [78537741] check-in: [5c273111] user: drh branch: apple-osx, size: 42776
2014-08-23
18:17
Make the implementation of the sqlite3_aggregate_context() interface faster for second an subsequent invocations. This helps all aggregate functions to perform better. file: [cda97408] check-in: [802148f3] user: drh branch: trunk, size: 41769
2014-08-22
18:00
Split the sqlite3Error() routine into sqlite3Error() and sqlite3ErrorWithMsg(), for a slight size reduction and performance increase. file: [49b8d294] check-in: [cf561d1f] user: drh branch: trunk, size: 41505
2014-08-21
16:09
Merge all recent trunk changes, especially the fix for ticket [369d57fb8e5ccdff06f1], but also the skip-scan improvement and performance improvements in the b-tree code. file: [11d97cd5] check-in: [0b9e2c32] user: drh branch: sessions, size: 47176
2014-08-19
20:41
A better fix for the sqlite3_trace() problem. Ticket [11d5aa455e0d98f3c1e6a] file: [7858d7e7] check-in: [44d5bd4c] user: drh branch: trunk, size: 41520
20:27
Make sure the sqlite3_trace() callback is invoked, even if the prepared statement was marked "expired" before it ever entered sqlite3_step(). Ticket [11d5aa455e0d98f3c1e6a08]. file: [ce75e452] check-in: [0d4d3df4] user: drh branch: trunk, size: 41512
2014-07-24
16:43
Merge recent trunk changes into the apple-osx branch. file: [4606079c] check-in: [3810dc62] user: drh branch: apple-osx, size: 42475
16:23
Merge recent trunk changes into the sessions branch. file: [52335de5] check-in: [a9db017e] user: drh branch: sessions, size: 47124
2014-07-19
17:57
Update the sqlite3_stmt_busy() function so that it correctly returns true for "ROLLBACK" statements that have been stepped but not yet reset. file: [24e40422] check-in: [61cee3c0] user: dan branch: trunk, size: 41468
2014-05-09
12:18
Fix an incorrect check for API misuse. file: [32a44360] check-in: [856400dc] user: drh branch: apple-osx, size: 42474
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: [e37d694f] check-in: [9411d7dc] user: drh branch: apple-osx, size: 42597
2014-03-05
14:49
Merge in various obscure bug fixes and the removal of Mem.memType from trunk. file: [d3c66276] check-in: [0828975d] user: drh branch: sessions, size: 47123
14:40
When converting a result type from TEXT to BLOB using the sqlite3_value_blob() interface, continue to report SQLITE_TEXT as the true type from sqlite3_value_text() as long as that text is still valid. The maintains legacy behavior from before the noMemType change. file: [0ed6053f] check-in: [1d134ba2] user: drh branch: trunk, size: 41467
12:47
Separate the column NULL value constant into a separate routine for greater commonality with the sessions branch. file: [77fbd57c] check-in: [12cbebb9] user: drh branch: trunk, size: 41493
01:29
Experimental simplification of memory flags/type handling. file: [a5c48f2b] check-in: [bac2820e] user: mistachkin branch: noMemType, size: 41539
2014-02-11
04:30
Sync the latest trunk changes, and in particular the STAT4 IS NOT NULL fix. file: [a130692d] check-in: [b0067926] user: drh branch: sessions, size: 47188
2014-02-10
03:21
Faster and smaller implementation of sqlite3_value_type(). file: [5bc41aae] check-in: [5708bc24] user: drh branch: trunk, size: 41547
2013-12-14
18:24
Merge in all recent preformance enhancements from trunk. file: [647d6581] check-in: [32477642] user: drh branch: sessions, size: 46052
2013-12-13
16:23
Simplication and optimization of error message handling. file: [ce4e68ea] check-in: [9d347f54] user: drh branch: trunk, size: 40411
2013-11-27
21:53
Merge all recent trunk changes. file: [e80d6d9d] check-in: [3a2a1bd4] user: drh branch: sessions, size: 45994
2013-10-10
20:13
Synchronize with the trunk. file: [8ade912f] check-in: [136445ba] user: drh branch: sessions, size: 47044
2013-09-16
12:57
The date and time functions use the exact same notion of "now" for every invocation within the same call to sqlite3_step(). file: [93a22a9b] check-in: [daf6ba41] user: drh branch: trunk, size: 40414
2013-08-20
13:02
Merge performance enhancements and compiler warning fixes from trunk. file: [ae87d198] check-in: [3e403328] user: drh branch: sessions, size: 46740
00:42
Performance optimizations in the VDBE and especially to the OP_Next and related opcodes. file: [96b24b94] check-in: [d78c5d89] user: drh branch: toTypeFuncs, size: 40110
2013-08-19
23:18
Performance improvement to SQL function calls in the VDBE. file: [a183f0da] check-in: [d2efea16] user: drh branch: toTypeFuncs, size: 40109
2013-08-02
20:44
Merge in the latest trunk changes, including partial indexes, the MAX_PATH fix in os_win.c, and the sqlite3_cancel_auto_extension() API. file: [c8c43304] check-in: [7e1acb39] user: drh branch: sessions, size: 46522
2013-07-18
17:12
Ensure that all auxiliary data registered by calls to sqlite3_set_auxdata() is destroyed when the VM is halted. Partial fix for [406d3b2ef9]. DRH adds: Stray text accidentally inserted into vdbe.c just prior to the commit breaks the build. file: [4d13580b] check-in: [71effa59] user: dan branch: typo, size: 39892
2013-07-11
15:03
Add the "defer_foreign_keys" pragma and the SQLITE_DBSTATUS_DEFERRED_FKS value for sqlite3_db_status(). This is a cherry-pick of a sequence of five checkins in the sessions branch between [1d44e5d3c2] and [d39e65fe70]. file: [c8822294] check-in: [527121ac] user: drh branch: trunk, size: 39998
13:49
Remove the undocumented sqlite3_foreign_key_check() API and replace it with sqlite3_db_status(db, SQLITE_DBSTATUS_DEFERRED_FKS, ...). Add test cases for the new functionality. file: [bca51b6e] check-in: [d39e65fe] user: drh branch: sessions, size: 46628
2013-07-09
13:05
Pull in all the latest changes from trunk. file: [bb28ee14] check-in: [af3ca4c6] user: drh branch: sessions, size: 46704
2013-07-03
19:53
Experimental change to the handling of foreign key constraint violations when applying a changeset: all foreign keys, immediate and deferred, are deferred until the end of the transaction (or sub-transaction) opened by the sqlite3changeset_apply(). A single call to the conflict-handler (if any) is made if any FK constraint violations are still present in the database at this point. The conflict-handler may choose to rollback the changeset or to apply it, constraint violations and all. file: [c45805f7] check-in: [1d44e5d3] user: dan branch: sessions, size: 46676
2013-06-28
01:24
Refactor the Vdbe.noIO field as Vdbe.bIsReader. The meaning is inverted. file: [e3ad4cdd] check-in: [59f98c5c] user: drh branch: trunk, size: 39956
2013-06-27
23:54
Refactor names of fields in the sqlite3 object: "activeVdbeCnt" becomes "nVdbeActive". Related fields becomes "nVdbeRead", "nVdbeWrite", and "nVdbeExec". file: [649df0c9] check-in: [14f79696] user: drh branch: trunk, size: 39954
17:40
Make sure that sqlite3_stmt_readonly reports false for PRAGMA journal_mode and PRAGMA wal_checkpoint. Ticket [a589ec069e3]. Also keep track of whether a prepared statement does no reading or writing. file: [be5e9ebd] check-in: [1937fd8e] user: drh branch: trunk, size: 39965
2013-06-26
13:31
Bring the sessions branch up-to-date with all the latest trunk changes. file: [4c5da202] check-in: [086a1272] user: drh branch: sessions, size: 46558
2013-05-28
12:11
Many small harmless comment changes. Removal of obsolete comments and fixing misspelled words. No changes to code. file: [0b2c7879] check-in: [a0d5cc93] user: drh branch: trunk, size: 39928
2013-04-22
23:59
Merge the latest trunk changes into the sessions branch. file: [5899f359] check-in: [6994826c] user: drh branch: sessions, size: 46771
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: [085cf9bf] check-in: [c1d7304c] user: drh branch: trunk, size: 40141
2013-03-28
01:19
Merge the changes for the 3.7.16.1 release candidate into the sessions branch. file: [8245e8c2] check-in: [ee35a897] user: drh branch: sessions, size: 46976
2013-03-21
21:20
Many spelling fixes in comments. No changes to code. file: [56f9ad63] check-in: [6f6e2d50] user: mistachkin branch: trunk, size: 40346
2013-03-06
02:12
Merge all the latest trunk changes into the sessions branch. file: [b816227e] check-in: [d69d2190] user: drh branch: sessions, size: 46975
2013-03-01
01:07
Always use strncmp() rather than memcmp() when comparing strings where one or other string might be less than the length parameter, since optimized versions of memcmp() might read past the first difference and in so doing generate an access violation. file: [96169862] check-in: [d7343558] user: drh branch: trunk, size: 40345
2012-09-28
13:05
Merge the latest trunk changes (especially "PRAGMA busy_timeout" and the ORDER BY query planner optimizations) into the sessions branch. file: [58fdcd56] check-in: [6ca8eae1] user: drh branch: sessions, size: 46974
10:57
Merge the latest trunk changes (PRAGMA busy_timeout and the ORDER BY query planner enhancements) into the apple-osx branch. file: [e05707f3] check-in: [6a5c59dd] user: drh branch: apple-osx, size: 41474
2012-09-04
21:34
Avoid repeating calls to the sqlite3_trace() callback when the same statement is evaluted multiple times by sqlite3_step() due to an SQLITE_SCHEMA reprepare. file: [4c241816] check-in: [39f763bf] user: drh branch: trunk, size: 40344
2012-08-25
01:38
Merge all the latest trunk changes into the apple-osx branch. file: [31936c16] check-in: [6723add4] user: drh branch: apple-osx, size: 41430
2012-08-15
16:21
Merge all the latest trunk changes into the sessions branch. file: [7d23764e] check-in: [fc07a479] user: drh branch: sessions, size: 46930
2012-06-21
17:21
Remove code that was incorrectly changing SQLITE_MISUSE errors into SQLITE_OK in sqlite3_finalize(). file: [88ea823b] check-in: [d5e68802] user: drh branch: trunk, size: 40300
2012-06-02
14:32
The sqlite3_close() interface returns SQLITE_OK even if there are outstanding sqlite3_stmt and sqlite3_backup objects. The connection becomes a zombie. Resource deallocation is deferred until the last sqlite3_stmt or sqlite3_backup object closes. This is intended to help SQLite play nicer with garbage collectors. file: [f8ba0913] check-in: [e276a02b] user: drh branch: deferred-close, size: 40351
2012-02-13
13:44
Generalize the interrupt mechanism so that individual statements can be interrupted and so that codes other than just SQLITE_INTERRUPT can be returned as a consequence of an interrupt. file: [23164e00] check-in: [922bcbb4] user: drh branch: generalize-interrupt, size: 40152
2012-01-05
13:02
Merge all of the latest trunk changes into the sessions branch. file: [2fc381f6] check-in: [a9bcb432] user: drh branch: sessions, size: 47027
2012-01-03
21:54
Pull all the latest trunk changes over into the apple-osx branch. file: [bf1f6327] check-in: [8a048423] user: drh branch: apple-osx, size: 41527
2011-12-31
21:51
Fix typos in comments. No changes to code. file: [3662b6a4] check-in: [6827338e] user: drh branch: trunk, size: 40397
2011-12-08
21:08
Merge the latest trunk changes into the apple-osx branch. file: [f3e684cb] check-in: [59e0d4f3] user: drh branch: apple-osx, size: 41522
2011-11-25
17:21
Add the sqlite3_stmt_busy() interface. file: [86189ebb] check-in: [95cc4af6] user: drh branch: trunk, size: 40392
2011-10-31
14:42
Pull the latest trunk changes into the apple-osx branch. file: [a78a20bf] check-in: [4fa9ee79] user: drh branch: apple-osx, size: 41321
14:34
Merge in all changes found in the version 3.7.9 release candidate. file: [0dd78158] check-in: [23580718] user: drh branch: sessions, size: 46821
2011-10-27
15:19
If an error occurs within sqlite3_step() on a statement prepared using sqlite3_prepare_v2(), transfer both the error code and error message to the database handle before sqlite3_step() returns (so that they are available via sqlite3_errcode() and sqlite3_errmsg(). Prior to this commit, only the error code was transfered. The error message was not available until after either sqlite3_reset() or sqlite3_finalize() had been called on the statement handle. file: [4dbba7f9] check-in: [8f88cc4e] user: dan branch: trunk, size: 40191
2011-09-14
19:41
Merge latest changes from the trunk into the sessions branch. file: [c969d467] check-in: [c00e45ed] user: dan branch: sessions, size: 46813
2011-08-02
18:25
Merge all the latest trunk changes into the apple-osx branch. file: [335435e6] check-in: [77376b33] user: drh branch: apple-osx, size: 41313
2011-07-22
12:49
Merge the latest trunk changes into the sessions branch. file: [ddd06118] check-in: [110cfd69] user: drh branch: sessions, size: 46220
2011-07-11
19:45
Modifications so that the sessions extension works with blob handles. file: [432a8a19] check-in: [82ac16c4] user: dan branch: sessions, size: 46211
2011-06-27
19:12
Remove an unnecessary assignment from vdbeapi.c. file: [11dc4798] check-in: [25e5b768] user: dan branch: fts3-changes, size: 40183
2011-06-23
02:30
Pull the latest changes from trunk into the apple-osx branch. file: [7f01db7d] check-in: [b5acda04] user: drh branch: apple-osx, size: 41304
02:11
Pull the latest trunk changes into the sessions branch. file: [1d947da0] check-in: [5d95b429] user: drh branch: sessions, size: 46209
01:42
Provide the SQLITE_MAX_SCHEMA_RETRY compile-time parameter for adjusting the number of reparse attempts after a schema change. file: [2f908c65] check-in: [8dca748b] user: drh branch: trunk, size: 40174
2011-06-20
10:44
Merge the latest trunk changes into the sessions branch. file: [3f6e988b] check-in: [4c5e276c] user: drh branch: sessions, size: 45982
2011-06-02
13:07
Merge the latest trunk changes, including the read-only shared memory enhancement, into the apple-osx branch. file: [d2ce598d] check-in: [ce5f95de] user: drh branch: apple-osx, size: 41077
2011-06-01
18:15
Refactor the SQL parameter processing so that parameter names for values that are optimized out of the prepare statement are not forgotten. file: [0eeadc75] check-in: [b3aaf715] user: drh branch: trunk, size: 39947
2011-04-05
22:13
Merge the latest trunk changes into the sessions branch. file: [8051038f] check-in: [45f20261] user: drh branch: sessions, size: 46818
22:10
Merge the latest trunk changes into the apple-osx branch. file: [34b6686d] check-in: [c77a767c] user: drh branch: apple-osx, size: 41913
22:08
Suppress many harmless compiler warnings, mostly signed/unsigned comparisons within asserts or unused parameters in extensions. file: [e0e2672e] check-in: [3eeb0ff7] user: drh branch: trunk, size: 40783
2011-04-04
13:11
Merge in the latest changes from trunk. file: [bb9859f2] check-in: [6d78a25d] user: drh branch: apple-osx, size: 41835
2011-03-30
21:04
Add the SQLITE_ENABLE_PREUPDATE_HOOK compile-time option. file: [7ef51908] check-in: [66345214] user: drh branch: sessions, size: 45930
2011-03-22
18:45
Add API function sqlite3_preupdate_depth(), for determining the depth of the trigger stack from within a pre-update callback. file: [e472b3e5] check-in: [bdea7089] user: dan branch: sessions, size: 45618
2011-03-21
16:17
Add start of fault-injection tests for session module. Fix some bugs related to the same. file: [3d620e00] check-in: [32e95164] user: dan branch: sessions, size: 44976
2011-03-19
08:38
Fix a problem with INTEGER PRIMARY KEY columns and the pre-update hook. file: [c4692c74] check-in: [24d4d5dd] user: dan branch: sessions, size: 44935
2011-03-18
16:47
Fixes for compiler warnings. Minor code cleanup. file: [0e53620e] check-in: [9604d130] user: drh branch: sessions, size: 44668
12:35
Merge all the latest trunk enhancements into the sessions branch. file: [988ee942] check-in: [94fd5bb6] user: drh branch: sessions, size: 44623
2011-03-16
19:59
Add the sqlite3_preupdate_new() API, for retrieving the new.* values from within a pre-update callback. file: [3066456f] check-in: [526545c4] user: dan branch: sessions, size: 44673
09:49
Remove the sqlite3_transaction_hook() API. file: [256029b0] check-in: [b0015a1c] user: dan branch: sessions, size: 42518
2011-03-08
19:22
Add start of sessions feature. file: [750dcdea] check-in: [269a81a3] user: dan branch: sessions, size: 42789
2011-03-07
16:12
Backport a fix from [6b0cabd017ed25] (version 3.6.16 - 2009-03-05) to the 3.6.1 branch, a fix that prevents a null pointer deref if one of the column access routines such as sqlite3_column_int() is called with a NULL first parameter. file: [e61d3fff] check-in: [df343640] user: drh branch: branch-3.6.1, size: 37859
2011-03-06
21:28
Remove dead code identified by the clang static analyzer. file: [a09ad916] check-in: [01a79d5a] user: drh branch: trunk, size: 40705
2011-03-03
20:06
Add the experimental sqlite3_transaction_hook() API. file: [ea741433] check-in: [093d8cd8] user: dan branch: sessions, size: 42936
2011-03-01
18:42
Add the experimental sqlite3_preupdate_hook() API. file: [c407f3f0] check-in: [6145d7b8] user: dan branch: sessions, size: 42665
2011-01-27
18:48
Pull in all the changes from trunk up through the version 3.7.5 release candidate 1. file: [35553aa4] check-in: [09d6c91d] user: drh branch: apple-osx, size: 41885
2011-01-22
13:32
Modify the trace callback mechanism so that SQL commands executed from within virtual table or user function callbacks are passed to the trace callback without parameter expansion and enclosed in SQL comments. file: [8e9324fd] check-in: [a764915b] user: dan branch: trunk, size: 40755
2011-01-17
17:42
Add the SQLITE_OMIT_AUTORESET compile-time option which if enabled causes the sqlite3_step() routine to return SQLITE_MISUSE if it is called after it has previously returned anything other than SQLITE_ROW, SQLITE_BUSY, or SQLITE_LOCKED. file: [69c82283] check-in: [053ce76d] user: drh branch: trunk, size: 40709
2011-01-11
01:42
A proposed change to the sqlite3_step() API such that it will only auto-reset following an SQLITE_BUSY or SQLITE_LOCKED error. Calls after any other result other than SQLITE_ROW will return SQLITE_MISUSE. file: [dadcdb10] check-in: [d1b3c54f] user: drh branch: step-autoreset, size: 40077
2011-01-07
02:50
Reorder the fields in private structures in an effort to reduce alignment gaps and thus make the structures smaller, and to put frequently accessed fields first. Also update some obsolete comments. Valgrind shows a very slight performance improvement. file: [0f898cc7] check-in: [378a1d13] user: drh branch: trunk, size: 39819
2010-11-19
23:50
Merge all the latest changes from the trunk into the apple-osx branch. file: [09ebd299] check-in: [c8bc057c] user: drh branch: apple-osx, size: 40949
2010-11-16
23:10
Adding the sqlite3_stmt_readonly() interface. file: [fb003618] check-in: [fd5b2f23] user: drh branch: trunk, size: 39819
2010-10-14
01:16
Check-in [d3c95e3a4e08d0] was incorrect. This is the correct fix for sqlit3_bind_blob(). Ticket [860399cc408f2dd5f4] file: [5368714f] check-in: [ea8c2f5f] user: drh branch: trunk, size: 39629
2010-10-12
02:13
Fix the sqlite3_bind_blob() interface (and its kin) so that the destructor is invoked if the binding fails. Ticket [860399cc408f2dd5f41aed44b] Update the documentation to explain which interfaces invoke their destructors on failure and which do not. file: [66abe27b] check-in: [d3c95e3a] user: drh branch: trunk, size: 39588
2010-09-29
01:54
Updates to sqlite3_finalize() documentation. file: [03cddfa4] check-in: [8c5994cf] user: drh branch: trunk, size: 39544
2010-09-14
18:23
Clarify the documentation to better explain when an automatic re-prepare can be induced by rebinding parameters. Add evidence marks to the automatic re-prepare logic. file: [14040ffa] check-in: [3e11f515] user: drh branch: trunk, size: 39427
2010-09-08
16:30
Updates to the documentation of the sqlite3_column_xxxx() family of interfaces. Enhance sqlite3_column_blob() so that it always returns a NULL pointer for a zero-length blob. file: [27f7696b] check-in: [a932fab2] user: drh branch: trunk, size: 39060
2010-08-31
15:27
Add evidence mark comments to source code. Add additional information to the documentation of sqlite3_release_memory(). Fix a minor inefficiency in mem1.c that was discovered while writing requirements tests. file: [bec07756] check-in: [53b0c03f] user: drh branch: trunk, size: 39089
2010-08-18
00:24
Merge the 3.7.1 pre-release snapshot changes as of 2010-08-18 into the apple-osx branch. file: [232d2046] check-in: [866e9286] user: drh branch: apple-osx, size: 39914
00:09
Updating apple-osx with minor source fixes, database truncate and replace private calls and a bunch of conditionalization for tests running in different environments file: [a4e1b491] check-in: [5e2ee7db] user: adam branch: apple-osx, size: 39904
2010-08-07
11:46
Merge in all changes up to the 3.7.0.1 release. file: [95b451c6] check-in: [f88c6367] user: drh branch: apple-osx, size: 39781
2010-07-29
10:07
Change the profile timer units back to nanoseconds and update the sqlite3_profile() documentation. Ticket [c43940c49b74c70a69] file: [d0f4407e] check-in: [7783b98a] user: drh branch: trunk, size: 38784
2010-06-16
19:48
Merge in changes up to and including the 3.6.23.1 release. file: [6248612d] check-in: [21ca87f6] user: drh branch: apple-osx, size: 39086
2010-05-05
20:00
Change the behavior of the sqlite3_wal_hook() callback. It should now return SQLITE_OK or an error code and the error code is propagated back up the stack. If a checkpoint is desired, the callback should invoke sqlite3_wal_callback() itself. file: [dc3138f1] check-in: [1b14195e] user: drh branch: trunk, size: 38774
2010-05-03
14:32
Use VFS method xCurrentTimeInt64 instead of xCurrentTime when it is available. Provide an implementation of xCurrentTimeInt64 for os_unix.c. file: [f2da22e5] check-in: [ab77b3ae] user: drh branch: trunk, size: 38815
11:05
Add the "PRAGMA wal_autocheckpoint" command. Rename "PRAGMA checkpoint" to "PRAGMA wal_checkpoint". file: [cf1ff7cb] check-in: [714e5947] user: dan branch: wal, size: 38995
2010-05-01
16:40
Support compile-time option SQLITE_OMIT_WAL, for building without WAL support. file: [810abe69] check-in: [9b230c43] user: dan branch: wal, size: 39017
2010-04-29
22:34
Refactor wal.c to use the VFS. This check-in compiles and links and works ok as long as you leave WAL turned off, but WAL does not work. file: [85e448c7] check-in: [62db5fa3] user: drh branch: wal, size: 38840
2010-04-19
18:03
Add the sqlite3_log_hook() interface for scheduling checkpoints. file: [466044df] check-in: [9bda6014] user: dan branch: wal, size: 38840
2010-04-17
12:53
Change sqlite3_step() so that it automatically calls sqlite3_reset() instead of returning SQLITE_MISUSE when invoked on a prepared statement that previously returned any value other than SQLITE_ROW. file: [11bcc381] check-in: [3e646e3f] user: drh branch: trunk, size: 38242
2010-02-26
22:05
fix merge error and compiler warning file: [24fa8ef6] check-in: [5c0afe70] user: adam branch: apple-osx, size: 38437
20:54
More double free paranoia file: [3dfa0235] check-in: [62dfb44b] user: adam branch: apple-osx, size: 38437
2010-02-25
21:27
Test coverage enhancements. Additional documentation detail on the new sqlite3_log() interface. file: [74c25680] check-in: [d986e928] user: drh branch: trunk, size: 38079
02:32
Merge in all of the logging enhancements. This is a cherrypick merge of the following check-ins: [103321e37a], [a8076aede3], [6d910245ad], [7c4cca6d1a], [edea3bb740], [1a6d4bb130], [a8c984c1d6], [69a493182f], and [1168763d2c]. file: [95e66cf3] check-in: [46f406b2] user: drh branch: branch-3.6.22, size: 38048
2010-02-24
18:40
Fix an incorrect ALWAYS() macro in vdbeapi.c. Fix the output of a few test cases that changed due to better error propagation out of reprepare. file: [e0398d74] check-in: [a8c984c1] user: drh branch: trunk, size: 38099
17:15
Enhancements to the way errors are reported up when an automatic statement reprepare fails. file: [a8e8b629] check-in: [1a6d4bb1] user: drh branch: trunk, size: 38131
2010-02-23
20:11
Continuing improvements to error reporting and the sqlite3_log() routine. file: [e9a5abc4] check-in: [edea3bb7] user: drh branch: trunk, size: 37881
17:36
Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging output for CORRUPT, and CANTOPEN errors. file: [c1432e2a] check-in: [7c4cca6d] user: drh branch: trunk, size: 37122
2010-02-17
19:34
Merge latest changes from the trunk into the apple-osx branch. file: [5c3edfc6] check-in: [4b72e39b] user: drh branch: apple-osx, size: 38381
2010-01-31
15:14
Fix a C++-ism that snuck into sqlite3_finalize(). file: [a8b6a661] check-in: [fb96f2a2] user: drh branch: trunk, size: 37267
2010-01-20
14:25
Fix a problem with handling OOM errors in fts3. file: [c2c75b05] check-in: [f9c54e95] user: dan branch: trunk, size: 37227
01:26
Update the Apple OS-X branch to include all of the latest changes in trunk. file: [598ce263] check-in: [96499b1d] user: drh branch: apple-osx, size: 38290
01:20
Manually copy over the rebustness fixes from the apple-osx branch. file: [1dc9dce4] check-in: [095c74ea] user: drh branch: trunk, size: 37176
2010-01-19
23:50
robustness fixes for preventing a finalized statement from being reused file: [adab93a7] check-in: [a7a0c8d6] user: adam branch: apple-osx, size: 38309
2009-12-16
23:46
Merge the latest changes on trunk (and especially the fix for the (xANDy)OR(z) bug) into apple-osx. file: [2d8304ac] check-in: [5754a3a5] user: drh branch: apple-osx, size: 38249
2009-12-11
03:44
Extensive edits to the comments in the sqlite.h.in source file to identify testable statements of truth about the C-language interface. file: [fc3787eb] check-in: [ea884e1e] user: drh branch: trunk, size: 37130
2009-12-07
23:53
Merge all changes associated with the version 3.6.21 release into the OS-X branch. file: [52739f95] check-in: [ad08794d] user: drh branch: apple-osx, size: 38226
2009-11-26
14:01
Simplifications to the sqlite3_trace() bound parameter substitution logic. file: [bb128b81] check-in: [cb4b9286] user: drh branch: trunk, size: 37107
2009-11-10
01:30
Remove the obsolete "$Id:$" RCS identifier strings from the source code. file: [17680ab7] check-in: [f6c045f6] user: drh branch: trunk, size: 36959
2009-11-03
22:34
Customizations for OSX contributed by Apple. file: [de488c63] check-in: [941a01eb] user: adam branch: apple-osx, size: 38137
2009-10-20
07:01
Fix cases where modifying bound variables using the clear_bindings() or transfer_bindings() APIs can invalidate a query plan. file: [44b5f387] check-in: [e6808c98] user: dan branch: trunk, size: 37018
2009-10-19
20:15
Fix an incorrect assert() in vdbeUnbind(). file: [b1005264] check-in: [651c1efb] user: drh branch: trunk, size: 36814
18:30
Fix an assert() that may fail if sqlite3_step() is called on a statement after a previous call has already returned SQLITE_SCHEMA. file: [64313d60] check-in: [63bf7345] user: dan branch: trunk, size: 36833
18:11
Remove the sqlite3_reoptimize() API. The same functionality is now provided automatically to queries prepared using prepare_v2(). file: [1124f16b] check-in: [2c50b3d5] user: dan branch: trunk, size: 36809
2009-10-16
15:19
Remove a mutex reference leak from sqlite3_reoptimize(). file: [a7669f43] check-in: [9f093706] user: dan branch: experimental, size: 37665
2009-10-15
18:35
Add the experimental sqlite3_reoptimize() API. file: [7de617ac] check-in: [9bd6f3d8] user: dan branch: experimental, size: 37726
2009-09-19
17:00
Check in implementation of foreign key constraints. file: [524d79eb] check-in: [d5d39981] user: dan branch: trunk, size: 36506
2009-09-08
19:15
Combine the OP_Statement and OP_Transaction opcodes. file: [b7e5f344] check-in: [aec9dbd8] user: dan branch: trunk, size: 36426
2009-08-28
18:53
Changes to support recursive triggers. file: [8d5013ab] check-in: [9b9c1921] user: dan branch: trunk, size: 36423
2009-06-25
01:47
Improved handling of oversize string and blob errors. Other simplifications in support of full coverage testing. (CVS 6813) file: [0ab8ada7] check-in: [8b340766] user: drh branch: trunk, size: 36420
2009-06-19
14:06
Reorganize and cleanup the prepared statement object. Remove code that has been commented out for ages and is no longer relevant to anything. (CVS 6786) file: [73bd1d2c] check-in: [37ae5f5e] user: drh branch: trunk, size: 35829
2009-06-06
14:13
When building in debug mode with gcc, force the nullMem variable in function columnMem() to be aligned to an 8-byte boundary. Otherwise an assert() statement may fail. (CVS 6723) file: [619992b1] check-in: [3fd6c72d] user: danielk1977 branch: trunk, size: 41165
2009-04-27
18:46
Bring the documenation and implementation of sqlite3_collation_needed() into agreement. Use a more efficient implementation of sqlite3ErrStr(). sqlite3_result_error_code() now calls sqlite3ErrStr() if no prior error string was set. (CVS 6550) file: [86aa27a5] check-in: [cb9af829] user: drh branch: trunk, size: 40346
2009-04-14
12:58
Change the sqlite3_bind_value() implementation to use a default branch on the type switch so that there are no untested jumps in the switch. (CVS 6505) file: [015c9d0f] check-in: [d0a8bd6a] user: drh branch: trunk, size: 40190
12:43
Reimplement the sqlite3_bind_value() interface so that it works when the value being bound comes from a different database connection. (CVS 6504) file: [3783c341] check-in: [3db0c798] user: drh branch: trunk, size: 40169
2009-04-10
23:11
Remove more unused branches from vdbeapi.c. (CVS 6491) file: [0d4138c7] check-in: [447e9595] user: drh branch: trunk, size: 39788
20:32
Remove unused branches from the vdbeapi.c module. (CVS 6489) file: [6cb5f22a] check-in: [7ae0fc7e] user: drh branch: trunk, size: 39764
2009-04-09
14:02
Remove misuse detection from the deprecated sqlite3_transfer_bindings() interface. The code was hard to test and was simply taking up space. (CVS 6476) file: [d3c6f28d] check-in: [4cd82910] user: drh branch: trunk, size: 39807
2009-04-08
23:05
Simplify the implementation of the columnName() function in vdbeapi.c. This is a code cleanup only - no behavior changes. (CVS 6474) file: [adf0e8f1] check-in: [0628f586] user: drh branch: trunk, size: 39465
15:45
Remove a pair unnecessary conditions from printf.c. The "db" parameter is now required for sqlite3MPrintf(). (CVS 6471) file: [b158449a] check-in: [6fe8b5d7] user: drh branch: trunk, size: 39405
2009-03-25
15:43
Fix a problem preventing sqlite3_extended_errcode() from working correctly. (CVS 6385) file: [950986b0] check-in: [de469c46] user: danielk1977 branch: trunk, size: 39414
2009-03-19
18:51
Fix a couple of fairly obscure cases where an assert() could fail following a malloc failure. (CVS 6360) file: [025d83f5] check-in: [cc0d9256] user: danielk1977 branch: trunk, size: 38934
07:58
Change sqlite3_step() to return SQLITE_LOCKED if a statement cannot be re-compiled due to locks on the shared-cache schema. Also add a blocking wrapper of sqlite3_prepare_v2() to the test code. (CVS 6359) file: [e50f5f6d] check-in: [e8be1af9] user: danielk1977 branch: trunk, size: 38840
2009-03-05
04:23
Added some asserts and a check for a null pointer dereference. (CVS 6337) file: [ffd5d8b4] check-in: [6b0cabd0] user: shane branch: trunk, size: 38816
2009-02-19
14:39
Changes to reduce the heap space consumed by triggers, views and tables in the in-memory representation of the schema. Also to reduce the space used by prepared statements slightly. (CVS 6305) file: [f94fe2eb] check-in: [d9f6ffbc] user: danielk1977 branch: trunk, size: 38804
2009-02-04
03:59
Changes to completely remove all floating point ops if SQLITE_OMIT_FLOATING_POINT defined. Note that w/o fp, date/time, round, nan, etc. are all gone or limited in functionality. Updated some of the test scripts to support missing fp and 64-bit functionality. Ticket #3029. (CVS 6250) file: [b23c4b16] check-in: [5cef4000] user: shane branch: trunk, size: 38854
2008-12-10
18:03
More explicit type casting to silence VC++. (CVS 6006) file: [85c33cfb] check-in: [14e6d19c] user: drh branch: trunk, size: 38783
2008-11-19
09:05
Changes to avoid "unused parameter" compiler warnings. (CVS 5921) file: [20722164] check-in: [88134322] user: danielk1977 branch: trunk, size: 38755
2008-11-05
16:37
The COMMIT command now works even if there are pending queries, as long as the pending queries are reading and not writing the database. (CVS 5864) file: [ea22e171] check-in: [51f04aaf] user: drh branch: trunk, size: 38707
2008-10-13
10:37
If sqlite3_column_value() is called to obtain a value with the MEM_Static flag set, clear it and set the MEM_Ephem flag before returning. Otherwise, if the value is passed to sqlite3_bind_value() or sqlite3_result_value(), sqlite may attempt to use the buffer after the statement has been finalized. This is not always valid, as MEM_Static only guarantees that a MEM.z buffer will be valid for the lifetime of the owner statement, not that it is actually a static buffer. (CVS 5812) file: [6798c70c] check-in: [b055bfc4] user: danielk1977 branch: trunk, size: 38670
2008-10-12
00:27
Added SQLITE_OMIT_DEPRECATED compile time option to leave out deprecated functions. Updated test scripts to skip tests of deprecated functions if they are compiled out. (CVS 5808) file: [64c32499] check-in: [ba3711ac] user: shane branch: trunk, size: 38559
2008-10-07
23:46
Add the experimental sqlite3_stmt_status() interface. (CVS 5781) file: [fd2c286c] check-in: [de473efb] user: drh branch: trunk, size: 38443
15:25
Remove the SQLITE_MUTEX_APPDEF compile-time option. The SQLITE_THREADSAFE=0 option always removes all mutex code. For application-defined mutexes only, use SQLITE_THREADSAFE=1 with SQLITE_MUTEX_NOOP=1. Ticket #3421. (CVS 5779) file: [8f194355] check-in: [02a12eb1] user: drh branch: trunk, size: 38180
14:06
Have sqlite3_bind_value() call sqlite3ApiExit() before returning. Otherwise the db->mallocFailed flag may not be cleared. (CVS 5777) file: [319d3be8] check-in: [6b7c8d56] user: danielk1977 branch: trunk, size: 38196
2008-10-06
12:46
In sqlite3_bind() interfaces, avoid acquiring the mutex until after the statement handle has been validated. Ticket #3418. (CVS 5768) file: [5beff875] check-in: [693503e2] user: drh branch: trunk, size: 38194
2008-09-04
12:03
Missing implementation for sqlite3TransferBindings(). (CVS 5675) file: [c0f87aab] check-in: [56d61895] user: shane branch: trunk, size: 38130
2008-08-21
12:19
Fix the functionality associated with sqlite3_release_memory() and sqlite3_soft_heap_limit(). It is automatically disabled if the SQLITE_CONFIG_PAGECACHE option is used. (CVS 5576) file: [3c98fbed] check-in: [d025866b] user: danielk1977 branch: trunk, size: 37895
2008-08-11
18:44
Do not allow indexing of any table whose name begins with "sqlite_". Ticket #3284. Improve handling of databases with malformed schemas - just in case somebody has actually indexed a system table. (CVS 5553) file: [f2197151] check-in: [0e1d8d14] user: drh branch: trunk, size: 37876
2008-08-02
03:50
Additional coverage testing. Fix a segfault following OOM in sqltie3_load_extension(). (CVS 5523) file: [803f365b] check-in: [f1e44eb3] user: drh branch: trunk, size: 37852
2008-08-01
20:10
Bring test coverage up to 99%. (CVS 5522) file: [6a769ea6] check-in: [2cd6bae8] user: drh branch: trunk, size: 37901
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: [25dd01c8] check-in: [e48f9697] user: drh branch: trunk, size: 37904
2008-07-23
21:07
Error messages from virtual tables store on the sqlite3_vtab->zErrMsg field are reported back up to the application interface and memory is reclaimed. (CVS 5466) file: [17fa6f43] check-in: [4a9dd5e7] user: drh branch: trunk, size: 37899
2008-06-19
02:52
Add the sqlite3_next_stmt() interface, including test cases. (CVS 5243) file: [a7c6b8db] check-in: [565a5308] user: drh branch: trunk, size: 37841
2008-06-18
17:09
Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234) file: [9cf3207a] check-in: [5059644c] user: danielk1977 branch: trunk, size: 37311
2008-05-16
15:24
Check that the encoding of values passed to sqlite3_bind_value() matches that of the database. (CVS 5138) file: [22b01ed1] check-in: [e94a2883] user: danielk1977 branch: trunk, size: 37325
04:51
Add more version tags to files that lack them. Ticket #3120. (CVS 5137) file: [b72aba83] check-in: [81a8c70e] user: danielk1977 branch: trunk, size: 37229
2008-05-09
14:39
Do not clear the error code or error message in sqlite3_clear_bindings(). Ticket #3063. (CVS 5111) file: [95ed14a5] check-in: [069f4560] user: drh branch: trunk, size: 37162
2008-05-01
17:16
Fix more compiler warnings. (CVS 5074) file: [c810f936] check-in: [59568844] user: drh branch: trunk, size: 37147
2008-04-14
15:15
Free Mem.z buffers when a vdbe statement is reset. (CVS 5002) file: [0e1b5a80] check-in: [0bedbe09] user: danielk1977 branch: trunk, size: 37125
2008-03-29
12:39
add three missing initializers (CVS 4935) file: [ab6e99f8] check-in: [f45f0593] user: rse branch: trunk, size: 37125
2008-03-28
15:44
Changes to the Mem structure to reduce the frequency of freeing and reallocating the dynamic buffer. (CVS 4928) file: [e03b846a] check-in: [d0bf73d8] user: danielk1977 branch: trunk, size: 37116
2008-03-26
18:34
Changes to delay freeing buffers associated with vdbe memory cells until either sqlite3_finalize() or sqlite3_release_memory() is called. (CVS 4922) file: [f74189e4] check-in: [8c2f6952] user: danielk1977 branch: trunk, size: 37062
2008-03-22
01:07
Add the SQLITE_OMIT_DECLTYPE compile-time option. Remove more code when SQLITE_ENABLE_COLUMN_METADATA is not defined. (CVS 4906) file: [b9e9d7a5] check-in: [8ef26646] user: drh branch: trunk, size: 32026
2008-03-20
14:03
Initial implementation of per-connection limits and the sqlite3_limit() API. The sqllimits1.test script crashes. SQLITE_LIMIT_PAGE_COUNT and SQLITE_LIMIT_VDBE_OP are currently ignored. (CVS 4897) file: [a3bddeee] check-in: [60c77882] user: drh branch: trunk, size: 31682
2008-03-19
21:45
Add a new interface, sqlite3_context_db_handle(), that returns the database connection pointer for an application-defined function. (CVS 4889) file: [6e6f2bd5] check-in: [54c55cae] user: drh branch: trunk, size: 31593
2008-02-13
18:25
Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783) file: [cf9fc963] check-in: [990237e2] user: danielk1977 branch: trunk, size: 31394
2008-02-06
14:11
Add the sqlite3_result_error_code() application interface. Use it in the ATTACH function so that a failed attach returns a proper error code. Ticket #2914. (CVS 4775) file: [61b37dbe] check-in: [c2461620] user: drh branch: trunk, size: 31360
2008-01-23
03:03
Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when compiling without -DSQLITE_DEBUG=1. (CVS 4744) file: [93c72ed2] check-in: [5375ad6b] user: drh branch: trunk, size: 31230
2008-01-22
21:30
Add the fault injector module in fault.c. Use it as a basis for memory allocation failure testing. (CVS 4742) file: [a0cb07fc] check-in: [1a335e18] user: drh branch: trunk, size: 31152
2008-01-12
21:35
The sqlite3_trace() callback now prints a message as each trigger fires within a statement. (CVS 4709) file: [cb8c427a] check-in: [110c000d] user: drh branch: trunk, size: 31212
2008-01-03
11:50
Change the VdbeOp.p4 union to include specific pointer types for the various values of VdbeOp.p4type. (CVS 4667) file: [f1417484] check-in: [7e8330c8] user: danielk1977 branch: trunk, size: 32047
00:01
Refactoring the VM. The P3 parameter is changed to P4. A P5 parameter is added (though not currently used.) Add routines sqlite3VdbeAddOpX() where X is one of 0, 1, 2, 3, or 4. (CVS 4660) file: [bf615ff2] check-in: [027875e4] user: drh branch: trunk, size: 32047
2008-01-02
00:34
Begin setting a foundation on which to convert the VM from a stack-based to a register-based machine. Everything is still mostly stack based with this check-in. This change merely begins adding infrastructure to support a register-based architecture. (CVS 4652) file: [4acfaab3] check-in: [051ec01f] user: drh branch: trunk, size: 32047
2007-11-15
16:04
Return SQLITE_MISUSE instead of crashing if NULL is (incorrectly) passed to sqlite3_step(). Ticket #2773. (CVS 4545) file: [dd2c4331] check-in: [3bfee76f] user: danielk1977 branch: trunk, size: 32033
2007-11-13
10:30
Modify the Tcl interface to use sqlite3_prepare_v2(). (CVS 4542) file: [eecea7fa] check-in: [7bb00c7d] user: danielk1977 branch: trunk, size: 31888
2007-11-05
12:46
Use malloc to obtain space for sqlite3_aggregate_context(). Ticket #2751. (CVS 4524) file: [1795d841] check-in: [bf75058f] user: danielk1977 branch: trunk, size: 31070
2007-10-17
01:44
Reorder some tests at the beginning of sqlite3_step() to work around misuse by python. Ticket #2732. (CVS 4492) file: [21b69e71] check-in: [e8d591e8] user: drh branch: trunk, size: 31185
2007-08-29
14:06
Use the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323) file: [9c2d681b] check-in: [c790c234] user: danielk1977 branch: trunk, size: 31184
12:31
Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321) file: [7737b6e0] check-in: [e38ef81b] user: danielk1977 branch: trunk, size: 31207
2007-08-24
03:51
The win32 driver compiles but does not yet work well. Many bugs fixed. (CVS 4282) file: [bdd0aea2] check-in: [3a68fcdd] user: drh branch: trunk, size: 30981
2007-08-22
02:56
A complete run of quick.test with mutex debugging enabled. (CVS 4266) file: [81cb7f01] check-in: [783e07d5] user: drh branch: trunk, size: 30912
00:39
Reenable the memory management logic. The quick.test script now runs with SQLITE_MEMDEBUG and SQLITE_ENABLE_MEMORY_MANAGEMENT. 7 minor errors. (CVS 4265) file: [62cc5b08] check-in: [1914044b] user: drh branch: trunk, size: 30728
2007-08-21
20:25
All mutexing and locking appears to be in place. Now we just have to test it and make it all work. (CVS 4264) file: [e12f99aa] check-in: [0f7941ae] user: drh branch: trunk, size: 30701
19:33
The sqlite3_value object now carries an sqlite3* pointer to use for recording malloc failures. This eliminates the need to pass sqlite3* pointers into many internal interfaces. Also added more mutexing. (CVS 4263) file: [09eb4fe5] check-in: [92872761] user: drh branch: trunk, size: 29652
16:15
Adding more thread locking code. This is an incremental check-in. (CVS 4262) file: [b4a1f4d5] check-in: [7428732b] user: drh branch: trunk, size: 29349
15:13
Readded the sqlite3_open_v2() interface. No test cases yet. Additional progress toward adding mutexes to all interfaces. (CVS 4261) file: [16268e7a] check-in: [3787563e] user: drh branch: trunk, size: 27699
10:44
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) file: [ffd28fa0] check-in: [fbbd5bda] user: drh branch: trunk, size: 26778
2007-08-17
15:53
Begin migration to using sqlite3_vfs interface. (CVS 4240) file: [ddfe3412] check-in: [af3e3c7a] user: danielk1977 branch: trunk, size: 26794
2007-08-16
11:36
Fix some more small problems introduced by recent refactoring. (CVS 4235) file: [a503e376] check-in: [5e2795d0] user: danielk1977 branch: trunk, size: 26774
10:09
More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233) file: [ca82e14a] check-in: [77b16713] user: danielk1977 branch: trunk, size: 26760
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: [fce4ee6a] check-in: [deb7ecd6] user: drh branch: trunk, size: 26718
2007-07-26
06:50
Fix two obscure memory leaks that can follow a malloc() failure in sqlite3_set_auxdata(). Ticket #2534. (CVS 4185) file: [220b8113] check-in: [b88af182] user: danielk1977 branch: trunk, size: 26662
2007-07-12
13:18
Fix for #2497. Set the database error code to the return value of sqlite3_step(). (CVS 4155) file: [fe3b713d] check-in: [b01fda5f] user: danielk1977 branch: trunk, size: 26593
2007-06-19
10:58
Do not segfault even if sqlite is misused by requesting query results after the query has been reset. ticket #2426. (CVS 4090) file: [7930b9a1] check-in: [783f19be] user: drh branch: trunk, size: 26558
2007-05-30
10:36
Add some extra tests for malloc failure during expression parsing and execution using fuzzily generated SQL. (CVS 4043) file: [3747e4c3] check-in: [7522d2fb] user: danielk1977 branch: trunk, size: 26515
2007-05-15
14:10
Fix to check-in (4005). A call to sqlite3_column_blob() should not make subsequent calls to sqlite3_column_type() return SQLITE_BLOB. Sqlite3_column_type() returns the initial type. (CVS 4006) file: [f89d6bc5] check-in: [b5e85deb] user: drh branch: trunk, size: 26328
13:27
Clarification on the best practices for using the _bytes() APIs. Change sqlite3_value_blob() to force the representation to be purely a BLOB and not a dual BLOB/String. Ticket #2360. (CVS 4005) file: [805147e4] check-in: [cf2dd45b] user: drh branch: trunk, size: 26355
2007-05-10
17:32
Add cases to fuzz.test. Some tests in this file fail at the moment. (CVS 3973) file: [3ca7808c] check-in: [1e8fcb3f] user: danielk1977 branch: trunk, size: 26346
2007-05-08
15:15
Introduce the (experimental) sqlite3_result_error_toobig() API that function implementations can use to signal SQLite that the function result is too big to represent. (CVS 3949) file: [120e0449] check-in: [17c4235c] user: drh branch: trunk, size: 26397
2007-05-02
01:34
Begin adding the zeroblob API to support incremental blob i/o. (CVS 3894) file: [37d79355] check-in: [7a01836d] user: drh branch: trunk, size: 26241
2007-04-27
17:16
Make sure sqlite3_value_bytes() does not reformat the content after a call to sqlite3_value_blob(). Add documentation to explain this hazard. Add many new tests. Ticket #2321. (CVS 3880) file: [37fc2818] check-in: [e92bd97a] user: drh branch: trunk, size: 25889
2007-04-25
18:23
Fix segfaults that can occur if a malloc failure happens just before a built-in function calls sqlite3_value_text(). (CVS 3874) file: [245263aa] check-in: [9cb0ed6e] user: drh branch: trunk, size: 25819
2007-04-02
17:54
Fix a union initializer so that it works with the Borland compiler. (CVS 3803) file: [1fca7ff0] check-in: [a067f78b] user: drh branch: trunk, size: 25816
2007-03-30
11:23
Remove the anonymous union from the sqlite3_value structure since some compilers are unable to deal with it. (CVS 3758) file: [7ac14f2e] check-in: [6b995259] user: drh branch: trunk, size: 25817
2007-03-26
22:05
Modify sources to that they can be combined into a single sqlite3.c source file. Eliminate all type-pruned pointer warnings. (CVS 3722) file: [6cff63a5] check-in: [0b832e21] user: drh branch: trunk, size: 25815
2006-11-09
00:24
First cut at adding the sqlite3_prepare_v2() API. Test cases added, but more testing would be useful. Still need to update the documentation. (CVS 3506) file: [2d1e6843] check-in: [f1efae92] user: drh branch: trunk, size: 25822
2006-09-16
21:45
Add the sqlite3_overload_function() API - part of the virtual table interface. (CVS 3426) file: [f1858a5e] check-in: [aa7728f9] user: drh branch: trunk, size: 24703
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: [d5d3cb07] check-in: [ba579ddc] user: drh branch: trunk, size: 23869
2006-08-08
13:51
Remove most static and global variables from a pure build. There are still a number of static and global variables used for testing. (CVS 3342) file: [81f531d7] check-in: [76e4d418] user: drh branch: trunk, size: 23795
2006-07-26
13:43
More work toward getting sqlite3_interrupt() to work from separate threads. Ticket #1897. (CVS 3336) file: [a2274726] check-in: [e431131d] user: drh branch: trunk, size: 23800
2006-06-14
15:16
Add xUpdate method to the echo test module. Currently untested. (CVS 3246) file: [6af0e716] check-in: [676de55b] user: danielk1977 branch: trunk, size: 23519
2006-06-13
23:51
The echo module test is now running. Added the tclvar module test but have not yet done anything with it. (CVS 3234) file: [af663689] check-in: [29199eee] user: drh branch: trunk, size: 23287
2006-02-10
03:06
Add a symbol P3_TRANSIENT to pass to VdbeSetColName() to make it copy the string parameter up to the first 0 byte. (CVS 3070) file: [7dc662e7] check-in: [6ebb8f9b] user: danielk1977 branch: trunk, size: 23300
02:27
Add the column_origin_name() etc. APIs. (CVS 3069) file: [72569c56] check-in: [82f502cd] user: danielk1977 branch: trunk, size: 23299
2006-02-09
22:13
SUM never gives an error. An integer result is returned for exact results and a floating point result is returned for approximate results. Tickets #1664, #1669, and #1670. (CVS 3066) file: [54dfd097] check-in: [9e04f8fd] user: drh branch: trunk, size: 23102
18:35
Deprecate the sqlite3_aggregate_count() API. Make sure all aggregate counters are 64 bits. Remove unused StdDev structure from func.c. Ticket #1669. (CVS 3065) file: [ee8e889d] check-in: [44bd7ba4] user: drh branch: trunk, size: 22836
2006-01-23
07:52
Fixes for OMIT_UTF16 and OMIT_COMPOUND (CVS 2993) file: [dcb2636f] check-in: [f58bbdc0] user: danielk1977 branch: trunk, size: 22782
2006-01-20
16:32
Fix another couple of IO or malloc() failure problems in a shared-cache context. (CVS 2982) file: [75eabedc] check-in: [7e34163a] user: danielk1977 branch: trunk, size: 22749
2006-01-18
18:22
Include the ThreadData structure in internal malloc() testing. Also fixes for revealed bugs. (CVS 2974) file: [b5a3eacc] check-in: [c7b9d50d] user: danielk1977 branch: trunk, size: 22781
16:51
Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972) file: [08578a1d] check-in: [ac090f2a] user: danielk1977 branch: trunk, size: 22764
15:25
Change sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970) file: [cbc552ea] check-in: [e0b022e5] user: danielk1977 branch: trunk, size: 22784
05:51
Handle malloc() failures that occur in open16() and errmsg16(). (CVS 2967) file: [2c3068bc] check-in: [86eab9e5] user: danielk1977 branch: trunk, size: 22853
2006-01-17
13:21
Various fixes that allow the malloc() failure tests to pass again. (CVS 2963) file: [9cc9b7a0] check-in: [0505405f] user: danielk1977 branch: trunk, size: 22798
2006-01-16
11:29
Clarify error handling in pager code. No functional changes. (CVS 2956) file: [cac3f5bf] check-in: [7b488362] user: danielk1977 branch: trunk, size: 22755
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: [afd3837c] check-in: [5d9c6aa9] user: drh branch: trunk, size: 22709
2006-01-09
16:12
Fix some errors to do with attached databases and text encodings in shared-cache mode. (CVS 2895) file: [6d20e92d] check-in: [3e75d3d5] user: danielk1977 branch: trunk, size: 22693
06:29
Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893) file: [2e22bd0c] check-in: [82b81f69] user: danielk1977 branch: trunk, size: 22693
2006-01-06
14:32
Change the OS interface layer to use traditional direct function call implementations instead of the more complicated virtual function table. Omit the asynchronous I/O demo. (CVS 2870) file: [7335569b] check-in: [2529c2e1] user: drh branch: trunk, size: 22679
2005-12-09
14:25
Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808) file: [b270b680] check-in: [601c3354] user: danielk1977 branch: trunk, size: 22683
2005-12-07
06:27
Add some tests for malloc() failure within the column_name() and column_decl() APIs. (CVS 2805) file: [b80b3a1e] check-in: [78f10ca0] user: danielk1977 branch: trunk, size: 21110
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: [4fd33e87] check-in: [e1606658] user: danielk1977 branch: trunk, size: 20904
2005-11-30
03:20
Restructure the OS interface yet again. This time make the OsFile object a virtual base class which is subclassed for unix, windows, and the crash test simulator. Add the new file "os.c" for common os layer code. Move all OS-specific routines into the sqlite3Os structure. (CVS 2795) file: [73d56a88] check-in: [bd8740d1] user: drh branch: trunk, size: 20834
2005-09-16
02:38
Fix a whole host of newly discovered memory leaks the occur after a failure of realloc(). (CVS 2696) file: [85bbe1d0] check-in: [4686d649] user: drh branch: trunk, size: 20830
2005-09-08
19:01
Remove a C++ism that snuck in on one of the reason changes. (CVS 2676) file: [72213ce0] check-in: [48f6a331] user: drh branch: trunk, size: 20815
00:13
All regression tests now pass. But I am sure there must still be problems. New tests need to be added. (CVS 2666) file: [6df70880] check-in: [bcc7d722] user: drh branch: trunk, size: 20815
2005-09-07
22:09
Bug fixes in aggregate processing. Fewer tests fail. (CVS 2663) file: [352f088f] check-in: [c3ac5859] user: drh branch: trunk, size: 20782
2005-09-06
20:36
Cleanup the processing of MEM_Agg elements. (CVS 2660) file: [46e2fd47] check-in: [7ecf3654] user: drh branch: trunk, size: 20682
2005-08-29
23:00
Increase resolution of time-of-day on unix. Add an experimental sqlite3_profile() API. (CVS 2639) file: [f0d36ff0] check-in: [ed2ca087] user: drh branch: trunk, size: 20558
2005-08-27
13:16
Fix comment in vdbeapi.c. Remove unused structure definition from func.c. (CVS 2629) file: [f1adebb5] check-in: [51a38134] user: drh branch: trunk, size: 19824
2005-08-21
17:48
Do not create an error message if there is no error. (CVS 2607) file: [7790e9f8] check-in: [3aa47c55] user: drh branch: trunk, size: 19995
2005-08-12
23:20
3rd argument to sqlite3Error() should always be a format string, never user-supplied error message text. Ticket #1354. (CVS 2583) file: [dc5b78ca] check-in: [d6146a54] user: drh branch: trunk, size: 19978
2005-06-26
17:55
Tcl interface uses Tcl_Objs to implement user-defined functions, thus allowing BLOB values to be transferred correctly. Ticket #1304. (CVS 2530) file: [7f392f07] check-in: [514aaab3] user: drh branch: trunk, size: 19972
2005-06-22
10:53
Add built-in functions numeric(), text(), and blob() that coerce types. Ticket #1287. (CVS 2524) file: [5025a916] check-in: [affb0fa2] user: drh branch: trunk, size: 19862
2005-06-12
22:01
Documentation updates (ticket #1279). Add the sqlite3_db_handle API. (ticket #1275). (CVS 2507) file: [3f858d22] check-in: [21d44fa5] user: drh branch: trunk, size: 19861
2005-06-06
17:54
Return SQLITE_MISUSE when passing a NULL pointer into sqlite3_bind routines. Ticket #1219. (CVS 2497) file: [9a9556b9] check-in: [12c32f13] user: drh branch: trunk, size: 19552
2005-05-20
19:36
Comment changes in vdbeapi.c (CVS 2465) file: [c66b88fc] check-in: [ab7805fb] user: drh branch: trunk, size: 19544
2005-04-22
02:38
Remove some vestigal code. Add the experimental sqlite3_transfer_bindings() API. (CVS 2446) file: [87f363c9] check-in: [88b39436] user: drh branch: trunk, size: 17506
2005-01-24
10:25
Modifications and bugfixes so that the test suite passes with the TCL statement cache turned on. (CVS 2271) file: [467caa6e] check-in: [d5233e07] user: danielk1977 branch: trunk, size: 16782
2005-01-22
03:03
Add the experimental sqlite3_expired() API. (CVS 2263) file: [7b655221] check-in: [df648d50] user: drh branch: trunk, size: 16658
2004-12-10
18:00
Factor the test for zName==NULL out of the loop. Ticket #1032. (CVS 2164) file: [0cf3bdc1] check-in: [7f38f67c] user: drh branch: trunk, size: 16147
2004-12-09
18:29
Enhance sqlite3_bind_parameter_index so that is does not segfault if you call it incorrectly by passing NULL in place of the parameter name. Ticket #1032. (CVS 2159) file: [12ba3714] check-in: [bf81aabf] user: drh branch: trunk, size: 16125
2004-11-14
21:56
The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100) file: [74be7f96] check-in: [98c7a554] user: drh branch: trunk, size: 16116
2004-10-31
02:22
Insert #ifdefs that can optionally remove features at compiletime resulting in a database engine with a smaller footprint. (CVS 2034) file: [3965bf46] check-in: [be661acf] user: drh branch: trunk, size: 15831
2004-09-24
23:59
Size optimizations in vdbeapi.c. (CVS 1982) file: [81ab9e84] check-in: [b2f3d4bb] user: drh branch: trunk, size: 15767
12:48
Avoid a segfault in sqlite3_bind_parameter_index when there are unnamed parameters. Ticket #918. (CVS 1977) file: [f1e060aa] check-in: [49f25ddf] user: drh branch: trunk, size: 15835
2004-09-15
13:38
The callback on sqlite3_trace() is invoked the first time sqlite3_step() is called after sqlite3_prepare() or sqlite3_reset(). Ticket #900. (CVS 1960) file: [c7208bb8] check-in: [0cc2f40e] user: drh branch: trunk, size: 15807
2004-09-07
16:19
Wildcards with the same name map into the same variable number. New api sqlite3_bind_parameter_index() added to map wildcard names into wildcard index numbers. Support for "?nnn" wildcards. (CVS 1945) file: [20bf8901] check-in: [435b3f30] user: drh branch: trunk, size: 15063
2004-09-06
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: [e3fa5b77] check-in: [3ddf5a9d] user: drh branch: trunk, size: 14440
2004-08-28
14:49
Add new defenses against misuse of the C API. Ticket #870. (CVS 1906) file: [85473272] check-in: [6ef1f662] user: drh branch: trunk, size: 14439
2004-08-21
17:54
Optimizations to the code generator. (CVS 1899) file: [e20e646a] check-in: [bd6649c5] user: drh branch: trunk, size: 14403
2004-08-20
18:34
Tcl interface transfers values directly between SQLite and Tcl_Objs, without at translation to strings. (CVS 1898) file: [4f9b3072] check-in: [e97c3313] user: drh branch: trunk, size: 14409
16:02
Add support for named wildcards in SQL statements. (CVS 1897) file: [cd8d153c] check-in: [d3be0b7c] user: drh branch: trunk, size: 14380
2004-08-01
00:10
Add the ".import" command to the command-line shell. (CVS 1873) file: [3be4ccab] check-in: [b56afe64] user: drh branch: trunk, size: 13834
2004-07-15
14:15
Implement the experimental sqlite3_bind_parameter_count() API in support of DBD::SQLite. Also fix the sqlite3.def export list. (CVS 1797) file: [c5c6d8f1] check-in: [c44943e6] user: drh branch: trunk, size: 13798
2004-06-30
11:54
Coverage improvements for malloc and vdbemem.c (CVS 1781) file: [1d2a0bc5] check-in: [a98dd004] user: danielk1977 branch: trunk, size: 13551
11:14
When a statement causes a ROLLBACK due to an ON CONFLICT clause, other active VMs abort. (CVS 1778) file: [7c3c3d81] check-in: [0fedf74e] user: drh branch: trunk, size: 13700
2004-06-28
13:09
More coverage testing. (CVS 1754) file: [ba3722f4] check-in: [33292104] user: danielk1977 branch: trunk, size: 13651
2004-06-27
01:56
Fix a bug in the handling of Mems inside of vdbe.c. (CVS 1745) file: [e92bda92] check-in: [ad65c6e2] user: drh branch: trunk, size: 13826
2004-06-22
12:13
Patch around compilers that do not support "long long int". (CVS 1656) file: [d3659f3f] check-in: [d98b1502] user: drh branch: trunk, size: 13938
2004-06-19
17:33
Make sure VdbeFunc entries are initialized before trying to destroy them. Also, unrelated comment changes in build.c. (CVS 1643) file: [8a942134] check-in: [fc3b3a8f] user: drh branch: trunk, size: 13951
15:40
Clear up another zero-length array. This seems to fix the segfault in func-13.4 too. (CVS 1641) file: [0ef00cd2] check-in: [70680a34] user: drh branch: trunk, size: 13837
15:22
Fix problems with the WatCom C compiler: Arrays must contain at least one element. sqlite3FreeX declared properly. Don't allow run-time expression (the SQLITE_UTF16NATIVE macro) in an array initializer. (CVS 1640) file: [2163463b] check-in: [fbfc3c95] user: drh branch: trunk, size: 13836
2004-06-18
06:02
Fix a couple of gcc warnings. (CVS 1615) file: [1601fb2d] check-in: [960f55f3] user: danielk1977 branch: trunk, size: 13821
04:24
Optimisation for unicode encoding conversion routines. (CVS 1614) file: [229d40ea] check-in: [39a415ea] user: danielk1977 branch: trunk, size: 13830
2004-06-12
09:25
(1) Modifications to the user-function interface and (2) Internal changes to automatically created indices. (CVS 1575) file: [ee350b55] check-in: [5903f538] user: danielk1977 branch: trunk, size: 14331
00:42
Use the SQLITE_UTF* symbols instead of the old internal TEXT_Utf* symbols. (CVS 1572) file: [d7803664] check-in: [9b84f2f4] user: danielk1977 branch: trunk, size: 13707
2004-06-10
14:01
Correctly handle the situation where a collation sequence is available, but not in the preferred encoding. (CVS 1565) file: [bcf5821e] check-in: [49ab4794] user: danielk1977 branch: trunk, size: 13669
2004-06-06
09:44
Enhance user function API to support association of meta-data with constant arguments and the specification of text encoding preference. The LIKE operator takes advantage of both. (CVS 1534) file: [4ac95766] check-in: [92337d8f] user: danielk1977 branch: trunk, size: 14511
2004-06-05
10:22
Add the sqlite3_set_auxdata() and sqlite3_get_auxdata() APIs. (CVS 1532) file: [b3d8e559] check-in: [c2899b43] user: danielk1977 branch: trunk, size: 14469
2004-05-31
18:51
Change all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511) file: [77d2e681] check-in: [adf7e29f] user: drh branch: trunk, size: 13299
08:26
Replace OP_Begin, OP_Commit and OP_Rollback with OP_AutoCommit. (CVS 1500) file: [d43d36ef] check-in: [b8ed812c] user: danielk1977 branch: trunk, size: 13300
2004-05-28
13:13
Fix a bug in the sqlite3_column_decltype() API. (CVS 1486) file: [0c5d64c8] check-in: [c8a40218] user: danielk1977 branch: trunk, size: 13239
2004-05-27
09:28
Various bugfixes. 68 Test cases still fail. (CVS 1471) file: [b0bb1f98] check-in: [67a140cf] user: danielk1977 branch: trunk, size: 13970
03:12
Fixes to the MEM changes. The library now links. (CVS 1470) file: [d3deff8e] check-in: [f33d15d9] user: drh branch: trunk, size: 14161
01:53
More MEM changes in the vdbe.c. Still will not compile. (CVS 1469) file: [56b7de7a] check-in: [dbdd1a7f] user: drh branch: trunk, size: 14097
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: [36d4c78b] check-in: [bba6684d] user: drh branch: trunk, size: 12852 Added