/ File History
Login

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

History of src/main.c

2019-12-13
15:48
Cleanup and performance enhancements for mini-lookaside. file: [34d73303] check-in: [74805668] user: drh branch: mini-lookaside-take-2, size: 147661
2019-12-12
17:17
Change the size of a mini-lookaside allocation to a macro (MINI_SZ) rather than a magic number (128). file: [94bf8b6a] check-in: [5e1949bc] user: drh branch: mini-lookaside-take-2, size: 147289
02:50
More efficient implementation of a lookaside allocator that supports mini (in this case, harcoded to 128B) slots. file: [dc4fe091] check-in: [b02fdc09] user: numist branch: mini-lookaside-take-2, size: 147267
2019-11-18
23:48
Add support for the SQLITE_ACCESS_SYMLINK flag in the Win32 VFS. file: [868ae7db] check-in: [175c1500] user: mistachkin branch: trunk, size: 146574
2019-11-12
14:43
Ensure that the main filename and the journal filenames in the pager object are all correctly double-zero terminated. file: [15057351] check-in: [df51ae19] user: drh branch: trunk, size: 146493
2019-11-07
19:59
Experimental branch to provide SQLITE_LIMIT_HEAP_K to limit the amount of allocated memory used by each database connection, individually. file: [00380448] check-in: [4ab9dbb9] user: drh branch: limit_heap_k, size: 146240
2019-10-29
16:18
Remove the legacy_file_format PRAGMA. In its place, provide the SQLITE_DBCONFIG_LEGACY_FILE_FORMAT option to sqlite3_db_config(). Fix for ticket [6484e6ce678fffab] file: [20c6325c] check-in: [4d424f30] user: drh branch: trunk, size: 146135
2019-10-09
17:06
An alternative, experimental lookaside memory allocator that uses two different slot sizes. file: [57717254] check-in: [5ba8cee8] user: sperry branch: 2-size-lookaside, size: 143813
2019-10-05
17:29
Have sqlite3.c automatically turn on osinst logging for all connections. file: [781a8a72] check-in: [eea231f8] user: dan branch: osinst, size: 146875
14:39
Performance optimization to the lookaside-memory disabling mechanism. file: [3e01f6a1] check-in: [17ce1c49] user: drh branch: trunk, size: 146061
2019-09-16
12:35
Merge all recent trunk enhancements into the reuse-schema branch. file: [dcdd6acc] check-in: [27eb2236] user: drh branch: reuse-schema, size: 146865
12:08
Merge recent trunk enhancements into the begin-concurrent branch. file: [d702cd01] check-in: [93b9ef3f] user: drh branch: begin-concurrent, size: 146610
12:02
Merge the latest changes from trunk into the apple-osx branch. file: [120797ee] check-in: [a95191de] user: drh branch: apple-osx, size: 150709
2019-09-07
18:20
Add the SQLITE_SUBTYPE flag, which can be passed to sqlite3_create_function() and similar to indicate to the core that a user function is likely to use sqlite3_result_subtype(). file: [38519507] check-in: [6aa438ce] user: dan branch: window-functions-subtype-fix, size: 145977
2019-08-17
00:53
The SQLITE_DIRECTONLY flag, when added to sqlite3_create_function() prevents the function from being used inside a trigger or view. file: [51c55eb5] check-in: [de767376] user: drh branch: trunk, size: 145962
2019-08-16
22:58
Add the ability to unregister a virtual table module by invoking sqlite3_create_module() with a NULL sqlite3_module pointer. file: [1ffcd189] check-in: [31e34fa3] user: drh branch: trunk, size: 145843
2019-08-15
21:27
Add the SQLITE_DBCONFIG_ENABLE_VIEW option, together with a "db config" command in the TCL interface that can access that option as well as all the other sqlite3_db_config() boolean options. file: [9465ba2b] check-in: [61b4bccd] user: drh branch: trunk, size: 145900
20:04
Provide the SQLITE_DIRECTONLY flag for app-defined functions that prohibits the use of those functions within triggers or views. file: [ff418603] check-in: [fc745845] user: drh branch: directonly, size: 145908
2019-08-13
15:22
Merge latest trunk changes with this branch. file: [4b96a652] check-in: [5b4689d8] user: dan branch: reuse-schema, size: 146677
2019-08-12
15:19
Make the sha3 extension part of the amalgamation, enabled using SQLITE_ENABLE_SHA3. file: [4b4c5485] check-in: [a48a7b78] user: drh branch: sha3, size: 145964
14:17
Add a TESTCTRL that disables the verification of type, name, and tbl_name in the sqlite_master table. file: [3add6433] check-in: [48d9b48a] user: drh branch: trunk, size: 145789
2019-08-03
01:39
Give the SQLITE_TESTCTRL_PRNG_SEED two arguments. The second argument if not NULL is a pointer to a database connection which seeds the connection from its schema cookie. In this way, fuzzers can control the PRNG seed. file: [ddba2dd3] check-in: [49aa3448] user: drh branch: prng-seed-test-control, size: 145358
2019-08-02
20:45
Add the SQLITE_TESTCTRL_PRNG_SEED test control. file: [e30b0b22] check-in: [3ac57231] user: drh branch: prng-seed-test-control, size: 144372
2019-07-08
21:32
Merge recent trunk enhancements into the reuse-schema branch. file: [aa95e6a5] check-in: [fae92fee] user: drh branch: reuse-schema, size: 145238
21:06
Merge recent trunk enhancements into the begin-concurrent branch. file: [2e3a8d2f] check-in: [7fff0803] user: drh branch: begin-concurrent, size: 144983
20:59
Merge recent enhancements from trunk into apple-osx. file: [02da20a8] check-in: [de88ed86] user: drh branch: apple-osx, size: 149082
2019-07-02
12:23
Restore the legacy behavior of enabling double-quoted string literals in all contexts. But also provide a new compile-time option (SQLITE_DQS) to change the default to something more restrictive. file: [591a0084] check-in: [97a94446] user: drh branch: trunk, size: 144350
2019-06-17
13:56
Improved interface to double-quoted string literal enabling/disabling. file: [e16c7020] check-in: [923cfd53] user: drh branch: new-dbconfig-options, size: 143354
2019-06-14
21:25
Add SQLITE_DBCONFIG options LEGACY_ALTER_TABLE, NO_DQS_SCHEMA, and NO_DQS. file: [a511e378] check-in: [1fad2092] user: drh branch: new-dbconfig-options, size: 143359
13:24
Fix the implementation of the built-in RTRIM collating sequence so that it works for control characters at the end of the string. Ticket [f1580ba1b574e9e9] file: [ac968e94] check-in: [86fa0087] user: drh branch: trunk, size: 143099
2019-05-14
22:25
Merge all the latest trunk enhancements into the reuse-schema branch. file: [7d9370ce] check-in: [018f3199] user: drh branch: reuse-schema, size: 144294
21:51
Merge the latest trunk enhancements into begin-concurrent. file: [17d95808] check-in: [5d3a6e18] user: drh branch: begin-concurrent, size: 144039
19:39
Merge recent enhancements from trunk into apple-osx. file: [e912f55a] check-in: [40362d51] user: drh branch: apple-osx, size: 148138
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: [3c3925b0] check-in: [c9838731] user: drh branch: int-real, size: 143406
2019-04-15
15:35
Merge recent changes from trunk into reuse-schema file: [815aee40] check-in: [5c6c9e7f] user: drh branch: reuse-schema, size: 143558
14:59
Merge the latest enhancements from trunk. file: [40774338] check-in: [7c328e88] user: drh branch: begin-concurrent, size: 143303
14:49
Bring in the latest enhancements from trunk. file: [68d3bc67] check-in: [378230ae] user: drh branch: apple-osx, size: 147402
2019-04-13
04:01
Enforce the SQLITE_LIMIT_COLUMN limit on virtual tables. file: [16eea1ab] check-in: [0b6ae032] user: drh branch: trunk, size: 142670
2019-04-04
20:21
Provide a DBCONFIG to enable or disable virtual tables that match a LIKE pattern. file: [6bd0e746] check-in: [b40a4edc] user: drh branch: disable-vtab, size: 143125
2019-03-26
12:37
Merge recent enhancements from trunk. file: [377945d7] check-in: [dc3c0b8b] user: drh branch: apple-osx, size: 147387
12:16
Merge the latest trunk changes. file: [55e27d77] check-in: [51e3e835] user: drh branch: begin-concurrent-pnu, size: 143288
12:07
Merge recent enhancements from trunk. file: [11fd9cce] check-in: [774d0d52] user: drh branch: begin-concurrent, size: 143254
11:57
Merge recent trunk enhancements. file: [c6cfaca0] check-in: [db4e2cc3] user: drh branch: reuse-schema, size: 143543
2019-03-25
21:35
Change the name of the parameter table in the CLI to "sqlite_parameters". Doing so involves adding SQLITE_DBCONFIG_WRITABLE_SCHEMA and allowing the creation of tables whose names begin with "sqlite_" and that are indexed while writable_schema is on. file: [11714c8c] check-in: [24ef3844] user: drh branch: trunk, size: 142655
2019-03-21
17:13
Disable the feature on this branch in non-SQLITE_ENABLE_SHARED_SCHEMA builds. file: [cfc789be] check-in: [b8e53608] user: dan branch: reuse-schema, size: 143400
2019-03-20
20:02
Use the IsReuseSchema() macro more consistently. Also, rename it to IsSharedSchema(). file: [5ff1ca2b] check-in: [c1be211c] user: dan branch: reuse-schema, size: 143234
2019-03-08
15:30
Merge all the latest enhancements from trunk. file: [2d3ee485] check-in: [667cce3d] user: drh branch: begin-concurrent-pnu, size: 143145
2019-02-19
18:00
Improve error messages caused by corrupt database schemas in OPEN_SHARED_SCHEMA mode. file: [9f6eb3ae] check-in: [8ac75b8a] user: dan branch: reuse-schema, size: 143232
2019-02-18
18:16
Ensure that creating temp schema items does not cause an OPEN_SHARABLE_SCHEMA connection to load all schemas into memory. file: [519cbda9] check-in: [88cbf54e] user: dan branch: reuse-schema, size: 143158
2019-02-13
19:17
Fix for sqlite3_table_column_metadata() on REUSE_SCHEMA databases. file: [c8616581] check-in: [53220ad7] user: dan branch: reuse-schema, size: 142962
2019-02-09
17:47
Fix virtual table support for SQLITE_OPEN_REUSABLE_SCHEMA connections. file: [45866058] check-in: [3ca8856a] user: dan branch: reuse-schema, size: 142811
2019-02-07
18:49
Merge the offical 3.27.0 release. file: [610db224] check-in: [62829164] user: drh branch: apple-osx, size: 147244
2019-02-05
19:51
Merge latest trunk into this branch. file: [fcd43759] check-in: [c089cc4f] user: dan branch: reuse-schema, size: 142555
19:15
Fix memory leaks on this branch. file: [23f7d639] check-in: [e9c5e189] user: dan branch: reuse-schema, size: 141089
2019-02-02
21:02
Try new approach ensuring that each Schema object is only used by one connection/database at any one time. file: [75e429a1] check-in: [9e8e5f52] user: dan branch: reuse-schema, size: 141086
15:59
Honor key query parameters for SEE on the URI filename for ATTACH and VACUUM INTO. file: [27d72656] check-in: [2e01096b] user: drh branch: trunk, size: 142512
2019-01-31
15:38
Add the SQLITE_CONFIG_MEMDB_MAXSIZE configuration option for configuring the default maximum size of an in-memory database created using sqlite3_deserialize(). This is necessary to make the interface reasonably testable. file: [ac8da437] check-in: [cb72ee04] user: drh branch: trunk, size: 141901
2019-01-17
15:47
Sync up with the latest enhancements on trunk. file: [c4fbc8e3] check-in: [475a179a] user: drh branch: apple-osx, size: 146434
2018-12-18
17:47
Merge latest begin-concurrent changes into this branch. file: [65f0e265] check-in: [a93ca38b] user: dan branch: begin-concurrent-pnu, size: 142335
2018-12-15
20:59
Merge latest wal2 changes into this branch. file: [c96ec2ff] check-in: [06bb80ee] user: dan branch: begin-concurrent-wal2, size: 142301
2018-12-11
12:20
Small performance improvement in the sqlite3_bind() family of interfaces. file: [008f45dd] check-in: [1dc0c3df] user: drh branch: trunk, size: 141702
2018-12-10
02:00
Merge enhancements from trunk. file: [cc8238dd] check-in: [b1bbc718] user: drh branch: apple-osx, size: 146416
2018-12-06
20:26
Add the mutexfree-shmlock experiment to the begin-concurrent-pnu branch. file: [11e50602] check-in: [3aead209] user: dan branch: begin-concurrent-pnu-mutexfree-shmlock, size: 142307
17:06
When masking bits off of sqlite3.flags, make sure the mask is 64 bits in size so as not to accidentally mask of high-order bits. file: [473d149b] check-in: [53d3b169] user: drh branch: trunk, size: 141684
16:50
When saving off the value of sqlite3.flags, take care to preserve all 64 bits. file: [cd8fefa3] check-in: [9c6dbcfa] user: drh branch: trunk, size: 141674
03:59
Invoking the sqlite3_trace() or sqlite3_trace_v2() interfaces cancels any sqlite3_profile() that is running. file: [156076e2] check-in: [ec63d350] user: drh branch: trunk, size: 141674
2018-12-05
18:28
Merge enhancements and the ALTER TABLE bug fix from trunk. file: [34cfefe1] check-in: [edfc2acf] user: drh branch: apple-osx, size: 146560
13:49
Merge enhancements from trunk, especially the sqlite3_normalized_sql() enhancement. file: [423fce7c] check-in: [342c9538] user: drh branch: begin-concurrent-pnu, size: 142461
13:44
Merge enhancements from trunk, especially the enhanced sqlite3_normalized_sql() interface. file: [bfea3b2d] check-in: [47b73f6b] user: drh branch: begin-concurrent, size: 142427
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: [5a947917] check-in: [e28584e8] user: drh branch: trunk, size: 141828
2018-12-03
18:24
Merge in all changes for release 3.26.0. file: [974f09b6] check-in: [85fd92c7] user: drh branch: begin-concurrent-pnu, size: 142204
18:15
Bring up to date with version 3.26.0. file: [29c708bd] check-in: [f0ddb358] user: drh branch: begin-concurrent, size: 142170
2018-11-30
16:26
Merge the mutex-free PRNG change into this branch. file: [b23c7b1e] check-in: [81e626f4] user: dan branch: begin-concurrent-pnu, size: 141760
2018-11-26
23:35
Merge recent enhancements from trunk. file: [d6b6e142] check-in: [e8c20a88] user: drh branch: apple-osx, size: 146303
18:09
Do not allow direct access to internal-use SQL functions such as sqlite_rename_column() and sqlite3_rename_table() except when the new SQLITE_TESTCTRL_INTERNAL_FUNCTIONS flag is set. file: [4cfb3913] check-in: [6e133054] user: drh branch: trunk, size: 141571
07:21
Merge latest trunk changes into this branch. file: [47b8f041] check-in: [28a615a2] user: dan branch: begin-concurrent, size: 141726
2018-11-17
18:45
Merge latest trunk changes into this branch. file: [63ec9559] check-in: [9fdd1868] user: dan branch: reuse-schema1, size: 141272
2018-11-10
20:07
Merge the read-only shadow table and defensive mode enhancments from trunk. file: [96d86f17] check-in: [977fc44e] user: drh branch: apple-osx, size: 145859
2018-11-09
23:45
Merge fixes from trunk. file: [80c1a64e] check-in: [e3e9b85e] user: drh branch: apple-osx, size: 145778
18:44
Merge latest trunk changes with this branch. file: [2bbab412] check-in: [ae88f8e1] user: dan branch: reuse-schema, size: 141191
2018-11-07
02:17
Add the SQLITE_DEFAULT_DEFENSIVE compile-time option. Fix up test cases so that they work with DEFENSIVE enabled. file: [0efc9f6f] check-in: [3212733c] user: drh branch: read-only-shadow, size: 141127
2018-11-03
16:09
Add the SQLITE_DBCONFIG_DEFENSIVE flag. file: [03204aa2] check-in: [af3f29d4] user: drh branch: dbconfig-defensive, size: 141046
2018-10-09
22:58
Merge enhancements from trunk. file: [2f800163] check-in: [1b60e7a9] user: drh branch: apple-osx, size: 145704
22:50
Merge changes for the 3.25.0 release. file: [3c22c4b6] check-in: [ddf6a54e] user: drh branch: apple-osx, size: 145674
2018-10-08
18:58
Merge latest trunk changes into this branch. file: [45b337a5] check-in: [2ac72114] user: dan branch: reuse-schema, size: 141117
2018-09-28
20:58
Merge latest trunk into this branch. file: [4a7a5d31] check-in: [86750c92] user: dan branch: begin-concurrent, size: 141571
2018-09-18
17:50
Avoid incrementing the SQLITE_LOOKASIDE_MISS_SIZE stat before sqlite3_open() returns. Fix test script problem in lookaside.test. file: [6275ece0] check-in: [e461cb28] user: dan branch: trunk, size: 140972
2018-08-31
19:00
If a call to sqlite3_snapshot_open() fails because the requested snapshot no longer exists, return SQLITE_ERROR_SNAPSHOT instead of SQLITE_BUSY_SNAPSHOT. file: [1f54ee71] check-in: [e0792312] user: dan branch: trunk, size: 140942
2018-08-15
14:03
Allow sqlite3_snapshot_open() to be called to change the snapshot after a read transaction is already open on database. file: [187011ff] check-in: [41399169] user: dan branch: trunk, size: 140861
2018-08-08
20:46
Minor style improvements. file: [df233667] check-in: [60bbca2b] user: mistachkin branch: trunk, size: 140378
2018-08-06
17:12
Allow sqlite3_snapshot_open() to be called to change the snapshot after a read transaction is already open on database. file: [3c7f2159] check-in: [051ac015] user: dan branch: exp-snapshot-open, size: 140872
2018-07-27
18:12
Faster implementation of sqlite3IsBinary(). file: [dc023f46] check-in: [be05d0db] user: drh branch: propagate-const-opt, size: 140389
2018-07-24
22:02
Do not abort running queries due to a CREATE INDEX statement. Allow them to run to completion before being reprepared. Fix for ticket [c694113e50321afdf9]. file: [73a3db1c] check-in: [2bd59333] user: drh branch: trunk, size: 140126
2018-07-18
19:09
Add the SQLITE_FCNTL_DATA_VERSION file control file: [9c8ef68b] check-in: [a5087c5c] user: drh branch: trunk, size: 140114
2018-07-16
11:32
Minor simplification to sqlite3RollbackAll(). file: [a67aa346] check-in: [432fdc22] user: drh branch: trunk, size: 139983
2018-07-12
19:28
Merge latest trunk changes into this branch. file: [9473d988] check-in: [6a00a34e] user: dan branch: begin-concurrent, size: 140627
2018-07-10
16:04
Enhancements and improved documentation to the byte-code branch coverage testing logic. Provide new macros that allow the code to specify that some branch instructions can never take the NULL path and that the OP_Jump opcode is only interested in equal/not-equal. The SQLITE_TESTCTRL_VDBE_COVERAGE file control callback now works slightly differently (it provides the callback with a bitmask of the branch action, rather than an integer). file: [fa70bde0] check-in: [cd2da7e1] user: drh branch: trunk, size: 140028
15:45
Merge latest trunk changes into this branch. file: [176af447] check-in: [e9a3e864] user: dan branch: begin-concurrent, size: 140557
2018-07-09
22:49
Fixes for various harmless compiler warnings. file: [db7d550f] check-in: [5023b1b8] user: drh branch: trunk, size: 139958
02:37
Simplification to the logic that detects misuse of the application-defined function creation interfaces. file: [f3d3ec74] check-in: [8f21d778] user: drh branch: trunk, size: 139953
2018-06-19
19:01
OFD locks are now mostly working, but need additional tests. file: [5ec5bc48] check-in: [4f1fb5c9] user: drh branch: ofd-locks, size: 138532
2018-06-18
17:36
Ensure that all four callbacks are provided when registering a window function (otherwise SQLITE_MISUSE is returned). file: [00876390] check-in: [5720dcd8] user: dan branch: exp-window-functions, size: 139847
16:55
Add new API function sqlite3_create_window_function(), for creating new aggregate window functions. file: [f6f4f8be] check-in: [da03fb43] user: dan branch: exp-window-functions, size: 139768
2018-06-06
18:50
Fix the sqlite3BeginTrans() calls within the snapshot extension. file: [a086ab7d] check-in: [1fef7ad2] user: drh branch: trunk, size: 138421
17:03
Merge changes from trunk, including all the 3.24.0 changes plus some later enhancements. file: [53ef4fe3] check-in: [d7299bfe] user: drh branch: begin-concurrent, size: 139011
2018-06-04
14:10
Merge changes from trunk. file: [0eba75a0] check-in: [95fbac39] user: drh branch: apple-osx, size: 143144
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: [0402e234] check-in: [777189ce] user: drh branch: trunk, size: 138412
2018-05-25
03:46
Add SQLITE_LOCKED_VTAB and SQLITE_CORRUPT_SEQUENCE to sqlite3ErrName(). Also, use SQLITE_CORRUPT_BKPT in one more place. file: [9fdceee8] check-in: [eac8888d] user: mistachkin branch: errCodes, size: 137561
2018-05-15
11:45
Merge latest trunk changes with this branch. file: [9e43177e] check-in: [ae86cf60] user: dan branch: begin-concurrent, size: 137998
2018-05-04
19:33
Merge recent enhancements from trunk. file: [7aafeabe] check-in: [e17bca2c] user: drh branch: apple-osx, size: 142131
2018-04-28
12:43
Add the SQLITE_DBCONFIG_RESET_DATABASE control as a replacement for the reset_database pragma. Resetting the database should be hard enough to do that it cannot be done by accident. file: [b56b2d62] check-in: [ff836cb8] user: drh branch: reset-database, size: 137399
2018-04-26
17:54
Merge latest changes from trunk. Including the "ORDER BY ... LIMIT" optimization. file: [db2d526b] check-in: [d8ae7ba0] user: dan branch: begin-concurrent, size: 137924
2018-04-25
19:02
Add new interfaces for accessing the list of SQL keywords: sqlite3_keyword_count(), sqlite3_keyword_name(), sqlite3_keyword_check(). file: [f579a7a1] check-in: [7dd34e37] user: drh branch: trunk, size: 137325
2018-04-24
19:21
Merge latest trunk changes into this branch. file: [f5a381fc] check-in: [b27bd799] user: dan branch: begin-concurrent, size: 138602
2018-04-18
14:48
Omit some code not used without SQLITE_ENABLE_SORTER_REFERENCES. Improvements to comments used for documentation. file: [10e3897f] check-in: [f3596ab9] user: drh branch: sorter-reference, size: 138003
2018-04-16
21:12
Add SQLITE_CONFIG_SORTERREF_SIZE configuration option. file: [8f89ff60] check-in: [b25a7bb7] user: dan branch: sorter-reference, size: 138003
2018-04-10
18:05
Merge all version 3.23.1 changes and enhancements from trunk. file: [478fd68e] check-in: [e20fcb51] user: drh branch: apple-osx, size: 142431
2018-03-29
13:47
Modify the sqlite3OsFileControl() interface to detect unopened sqlite3_file objects and return SQLITE_NOTFOUND. file: [1648fc7a] check-in: [1fc72b70] user: drh branch: trunk, size: 137699
2018-03-28
21:45
Fix a harmless compiler warning. file: [224f7faa] check-in: [f0d12354] user: drh branch: trunk, size: 137757
2018-03-26
17:40
Add infrastructure to support for using F_SETLKW with a timeout on system that support that functionality. Requires SQLITE_ENABLE_SETLK_TIMEOUT. file: [ffe71c00] check-in: [2e54a743] user: drh branch: lowlevel-lock-timeout, size: 137697
16:37
Refactor some internal object element names used by the busy handler, to simplify analysis. file: [83fb2d0f] check-in: [6c40c557] user: drh branch: trunk, size: 136453
2018-03-20
13:52
Merge all recent enhancements from trunk. file: [e4e95e03] check-in: [b0c2f760] user: drh branch: begin-concurrent, size: 137038
2018-03-14
17:17
Merge the latest enhancements from trunk. file: [6a659285] check-in: [a658f80c] user: drh branch: apple-osx, size: 141171
2018-03-06
21:43
Improved documentation for sqlite3_serialize() and sqlite3_deserialize(). Change the name of the compile-time option to enable these interfaces from SQLITE_ENABLE_MEMDB to SQLITE_ENABLE_DESERIALIZE. file: [c1e97e4c] check-in: [f07e97ae] user: drh branch: memdb, size: 136439
2018-03-02
17:40
Merge latest trunk changes into this branch. file: [64a93806] check-in: [36801eff] user: dan branch: begin-concurrent, size: 136937
2018-03-01
13:44
Merge the latest enhancements from trunk. file: [d45d07a1] check-in: [c8083de1] user: drh branch: memdb, size: 136433
2018-02-08
01:00
Enhance sqlite3ErrStr() to include several more error codes. file: [dc75b358] check-in: [ad5d3bdc] user: mistachkin branch: trunk, size: 136338
2018-01-24
15:02
Merge changes from trunk. file: [a3e15ef7] check-in: [6ef3de81] user: drh branch: memdb, size: 136170
2018-01-15
21:59
Merge the enhancements associated with the first 3.22.0 beta. file: [d464ae18] check-in: [c9d2ec51] user: drh branch: apple-osx, size: 140807
2018-01-10
11:56
Fix a problem in os_unix.c causing it to return SQLITE_CANTOPEN instead of SQLITE_READONLY_RECOVERY. file: [26918d50] check-in: [6a16f554] user: dan branch: trunk, size: 136075
2018-01-03
01:28
Add support for the "memdb" VFS and the sqlite3_memdb_ptr() and sqlite3_memdb_config() interfaces, to enable an SQLite database to be manipulated as an in-memory object. file: [37139a23] check-in: [fb2ac2d2] user: drh branch: memdb, size: 136089
2017-12-26
18:04
Add support for measuring and reporting coverage of the parser state machine using the SQLITE_TESTCTRL_PARSER_COVERAGE test-control. file: [690c4134] check-in: [1253a872] user: drh branch: lemon-improvements, size: 135994
2017-12-21
18:23
Change the name of SQLITE_DBCONFIG_FULL_EQP to be SQLITE_DBCONFIG_TRIGGER_EQP (which we can do without breaking compatibility because the former name has not yet appeared in an official release) and streamline its implementation. file: [7ce55fa3] check-in: [fffc7685] user: drh branch: trunk, size: 135393
2017-12-16
19:16
Merge latest trunk changes into this branch. file: [903c4e3e] check-in: [d5b597b5] user: dan branch: schemalint, size: 135676
2017-12-08
16:23
Add compile time switch SQLITE_ENABLE_ICU_COLLATIONS. For enabling ICU collations without also enabling the tokenizer, the LIKE operator, the REGEXP operator, or the unicode aware upper()/lower() scalar functions. file: [4f94536a] check-in: [a079f914] user: dan branch: trunk, size: 135319
2017-11-29
16:16
Merge latest trunk changes into this branch. file: [d156d8fd] check-in: [373fa21b] user: dan branch: schemalint, size: 135582
2017-11-28
08:08
Merge latest trunk changes, including the SQLITE_ENABLE_MULTITHREADED_CHECKS feature, into this branch. file: [86466230] check-in: [1fd10349] user: dan branch: apple-osx, size: 139957
2017-11-25
17:51
Add experimental feature to detect threading bugs in apps that use SQLITE_CONFIG_MULTITHREADED. Enabled at compile time using SQLITE_ENABLE_MULTITHREADED_CHECKS. file: [6a0cc1c7] check-in: [a66886ac] user: dan branch: multithreaded-checks, size: 135225
2017-11-18
17:30
Enhance the log messages produced in some cases if database corruption is encountered by an SQLITE_DEBUG build. file: [99ed3d45] check-in: [23a31280] user: dan branch: sqlite-corrupt-page, size: 135055
2017-11-17
20:22
Add missing entry for SQLITE_IOERR_VNODE to the switch statement in sqlite3ErrName(). file: [ffc97a6b] check-in: [e2b3e335] user: dan branch: apple-osx, size: 139745
2017-11-14
20:36
Merge the patch that enables reading a read-only WAL-mode database, without any special query parameters, as long as the -shm and -wal files are on disk. file: [d45e9b65] check-in: [8c2a769c] user: drh branch: apple-osx, size: 139664
2017-11-08
17:32
Change the name of SQLITE_READONLY_CANTLOCK to SQLITE_READONLY_CANTINIT. file: [c1965ee8] check-in: [6d7f94fa] user: drh branch: readonly-wal-recovery, size: 135013
2017-11-06
20:02
Merge latest trunk changes into this branch. file: [ec2a5369] check-in: [7f217eda] user: dan branch: begin-concurrent, size: 135612
2017-10-24
19:12
Merge all enhancements and fixes from the 3.21.0 release. file: [dc25a8bc] check-in: [13be3a44] user: drh branch: apple-osx, size: 139664
2017-10-11
20:26
Merge latest trunk changes with this branch. file: [0cedb7a0] check-in: [2719cf5c] user: dan branch: schemalint, size: 135246
20:10
Change some internal details to bring this branch closer to the code on trunk. file: [d88cf6d3] check-in: [58e42cfd] user: dan branch: schemalint, size: 133992
13:48
Initial implementation of the "sqlite_dbpage" virtual table. Currently it is read-only and has a place-holder xBestIndex. file: [54637b9e] check-in: [c2c1d656] user: drh branch: dbpage, size: 135013
2017-10-04
18:26
Updates to requirements marks. file: [a4bdadaa] check-in: [40964a4e] user: drh branch: trunk, size: 134889
2017-10-03
17:17
Remove an unused variable from sqlite3Insert() and fix harmless compiler warnings associated with -DSQLITE_MUTATION_TEST. file: [556a0942] check-in: [7be760e9] user: drh branch: trunk, size: 134732
2017-09-22
10:49
Merge latest trunk changes into this branch. file: [6a7c184c] check-in: [307b802e] user: dan branch: begin-concurrent, size: 135292
2017-09-20
10:47
Improved resolution of large integer values in "CAST(x AS NUMERIC)". file: [1c2307a9] check-in: [7f2bd4ff] user: drh branch: trunk, size: 134693
2017-09-13
18:38
Experimental sqlite3_stmt_retryable() interface. file: [39f1375c] check-in: [ebada072] user: drh branch: sqlite3_stmt_retryable, size: 134733
2017-09-09
08:03
Use a mutex-free PRNG for the random() and randomblob() SQL functions and for the randomness used during checkpoint operations. file: [cd03aeca] check-in: [e63d1a7c] user: drh branch: mutex-free-randomness, size: 134736
06:10
Merge trunk enhancements file: [65a1633e] check-in: [6a0b9d9d] user: drh branch: apple-osx, size: 139352
2017-09-08
17:48
Have the header comment for sqlite3Checkpoint() mention TRUNCATE along with the other three checkpoint types. No changes to code. file: [34a58563] check-in: [e1e3ca7e] user: dan branch: trunk, size: 134701
2017-08-29
20:21
Faster memory allocation from lookaside by not trying to keep track of the number of outstanding allocations, and rather computing that value only when requested. file: [48a64194] check-in: [a06263f1] user: drh branch: trunk, size: 134688
2017-08-28
17:26
Remove the rarely-used scratch memory allocator. This makes the code smaller, faster, and easier to maintain. In place of the scratch allocator, add the SQLITE_CONFIG_SMALL_MALLOC configuration option that provides a hint to SQLite that large memory allocations should be avoided. file: [c74d1550] check-in: [cc440400] user: drh branch: begin-concurrent-branch-3.19, size: 135215
17:19
Merge recent enhancements from trunk. file: [0442ec81] check-in: [d53108e7] user: drh branch: begin-concurrent, size: 135219
15:51
Remove the rarely-used scratch memory allocator. This makes the code smaller, faster, and easier to maintain. In place of the scratch allocator, add the SQLITE_CONFIG_SMALL_MALLOC configuration option that provides a hint to SQLite that large memory allocations should be avoided. file: [227a83d3] check-in: [54b00024] user: drh branch: trunk, size: 134620
2017-08-09
20:35
Add experimental sqlite3_open_v2() flag SQLITE_OPEN_REUSE_SCHEMA. For sharing identical in-memory schema objects between connections. file: [bd53babb] check-in: [a6256980] user: dan branch: reuse-schema, size: 135649
2017-08-01
13:54
Merge recent enhancements from trunk. file: [299da61b] check-in: [aafe1fec] user: drh branch: begin-concurrent, size: 136103
2017-07-28
22:13
Fix harmless compiler warning. file: [42f6a266] check-in: [3286e1a0] user: mistachkin branch: trunk, size: 135504
2017-07-26
19:59
Add the new sqlite3.mDbFlags field. Factor out bits of sqlite3.flags that do not interact with PRAGMA statements into sqlite3.mDbFlags. file: [5edd1774] check-in: [3808a00f] user: drh branch: trunk, size: 135504
2017-07-20
17:47
Merge all the latest trunk enhancements. file: [562527c0] check-in: [213c61cb] user: drh branch: begin-concurrent, size: 136099
2017-07-17
20:21
Merge all the latest fixes and enhancements from trunk. file: [552b8586] check-in: [e181225d] user: drh branch: apple-osx, size: 140151
2017-07-14
19:47
Identify requirements text in the SQLITE_DBCONFIG_ENABLE_QPSG documentation. Add some implementation marks for SQLITE_DBCONFIG_MAINDBNAME requirements. No code changes. file: [3a9da9e3] check-in: [ab165dcf] user: drh branch: trunk, size: 135500
2017-07-10
12:07
Update error message text for standard error codes to better describe the latest usage of those error codes. Modify sqlite3_open_v2() so that it does return a valid sqlite3 object in the event of SQLITE_MISUSE due to bad open flags, so that sqlite3_errmsg() does not report "out of memory" in that case. file: [20574bb9] check-in: [f27b6370] user: drh branch: trunk, size: 135438
11:17
Remove the error message text from disused error codes such as SQLITE_EMPTY and SQLITE_FORMAT. file: [66bf4230] check-in: [871752f2] user: drh branch: trunk, size: 135517
2017-07-07
22:58
Merge in all the latest trunk enhancements. file: [098db34b] check-in: [7f48f6ab] user: drh branch: apple-osx, size: 140152
19:43
Change the error message text for SQLITE_ERROR to omit the part about "missing database" as that meaning is now obsolete (since approx SQLite 2.0). file: [e36ab281] check-in: [732f90d6] user: drh branch: trunk, size: 135501
2017-06-29
14:33
Rename the "stmts" virtual table to just "stmt" without the final "s". file: [0ed4383f] check-in: [adfdb801] user: drh branch: trunk, size: 135521
2017-06-28
17:29
Instead of the new sqlite3_prepare_v3() interface, provide the SQLITE_DBCONFIG_PREPARE_FLAGS interface which sets the flags on the single next call to sqlite3_prepare_v2() or its cousins. file: [36556f2e] check-in: [942c3ef8] user: drh branch: dbconfig-prepare-flags, size: 135474
15:47
Build the "stmts" virtual table into the amalgamation. It is active only when compiled using SQLITE_ENABLE_STMTSVTAB. That option is supplied to the command-line shell. file: [aaf24be7] check-in: [0ff057d8] user: drh branch: stmts-vtab, size: 135525
2017-06-26
13:57
Add the SQLITE_DBCONFIG_ENABLE_QPSG option to activate the query planner stability guarantee. This involves refactoring the sqlite3.flags bitvector to carve out a free bit to use. file: [747ec453] check-in: [7076e828] user: drh branch: enable-QPSG, size: 135330
2017-06-23
21:05
Merge all recent trunk enhancements into the apple-osx branch. file: [5ea52d49] check-in: [53b14a38] user: drh branch: apple-osx, size: 139831
2017-06-16
19:51
Rework the code in ctime.c a bit to report on more compile time options. And to only output configuration options passed in to SQLite, not the default values of #define symbols set automatically. Also generate the large array in ctime.c using new script tool/mkctime.tcl, instead of entering it manually. file: [18f2145d] check-in: [bc1951d6] user: dan branch: ctime-refactor, size: 135180
2017-06-08
16:10
Merge 3.19.3 changes with this branch. file: [2ff34ece] check-in: [e2d38d51] user: dan branch: begin-concurrent, size: 134235
2017-06-07
22:32
In SQLITE_DEBUG mode, attempt to log the page number of the database that contained the problem when SQLITE_CORRUPT errors are seen. file: [65eb6093] check-in: [e39795d7] user: drh branch: trunk, size: 133906
2017-05-25
17:36
Merge all fixes from the 3.19.2 release. file: [cb5075a7] check-in: [12964240] user: drh branch: apple-osx, size: 138285
2017-05-23
19:23
Add experimental new API sqlite3_wal_info(). file: [5559b8e5] check-in: [5b9d498f] user: dan branch: begin-concurrent, size: 134236
01:30
Remove a surplus semicolon, which was harmless on gcc and clang but caused compile-time errors on msvc. This only comes up using the encryption extension. file: [a56577fa] check-in: [4510d55d] user: drh branch: branch-3.19, size: 133634
00:32
Remove a surplus semicolon, which was harmless on gcc and clang but caused compile-time errors on msvc. This only comes up using the encryption extension. file: [1054e4db] check-in: [987a2b55] user: drh branch: trunk, size: 133662
2017-05-22
08:04
Fix a case where NULL was being passed to memcmp() following an OOM. This is probably not a real problem, as the number-of-bytes parameter was passed 0 in this case, but it was causing a santizer complaint. file: [55d0f1cc] check-in: [3ea2bad2] user: dan branch: trunk, size: 133663
2017-05-15
17:56
Merge changes from trunk. file: [253de9f0] check-in: [6e0f64ab] user: drh branch: schemalint, size: 133667
2017-05-11
18:49
Merge recent enhancements from trunk. file: [05b26be3] check-in: [b55c0f14] user: drh branch: apple-osx, size: 138286
2017-05-03
15:54
Always enable URI filenames when compiling with SQLITE_HAS_CODEC. Also allow plaintext keys using the key= query parameter. file: [1e448d20] check-in: [31a51b4d] user: drh branch: trunk, size: 133635
2017-04-17
17:03
Add support for analyzing trigger programs to the sqlite3_expert code. file: [ffb65842] check-in: [159e8022] user: dan branch: schemalint, size: 133537
2017-04-04
04:23
Add the sqlite3_whereinfo_hook() API - an experimental API replacing the DBCONFIG_WHEREINFO hack on this branch. file: [4b93bda0] check-in: [a54aef35] user: dan branch: schemalint, size: 134059
2017-03-31
11:20
Merge latest trunk into this branch. file: [36974edf] check-in: [cb721d0b] user: dan branch: schemalint, size: 133719
2017-03-06
20:00
Merge all pending 3.18 enhancements from trunk. file: [0c3fecdd] check-in: [1650c3f4] user: drh branch: apple-osx, size: 138156
2017-02-27
14:52
Add an sqlite3_set_last_insert_rowid() method. Use it to work around fts4 and fts5 modifying the last-insert-rowid unintuitively from within commit processing. file: [15832624] check-in: [fe41bb56] user: dan branch: set-last-insert-rowid, size: 133505
2017-02-04
20:15
Simplification to the error handling to extension loading in sqlite3_open(). file: [eb4f5034] check-in: [ec8ff892] user: drh branch: trunk, size: 133215
2017-01-18
20:14
Add temporary code to record and report on the set of b-tree pages read and written by the current transaction. This is likely still buggy. file: [504a2a6c] check-in: [2a8f6c89] user: dan branch: transaction-pages, size: 133923
2017-01-03
20:20
Merge changes from the 3.16.1 release file: [54068ad4] check-in: [dcbec226] user: drh branch: apple-osx, size: 137788
2016-12-30
14:15
Avoid passing NULL pointers to memcmp() or memcpy(), even when the "number-of-bytes" argument is passed 0. file: [e207b815] check-in: [56ff72ab] user: dan branch: trunk, size: 133137
2016-12-27
13:33
Allow sqlite3_interrupt() to be invoked on a database connection that is in the process of being closed even if SQLITE_ENABLE_API_ARMOR is defined. file: [f2d0e344] check-in: [7854bee2] user: drh branch: trunk, size: 133113
2016-12-24
19:37
The schema name "main" is always an acceptable alias for the primary database even if the primary database is renamed using SQLITE_DBCONFIG_MAINDBNAME. file: [ec789a41] check-in: [2f481b85] user: drh branch: trunk, size: 133068
2016-12-12
16:15
Merge all the latest performance enhancements from trunk. file: [350f909c] check-in: [a24f805b] user: drh branch: apple-osx, size: 137812
2016-12-07
15:49
Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. file: [c0daeb1f] check-in: [f3608187] user: drh branch: trunk, size: 133161
2016-11-26
20:44
Merge all recent trunk changes, and especially the new sqlite3_snapshot_recover() interface. file: [0346ec90] check-in: [41a3af54] user: drh branch: apple-osx, size: 137826
2016-11-19
18:31
Remove the requirement to open the wal file before sqlite3_snapshot_recover() is called. Also add some comments to new functions. file: [5669ae83] check-in: [28393c41] user: dan branch: serializable-snapshot, size: 133175
2016-11-18
20:49
Add experimental sqlite3_snapshot_recover() API. file: [de55e681] check-in: [174a6076] user: dan branch: serializable-snapshot, size: 133062
18:43
Require that the database handle be in autocommit mode for sqlite3_snapshot_get() to succeed. This is because it may open a read transaction on the database file. file: [602d7179] check-in: [83b658da] user: dan branch: serializable-snapshot, size: 132391
2016-11-04
19:09
Merge recent trunk changes, including all the fixes that appeared in version 3.15.1. file: [a393b7bf] check-in: [0e5ffd91] user: drh branch: apple-osx, size: 136998
2016-10-31
16:16
Add the SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE sqlite3_dbconfig() option - for disabling SQLite's default checkpoint-on-close behaviour. file: [694ac905] check-in: [093d2fc2] user: dan branch: no-ckpt-on-close, size: 132347
2016-10-26
12:15
Add compile time option SQLITE_ENABLE_URI_00_ERROR. If defined, any "%00" escape found in a URI is treated as an error. file: [6890ce01] check-in: [e8a9bfec] user: dan branch: uri-00-error, size: 132273
2016-10-17
15:28
Changes to support interrupting a checkpoint using sqlite3_interrupt(). file: [395bfa7a] check-in: [c88d36e2] user: dan branch: trunk, size: 132022
2016-09-28
16:15
Merge recent enhancements from trunk. file: [406b69b6] check-in: [06014163] user: drh branch: apple-osx, size: 136520
2016-09-20
17:38
Fix typo in comment. file: [c9e49e37] check-in: [bd3ecbb5] user: mistachkin branch: trunk, size: 131869
2016-09-18
16:08
Revise the implementation of OP_Once so that it is smaller, faster, and uses less memory. This also fixes an obscure bug introduced 3 days ago by check-in [5990a1bdb4a073]. file: [14fb66ee] check-in: [6bf5ba10] user: drh branch: trunk, size: 131869
2016-09-07
20:12
Fix the sqlite3_trace_v2() interface so that it goes disabled if either the callback or mask arguments are zero, in accordance with the documentation. Cherrypick of [37e6c54b1afc6348]. file: [b8c598be] check-in: [e9acf616] user: mistachkin branch: branch-3.14, size: 131130
18:20
Merge recent enhancements from trunk. file: [8525df77] check-in: [00759af0] user: drh branch: apple-osx, size: 136097
2016-08-27
18:34
Fixes to fts5 snippet() function. file: [9821bb4d] check-in: [d464a7b1] user: dan branch: trunk, size: 131446
2016-08-25
22:06
Fix the sqlite3_trace_v2() interface so that it goes disabled if either the callback or mask arguments are zero, in accordance with the documentation. file: [0bfcf1a5] check-in: [37e6c54b] user: drh branch: trunk, size: 131265
2016-08-19
18:37
Register any built-in fts5 module before loading automatic extensions. This allows automatic extensions to register fts5 tokenizers and auxiliary functions. file: [4f29b8d1] check-in: [b10e31dc] user: dan branch: fts5-snippet-bias, size: 131251
2016-08-18
22:44
Add the SQLITE_DBCONFIG_MAINDBNAME interface. file: [4dba24a7] check-in: [d6e3d579] user: drh branch: dbconfig_maindbname, size: 131205
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: [8dc7adfe] check-in: [92a22f01] user: drh branch: zDbSName, size: 131079
2016-08-12
16:21
Have wal file checkpoints exit early if the sqlite3_interrupt() API function is called. file: [52dad797] check-in: [8a5f41c7] user: dan branch: interruptible-checkpoint, size: 131223
2016-07-25
17:31
Merge 3.14 alpha changes from trunk. file: [8473928b] check-in: [e98cefb1] user: drh branch: apple-osx, size: 135721
00:05
Fix code so that the deprecated sqlite3_trace() and sqlite3_profile() interfaces are not called when SQLITE_OMIT_DEPRECATED is used. file: [16c1b211] check-in: [1c5baae3] user: drh branch: trunk, size: 131070
2016-07-15
00:39
Fix typo in sqlite3_trace_v2(). file: [2d3e62a9] check-in: [97ccf15f] user: mistachkin branch: sqlite3_trace_v2, size: 131003
2016-07-14
01:09
Add the sqlite3_expanded_sql() interface. Refinements to the sqlite3_trace_v2() interface to make it more useful. file: [ade3b39f] check-in: [99ee7ee5] user: drh branch: sqlite3_trace_v2, size: 131016
2016-07-13
23:18
Legacy tests now passing. file: [a3be9a81] check-in: [f33526a3] user: drh branch: sqlite3_trace_v2, size: 131036
22:55
First cut at implementing the new sqlite3_trace_v2() interface. file: [05658dfa] check-in: [cb0062fe] user: drh branch: sqlite3_trace_v2, size: 131023
2016-04-21
15:35
Merge all recent enhancements from trunk. file: [cf5f2b15] check-in: [a15c49ae] user: drh branch: apple-osx, size: 134766
01:30
Revert sqlite3_enable_load_extension() to its original long-standing behavior. Add SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION which will enable only the C-API and leave the SQL function disabled. file: [405d13e3] check-in: [b2ae5bfa] user: drh branch: load-ext-security, size: 130115
2016-04-05
17:50
Add the SQLITE_DBCONFIG_REQUIRE_TXN argument for sqlite3_dbconfig() which when set requires an explicit transaction before updating the database. file: [1e93cbb1] check-in: [b7570ac1] user: drh branch: require-write-txn, size: 130115
2016-03-29
10:30
Merge 3.12.0 changes. file: [28c00948] check-in: [eef55744] user: drh branch: apple-osx, size: 134007
2016-03-24
14:34
Merge the beta changes into sessions. file: [5ac9dccc] check-in: [beb5ea14] user: drh branch: sessions, size: 130041
2016-03-22
20:05
The sqlite3_column_decltype() routine should return NULL, not an empty string, if the column has no declared type. file: [63791c66] check-in: [605eba4a] user: drh branch: trunk, size: 129356
2016-03-21
15:32
Merge 3.12.0 beta changes from trunk. file: [915aeae7] check-in: [3296a0ce] user: drh branch: sessions, size: 130084
14:52
Merge the sqlite3_system_errno() change from trunk. file: [7a89a939] check-in: [063f1b37] user: drh branch: apple-osx, size: 134050
11:38
Do a better job of capturing all system errno values regardless of when they occur. file: [f6c6e61b] check-in: [7d49998d] user: drh branch: sqlite_system_errno, size: 129399
2016-03-17
16:01
Experimental implementation of the sqlite3_system_errno() interface. file: [74591e04] check-in: [6782c87b] user: drh branch: sqlite_system_errno, size: 129431
2016-03-16
01:16
Merge all recent enhancements from trunk. file: [0a3dc6c0] check-in: [6a7ee04b] user: drh branch: sessions, size: 130008
2016-03-09
08:08
Merge latest trunk changes with this branch. file: [787fc7cc] check-in: [59caca43] user: dan branch: schemalint, size: 129537
2016-03-08
16:35
Merge changes from trunk, especially the SQLITE_DEFAULT_SYNCHRONOUS enhancements. file: [aa4809ab] check-in: [29741941] user: drh branch: apple-osx, size: 133974
15:30
Make the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS values zero-based to agree with PRAGMA synchronous. file: [29ea8ebb] check-in: [592d2104] user: drh branch: default-synchronous, size: 129323
14:40
Add compile-time options SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS used to specify the default synchronous settings for all database connections. file: [ae066482] check-in: [1fefa967] user: drh branch: default-synchronous, size: 129321
2016-03-07
20:48
Merge recent enhancements from trunk. file: [417bc574] check-in: [84f09f00] user: drh branch: apple-osx, size: 133968
17:49
Merge the virtual table query planner enhancement, the RTREE cost estimate fix, and the statement journal spill delay enhancement from trunk. file: [e5675877] check-in: [17fd8f3c] user: drh branch: sessions, size: 130002
17:37
Add the SQLITE_CONFIG_STMTJRNL_SPILL option for sqlite3_config(). file: [93c571d7] check-in: [b6c42024] user: drh branch: trunk, size: 129317
2016-03-04
16:42
Merge recent enhancements from trunk. Default page size is 4096. Writes to statement journals are avoided. file: [56edbba4] check-in: [456df336] user: drh branch: sessions, size: 129885
14:57
Merge recent enhancements from trunk, and especially the changes that reduce the heap-memory footprint of schemas, and defer opening and writing to statement journals. file: [6f481d60] check-in: [2f0c195c] user: drh branch: apple-osx, size: 133851
2016-02-29
15:53
Reduce the amount of heap required to store many schemas by storing each column datatype appended to the column name, rather than as a separate allocation. file: [32c45647] check-in: [842b2116] user: drh branch: schema-storage, size: 129200
2016-02-27
17:16
Experimental "PRAGMA onconflict=FAIL" statement to change the default ON CONFLICT algorithm to something other than ABORT. file: [2bf81b96] check-in: [3a0c347c] user: drh branch: pragma-onconflict, size: 129173
2016-02-26
16:14
Merge all recent enhancements from trunk, and in particular the SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER change. file: [7b310607] check-in: [4fb4aee8] user: drh branch: apple-osx, size: 133794
15:38
Provide the new SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER option to sqlite3_db_config() that can be used to activate the two-argument version of fts3_tokenizer() for a specific database connection at run-time. file: [be9309f4] check-in: [374b5108] user: drh branch: trunk, size: 129143
2016-02-25
18:54
Merge all the latest changes from trunk. file: [254cb296] check-in: [b8659004] user: drh branch: sessions, size: 129651
2016-02-22
16:32
Merge the master-journal optimization and other recent changes from trunk. file: [be25ea13] check-in: [18c3ab47] user: drh branch: apple-osx, size: 133617
13:23
Change magic numbers associated with synchronous settings to named constants. file: [d7415cd6] check-in: [9230ba6c] user: drh branch: trunk, size: 128966
2016-02-18
01:36
Merge recent performance enhancements and the enhanced API_ARMOR from trunk. file: [90ad20c8] check-in: [b7fa0fb3] user: drh branch: apple-osx, size: 133581
2016-02-15
18:15
Add the SQLITE_NOMEM_BKPT macro to enhance the ability to debug OOM errors. Only effective with compiling with SQLITE_DEBUG. file: [8d2fd210] check-in: [9b345476] user: drh branch: trunk, size: 128930
00:34
Improvements to the application-defined function mechanism so that it is more compact and runs faster, especially when the application defines thousands of new SQL functions. file: [17cfc8ba] check-in: [3201fbcc] user: drh branch: many-app-functions, size: 128658
2016-02-14
00:14
Update a comment. file: [49f6d326] check-in: [e9753d9a] user: mistachkin branch: noMemBkpt, size: 129301
2016-02-13
23:43
Enhance ability to debug out-of-memory errors. file: [fa3b9f52] check-in: [6a9c4a3e] user: mistachkin branch: noMemBkpt, size: 129301
2016-02-11
21:01
Experimental integration of schemalint functionality with the shell tool. Does not work yet. file: [816b9a98] check-in: [ed49f297] user: dan branch: schemalint, size: 128974
2016-02-09
15:50
Merge recent fixes and enhancements from trunk. file: [fb6058f3] check-in: [f0734017] user: drh branch: apple-osx, size: 133411
15:44
Merge enhancements and fixes from trunk. file: [411d1dbe] check-in: [f040a5bb] user: drh branch: sessions, size: 129445
2016-02-06
22:32
Add a utility program that looks for assert(), NEVER(), ALWAYS(), and testcase() macros that have side-effects, and reports errors when they are found. Also fix a bug that this utility detected as it was being tested. file: [b67a4539] check-in: [b0b4624f] user: drh branch: trunk, size: 128760
2016-02-05
14:29
Merge OOM handling optimizations and PRAGMA synchronous=EXTRA as well as other enhancements from trunk. file: [83d9667d] check-in: [201fcbee] user: drh branch: apple-osx, size: 133391
14:15
Merge enhancements from trunk. file: [988a73bf] check-in: [a533608c] user: drh branch: sessions, size: 129425
01:55
Improvements to the way that OOM errors are processed. file: [62b7fe3e] check-in: [c3ef0347] user: drh branch: oom-handling, size: 128740
2016-02-02
00:59
Add the SQLITE_DBCONFIG_REQUIRE_WRITE_TXN connection setting, which if enabled requires all write operations to be enclosed within BEGIN ... COMMIT. file: [4888788c] check-in: [7453790c] user: drh branch: require-write-txn, size: 128824
2016-01-20
15:05
Fix a potential use-after-free problem when compiling with SQLITE_HAS_CODEC. file: [eab72857] check-in: [b94a3a37] user: drh branch: branch-3.10, size: 128733
11:40
Merge all recent enhancements from trunk. file: [9bef1b75] check-in: [3ed49691] user: drh branch: apple-osx, size: 133393
11:33
Merge recent enhancements from trunk. file: [c7d4a185] check-in: [327af5f6] user: drh branch: sessions, size: 129427
2016-01-16
03:16
Fix a potential use-after-free problem when compiling with SQLITE_HAS_CODEC. file: [b686dabe] check-in: [653ea15a] user: drh branch: trunk, size: 128742
2016-01-14
22:19
Combine the xFunc and xStep pointers of the FuncDef object into a single pointer xSFunc. file: [6bcb3de6] check-in: [0d1b3d7d] user: drh branch: trunk, size: 128742
15:03
Merge the latest enhancements and fixes from trunk. file: [d2c79dfc] check-in: [d85774e0] user: drh branch: apple-osx, size: 133384
14:48
Merge the latest fixes and enhancements from trunk. file: [a88a4551] check-in: [007e5c6d] user: drh branch: sessions, size: 129418
2016-01-08
02:27
Add the experimental SQLITE_FCNTL_JOURNAL_POINTER file control for obtaining the sqlite3_file pointer associated with a rollback journal or WAL file. file: [6d589f27] check-in: [a02ace9a] user: drh branch: file-control-journal, size: 128733
2016-01-01
13:31
Merge all recent trunk enhancements. file: [54f3a646] check-in: [5b700f31] user: drh branch: apple-osx, size: 133252
13:25
Merge the latest enhancements from trunk. file: [bb8aaa94] check-in: [c0be246a] user: drh branch: sessions, size: 129286
2015-12-30
16:51
Changes to the way that the default BINARY collating sequence is recorded result in a slightly smaller and slightly faster executable. More work could be done to make this cleaner. file: [b9641a4f] check-in: [2081d757] user: drh branch: trunk, size: 128601
2015-12-16
19:47
Merge recent enhancements from trunk. file: [955f7b9d] check-in: [f6c9273c] user: drh branch: sessions, size: 129247
2015-12-11
12:53
Merge recent trunk enhancements, and in particular the snapshot interface. file: [3b6c60fd] check-in: [7e7b2406] user: drh branch: apple-osx, size: 133212
2015-12-10
20:03
Update the sqlite3_snapshot_get() API so that if the caller does not have an open read transaction on the named database, one is automatically opened. file: [2f33510a] check-in: [b9c90f10] user: dan branch: snapshot-get, size: 128562
2015-12-05
20:51
Add untested implementations of experimental APIs sqlite3_snapshot_get(), _open() and _free(). file: [3dc84d9b] check-in: [0715eb00] user: dan branch: snapshot-get, size: 128529
2015-12-03
22:33
Fix typos in requirements text and update requirements marks. No changes to code. file: [a950e489] check-in: [8534a46c] user: drh branch: trunk, size: 126677
2015-12-02
20:40
Merge recent enhancements from trunk. file: [cf9fcb71] check-in: [d1a1278d] user: drh branch: sessions, size: 127336
20:22
Merge all recent trunk enhancements, especially the unix VFS changes. file: [66b67b2b] check-in: [e1fb33c7] user: drh branch: apple-osx, size: 131303
2015-11-28
18:06
Add the SQLITE_FCNTL_VFS_POINTER file control which obtains a pointer to the top-level VFS in use by a database connection. file: [3f2828fc] check-in: [7c6a809e] user: drh branch: trunk, size: 126651
2015-11-19
19:40
Merge the latest enhancements from trunk. file: [59798e68] check-in: [7d6cfc79] user: drh branch: sessions, size: 127214
2015-11-13
02:13
Merge fixes from trunk. file: [5d8883e2] check-in: [f9060b2a] user: drh branch: apple-osx, size: 131181
2015-11-12
23:48
Update the SQLLOG logic so that to builds in accordance with the instructions in the header comment. file: [91feb5c7] check-in: [ee6f2fee] user: drh branch: trunk, size: 126529
21:55
Import the test_sqllog.c enhancements from trunk. file: [df7430d3] check-in: [178da339] user: drh branch: apple-osx, size: 131177
20:12
Add support for the SQLITE_SQLLOG_CONDITIONAL environment variable to the logging code in test_sqllog.c. When defined, logging is only performed if the "<database>-sqllog" file is present in the file system when the main database is opened. file: [bf26fbeb] check-in: [cab8126b] user: dan branch: trunk, size: 126525
2015-10-30
16:50
Merge all the latest enhancements from trunk. file: [cae25642] check-in: [395a153f] user: drh branch: sessions, size: 127093
16:23
Merge latest trunk changes, including sqlite3_db_cacheflush(), with this branch. file: [dd262654] check-in: [6e4306ef] user: dan branch: apple-osx, size: 131060
2015-10-29
18:16
Avoid automatically rolling back the transaction if an SQLITE_IOERR or SQLITE_FULL error occurs within sqlite3_db_cacheflush(). file: [f393acc6] check-in: [370b5d52] user: dan branch: cacheflush, size: 126408
2015-10-28
19:46
Add experimental API sqlite3_db_cacheflush(). file: [b9d02034] check-in: [65b86dc1] user: dan branch: cacheflush, size: 126486
2015-10-26
20:50
Merge latest trunk changes, including the SQLITE_IOERR_AUTH error code, with this branch. file: [458135ea] check-in: [bc195e1c] user: dan branch: apple-osx, size: 130292
14:41
When compiling with SQLITE_HAS_CODEC, honor the hexkey= query parameter on URI pathnames in sqlite3_open_v2(). file: [1cae0297] check-in: [e0ce3fc0] user: drh branch: trunk, size: 125640
2015-10-15
21:13
Merge updates from trunk. file: [1a9235d7] check-in: [40493680] user: mistachkin branch: mutexInitIsInitReCheck, size: 125385
21:12
Merge updates from trunk. file: [2082c1c7] check-in: [a447cf90] user: mistachkin branch: mutexInitSimpleCmpSwap, size: 125334
2015-10-09
17:28
Merge all changes through the first 3.9.0 beta from trunk. file: [60b45cb1] check-in: [1ccae39b] user: drh branch: apple-osx, size: 129846
15:29
Merge the version 3.9.0 changes and the incorporation of JSON1 and FTS5 into the amalgamation from trunk. file: [3679a4f4] check-in: [c1d96fb6] user: drh branch: sessions, size: 125879
2015-10-08
23:37
Json1 tests are working. Builds without FTS5 enabled. Still some problems building with FTS5. file: [fec97668] check-in: [2928f8e8] user: drh branch: amalg-json1-fts5, size: 125194
20:11
Fix a couple of errors in fts5 compilation. This branch still does not build with -Wall -Werror. file: [1bd38393] check-in: [e9e76e12] user: dan branch: amalg-json1-fts5, size: 125256
19:29
First attempt to add json1 and fts5 to the amalgamation. This check-in does not compile. file: [286aa648] check-in: [d820a1bd] user: drh branch: amalg-json1-fts5, size: 125149
2015-09-30
14:50
Merge recent enhancements from trunk, and especially the fix for ticket [1b266395d6bc10]. file: [34206b73] check-in: [b2face9a] user: drh branch: sessions, size: 125630
2015-09-26
17:44
Enable adding JSON1 by appending the json1.c source file to the amalgamation and compiling with -DSQLITE_ENABLE_JSON1 file: [c80ea19e] check-in: [33404b20] user: drh branch: trunk, size: 124945
2015-09-25
16:29
Disable the SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS mechanism and replace it with SQLITE_TESTCTRL_BENIGN_MALLOC_CTRL, which gives better control. file: [710b2e04] check-in: [2c57b2f3] user: drh branch: malloc-testing, size: 124866
2015-09-23
16:24
Simplify thread-safety of mutex initialization. file: [cf4d6d94] check-in: [da0587c5] user: mistachkin branch: mutexInitSimpleCmpSwap, size: 124929
2015-09-14
22:54
Remove a comment that is no longer accurate. file: [dce50d88] check-in: [cf114c18] user: mistachkin branch: mutexInitIsInitReCheck, size: 124980
22:52
Re-check sqlite3GlobalConfig.isInit after the mutex subsystem has been initialized. file: [babadd46] check-in: [fea8c0b2] user: mistachkin branch: mutexInitIsInitReCheck, size: 125005
2015-09-12
03:40
Clarify the new mutex implementation reset logic in sqlite3_shutdown(). file: [9f196a43] check-in: [f9a03483] user: mistachkin branch: mutexInitCmpSwap, size: 125898
2015-09-11
23:24
Make sure that the mutex implementation can be altered after calling sqlite3_shutdown(). file: [ea3915d9] check-in: [dc2cf897] user: mistachkin branch: mutexInitCmpSwap, size: 125380
05:06
Enhance mutex initialization to prevent possible race conditions between sqlite3_initialize() and sqlite3_config(). Also, re-check sqlite3GlobalConfig.isInit after the mutex subsystem has been initialized. file: [ff612656] check-in: [f6a8f577] user: mistachkin branch: mutexInitCmpSwap, size: 125346
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: [d3fd6de7] check-in: [da864658] user: drh branch: apple-osx, size: 129441
2015-08-21
16:22
Merge trunk changes with this branch. file: [f4a8a756] check-in: [deaf3b18] user: dan branch: begin-concurrent, size: 124810
2015-08-20
23:54
Merge recent trunk enhancements, include table-valued functions. file: [9e2e596c] check-in: [e9196d56] user: drh branch: sessions, size: 125474
2015-08-19
02:32
Initial implementation of eponymous virtual table instances. file: [e17fcffa] check-in: [c1f43a77] user: drh branch: table-valued-functions, size: 124789
2015-08-10
20:22
Add the sqlite3_experimental_log_open() interface. This is for diagnostic use only and is not intended to ever go on trunk. file: [acfb7cf3] check-in: [ac5d2e9d] user: drh branch: experimentalIoLog, size: 126341
2015-07-27
19:31
Add an experimental "BEGIN UNLOCKED" command. file: [ebbd5a45] check-in: [80794216] user: dan branch: begin-concurrent, size: 124573
2015-07-23
21:59
Merge all changes in the latest 3.8.11 beta into the sessions branch. Changes include the rename of OTA to RBU, the WITHOUT-ROWID-OR-Skipscan fix, and improvements to pcache1. file: [6dd8bf94] check-in: [7f0ee770] user: drh branch: sessions, size: 125237
17:16
When SQLITE_OMIT_LOOKASIDE is set, do not allocate any lookaside memory since it will never be used. file: [0a60b7ca] check-in: [0ffd499f] user: drh branch: trunk, size: 124552
2015-06-30
16:29
Merge all the latest enhancements from trunk. This merge include FTS5 and a number of notable performance enhancements. file: [5e170f7c] check-in: [39936b33] user: drh branch: sessions, size: 125172
03:13
Change sqlite3ApiExit() so that its first argument is never NULL. file: [92d79bfa] check-in: [791b706e] user: drh branch: trunk, size: 124487
2015-06-25
20:10
Add a script to combine all fts5 code into a single file - fts5.c - that can be used to build an SQLite loadable extension. file: [37e30830] check-in: [46e86b06] user: dan branch: fts5, size: 124718
2015-06-23
15:06
Merge latest trunk changes with this branch. Add tests for columnsize=0. file: [fb40edfc] check-in: [ef44c71a] user: dan branch: fts5, size: 124687
2015-06-17
18:18
Merge all recent enhancements and fixes from trunk. file: [949e2096] check-in: [199bfb67] user: drh branch: sessions, size: 125196
2015-06-15
14:43
Fix harmless compiler warnings. file: [c0061a4f] check-in: [b0badb99] user: drh branch: trunk, size: 124511
2015-06-02
18:07
Merge latest trunk changes with this branch. file: [33562894] check-in: [c9ffda4a] user: dan branch: fts5, size: 124610
2015-05-29
19:04
Import recent enhancements from trunk. file: [1659e2e8] check-in: [54bec164] user: drh branch: sessions, size: 125119
2015-05-27
03:46
Add the "PRAGMA cell_size_check=ON" command. file: [3a610587] check-in: [2ead43f0] user: drh branch: cell-size-check-pragma, size: 124434
2015-05-14
15:17
Merge in the IS-operator enhancements and other recent changes from trunk. file: [3fd7ec23] check-in: [4f922944] user: drh branch: sessions, size: 125028
2015-05-13
18:12
Merge latest trunk changes with this branch. file: [35fe7000] check-in: [b5f0e8c5] user: dan branch: fts5, size: 124519
2015-05-12
23:33
Use the database mutex where applicable. file: [bd2c1bb3] check-in: [28cfdabc] user: mistachkin branch: get-trace, size: 125238
23:31
Fix a couple of typos in comments. file: [6b7c1b1d] check-in: [e908365f] user: mistachkin branch: get-trace, size: 125102
23:28
Improve API armor integration. Fix harmless compiler warnings. file: [fade9203] check-in: [fbf29b45] user: mistachkin branch: get-trace, size: 125098
23:20
Modify the new functions to make them return a standard return code. file: [3924dad8] check-in: [02f694d5] user: mistachkin branch: get-trace, size: 125044
21:27
Experimental API extension for recovering the current trace and profile callbacks on a database connection. file: [a6a22e9e] check-in: [9de33768] user: drh branch: get-trace, size: 125032
2015-05-11
11:59
Revamp the way the DBSTAT virtual table is registered. file: [bf14bc6a] check-in: [4e652015] user: drh branch: trunk, size: 124343
2015-05-05
17:12
Merge all trunk enhancements and fixes into the sessions branch. file: [6b9b7976] check-in: [de7083cf] user: drh branch: sessions, size: 125073
2015-05-04
20:25
Automatically enable the dbstat virtual table on all new database connections with the SQLITE_ENABLE_DBSTAT_VTAB compile-time option is used. file: [331fda6b] check-in: [1c9c6eaa] user: drh branch: trunk, size: 124388
2015-05-02
18:25
Add the SQLITE_LIMIT_PRINTF_WIDTH setting for sqlite3_limit() and associated logic for preventing DOS attacks using printf() with oversized widths or precisions. file: [3fa53630] check-in: [f8b15979] user: drh branch: limit-printf-width, size: 124369
2015-04-29
16:50
Use sqlite3_malloc64() in place of sqlite3_malloc() internally. file: [af89a158] check-in: [48f553b0] user: drh branch: trunk, size: 124219
2015-04-28
23:34
Revise when the sqlite3ErrName() function is defined. file: [6dc03020] check-in: [9e593fb3] user: mistachkin branch: winTest, size: 124215
2015-04-22
14:41
Prototype for an sqlite3_db_log() interface. file: [453ae1a3] check-in: [658e20f5] user: drh branch: sqlite3_db_log, size: 124207
09:40
Update this branch with latest trunk changes. file: [43cb9160] check-in: [9797482d] user: dan branch: fts5, size: 124085
2015-04-16
03:56
Move OSTRACE defines so they are visible to all source files that need them. file: [9f4b0e09] check-in: [72485c97] user: mistachkin branch: winTest, size: 124240
03:24
Merge updates from trunk. Make OSTRACE changes work on Linux. file: [df3cbe6e] check-in: [cd154266] user: mistachkin branch: winTest, size: 124209
2015-04-02
17:46
Fix build with OSTRACE enabled on Windows when building using separate source files. file: [1ce94762] check-in: [5f6e3580] user: mistachkin branch: winTest, size: 124375
2015-03-31
19:06
Build fixes for OSTRACE enhancements. file: [cc3ac779] check-in: [f79c236f] user: mistachkin branch: winTest, size: 123951
17:45
Testing enhancements on Windows. file: [1cc847aa] check-in: [9cc70eee] user: mistachkin branch: winTest, size: 123932
00:10
Merge all recent trunk enhancements and fixes into the sessions branch. file: [4eecdeb7] check-in: [df94e61f] user: drh branch: sessions, size: 124594
2015-03-30
23:52
Merge the latest trunk enhancements, and especially the fix for the infinite loop on a DROP TABLE in a corrupt database, into the apple-osx branch. file: [a5e55e2b] check-in: [4d42bf5e] user: drh branch: apple-osx, size: 128561
2015-03-27
00:21
Using MSVC, get the sqlite3IoTrace variable working with the USE_STDCALL and/or DYNAMIC_SHELL options. file: [40e33396] check-in: [fe976c91] user: mistachkin branch: trunk, size: 123909
2015-03-24
19:02
Merge all recent trunk enhancements into the sessions branch. file: [e404037a] check-in: [54aaa6f2] user: drh branch: sessions, size: 124588
18:49
Merge the latest trunk enhancements into the apple-osx branch. file: [f327b997] check-in: [a2bd81e5] user: drh branch: apple-osx, size: 128555
2015-03-23
18:52
Add the SQLITE_PTRSIZE macro. Use it to help sqlite3_status() run faster on 32-bit systems. file: [569d45ba] check-in: [c742bd60] user: drh branch: status64, size: 123903
2015-03-21
15:45
Merge trunk changes with this branch. file: [350c13b7] check-in: [14274391] user: dan branch: fts5, size: 123825
2015-03-09
13:18
Merge recent trunk enhancements into the apple-osx branch. file: [370cee13] check-in: [5e04eec8] user: drh branch: apple-osx, size: 128301
13:07
Merge recent trunk enhancements into the sessions branch. file: [17902e38] check-in: [68c8937e] user: drh branch: sessions, size: 124334
2015-03-04
23:14
New requirements marks on INSERT and INDEXED BY and on some sqlite3_config() options. file: [fa997fa2] check-in: [c298ea0b] user: drh branch: trunk, size: 123649
2015-03-03
16:58
Enhance SQLITE_ALLOW_URI_AUTHORITITY to elide //localhost/ and to deal with dodgy URIs that contain too many "/" characters. file: [6facbb32] check-in: [39b566a2] user: drh branch: trunk, size: 123325
14:00
Fix over-length source code lines in the main.c source file. file: [998d6a92] check-in: [debba6f1] user: drh branch: trunk, size: 122750
2015-02-21
15:13
Merge all recent trunk changes into the sessions branch. file: [d01a9b0a] check-in: [f36bb5fa] user: drh branch: sessions, size: 123402
2015-02-19
00:29
First small steps toward brining trunk and apple-osx closer together. file: [80edeba3] check-in: [28284ccc] user: drh branch: trunk, size: 122717
2015-02-13
16:42
Enhancements to SQLITE_ENABLE_API_ARMOR merged from trunk. file: [53fe6718] check-in: [5147b94a] user: drh branch: apple-osx, size: 127369
16:36
Improvements to SQLITE_ENABLE_API_ARMOR. file: [3780c966] check-in: [823ad40c] user: drh branch: trunk, size: 122640
2015-02-06
16:03
Merge all recent trunk enhancements into the apple-osx branch. file: [47994ce8] check-in: [44711921] user: drh branch: apple-osx, size: 127238
15:40
Merge all the latest enhancements from trunk. file: [649e2354] check-in: [ae7eef11] user: drh branch: sessions, size: 123194
2015-02-04
20:56
Fix a missing mutex in SQLITE_TESTCTRL_IMPOSTER. file: [17e3a373] check-in: [71691c4b] user: drh branch: trunk, size: 122509
16:32
Avoid a linear scan of the entire table when ota updates or deletes a row from a table with an external primary key index. file: [893ca895] check-in: [1db198cc] user: dan branch: ota-update, size: 124952
2015-02-03
15:56
Remove "PRAGMA ota_mode". file: [55d548a2] check-in: [1c111447] user: dan branch: ota-update, size: 124417
2015-02-02
09:40
Merge latest trunk changes with this branch. file: [fe876f31] check-in: [76212f2c] user: dan branch: fts5, size: 122609
2015-01-31
20:42
Have ota use imposter tables to write to indexes instead of the sqlite3_index_writer() interface. The error handling in this version is broken in a few small ways. file: [c4cb192e] check-in: [cdaeab46] user: dan branch: ota-update, size: 123092
2015-01-30
21:00
Merge the SQLITE_TESTCTRL_IMPOSTER changes from trunk. file: [d6c5fd51] check-in: [3ed6eb2f] user: drh branch: ota-update, size: 123016
20:59
Change SQLITE_TESTCTRL_INITMODE to SQLITE_TESTCTRL_IMPOSTER. Revise the order of parameters. Give it the ability to reset the schema parse table so that imposter tables can be erased. file: [ce38ddce] check-in: [42d56017] user: drh branch: trunk, size: 122433
16:36
Merge all recent trunk changes, and especially the SQLITE_TESTCTRL_INITMODE enhancement. file: [cf9e43a0] check-in: [36436dde] user: drh branch: ota-update, size: 122139
15:52
Added SQLITE_TESTCTRL_INITMODE for improved testability. file: [81ddebf2] check-in: [98e02913] user: drh branch: trunk, size: 121556
2015-01-29
19:12
Ensure that "PRAGMA wal_checkpoint = TRUNCATE|FULL|RESTART" block on other connections and truncate the wal file as required even if the entire wal file has already been checkpointed. file: [341fcc56] check-in: [53429689] user: dan branch: trunk, size: 121176
17:54
Add the INITMODE test-control. file: [b0a41ca3] check-in: [5940af8e] user: drh branch: initmode-testctrl, size: 121525
02:26
Experimental sqlite_db_config() setting to disable writing to all btrees except for one btree with a particular root page. file: [6a6688cf] check-in: [23054110] user: drh branch: one-writable-btree, size: 121275
2015-01-28
12:00
Merge in all changes from trunk. file: [296f12a2] check-in: [17c69be8] user: drh branch: ota-update, size: 121728
2015-01-21
06:36
Merge latest trunk changes with this branch. file: [aacb8f37] check-in: [b3348b1e] user: dan branch: fts5, size: 121321
2015-01-16
12:24
Merge the 3.8.8 release changes from trunk. file: [b5d472b9] check-in: [518621f8] user: drh branch: apple-osx, size: 125874
2015-01-14
17:16
Merge trunk 3.8.8 beta changes into the sessions branch file: [e5bcc6d9] check-in: [0ba12454] user: drh branch: sessions, size: 121830
2015-01-12
18:52
Merge updates from trunk. file: [05bf368c] check-in: [ca5f2c54] user: mistachkin branch: msvcW4, size: 121145
18:38
Fix some harmless compiler warnings. file: [c82bc265] check-in: [2b8eecbf] user: mistachkin branch: msvcW4, size: 121171
2015-01-10
16:49
Improvements to compile-time-option hygiene. Use "#if OPTION" instead of "#ifdef OPTION" in cases where that makes sense, so that -DOPTION=0 will work. Add the "Have-Not" configuration in releasetest.tcl which disables all of the "HAVE_component" compile-time options. file: [54c26e3f] check-in: [9e92a5ed] user: drh branch: trunk, size: 121141
2015-01-08
20:06
Merge recent enhancements from trunk, including test scripts enhancements and the removal of limits on the number of terms in a VALUES clause. file: [1b20d9b1] check-in: [5a2dec55] user: drh branch: sessions, size: 121852
2015-01-02
19:17
Merge the latest changes from trunk into the apple-osx branch. file: [cee39600] check-in: [df3cdf9f] user: drh branch: apple-osx, size: 125896
15:55
Add the SQLITE_CONFIG_PMASZ start-time option. file: [b0a7f3f9] check-in: [acb0d1e8] user: drh branch: trunk, size: 121167
2015-01-01
18:03
Merge latest trunk changes with this branch. file: [cb121abd] check-in: [4b365167] user: dan branch: fts5, size: 121231
2014-12-31
14:27
Merge the fix to PRAGMA data_version and testing improvements from trunk. file: [0e2e16ee] check-in: [86e39123] user: drh branch: sessions, size: 121740
2014-12-24
17:17
When building the amalgamation with SQLITE_ENABLE_IOTRACE defined, do not mark symbol sqlite3IoTrace as static. file: [fa2128ef] check-in: [5b7ca013] user: dan branch: trunk, size: 121055
2014-12-23
20:42
Permit sqlite3_shutdown() to be called with OMIT_WSD enabled and without having called sqlite3_initialize() first. file: [784f3d61] check-in: [3f7dbdb5] user: mistachkin branch: trunk, size: 121037
2014-12-22
18:48
Merge the PRAGMA data_version redefinition and other fixes from trunk. file: [569d43f0] check-in: [315243e4] user: drh branch: sessions, size: 121610
2014-12-20
21:14
Minor fixes and enhancements to the SQLITE_ENABLE_API_ARMOR functionality. file: [ee498c89] check-in: [cb3e4219] user: mistachkin branch: trunk, size: 120925
2014-12-16
01:05
Merge threading fixes from trunk into the sessions branch. file: [ef3c25ce] check-in: [9817a286] user: drh branch: sessions, size: 121596
00:29
Merge latest fixes and enhancements from trunk into apple-osx. file: [8e1b6b45] check-in: [2c1d8dda] user: drh branch: apple-osx, size: 125640
2014-12-12
23:17
Add extra tests to threadtest4.c. Fix a benign data race accessing the text encoding using ENC(db). file: [48e0410a] check-in: [d7bb7ea4] user: drh branch: trunk, size: 120911
00:20
Fix a bug in the threadtest4.c program. Remove the keyinfo cache as it provides minimal performance improvements, and then only at SQL preparation time, not at runtime, and it has problems with data races in shared-cache mode. We might later add the keyinfo cache back but only enable it when shared-cache mode is off. file: [1f40f661] check-in: [b7489f94] user: drh branch: threadtest4, size: 120839
2014-12-09
22:24
Fix the sqlite3_table_column_metadata() routine so that it gives the correct answer for the "rowid" column in a WITHOUT ROWID table. Enhance it so that it can be used to check for the existence of a table by setting the column name parameter to NULL. The routine is now included in the build by default, even without the SQLITE_ENABLE_COLUMN_METADATA compile-time option. file: [4bfb07de] check-in: [cf9be419] user: drh branch: trunk, size: 122173
19:07
Make the sqlite3_table_column_metadata() interface available by default and without requiring the SQLITE_ENABLE_COLUMN_METADATA compile-time option. Other sqlite3_column_* interfaces that have a run-time penalty even if they are unused still require the SQLITE_ENABLE_COLUMN_METADATA option at compile-time. file: [ad4c0ed3] check-in: [4f7549ff] user: drh branch: trunk, size: 122063
15:12
Add the SQLITE_REVERSE_UNORDERED_SELECTS compile-time option that causes the "PRAGMA reverse_unordered_selects" setting to be on by default. file: [378923ed] check-in: [75a803e6] user: drh branch: trunk, size: 122107
15:01
Increase the default PMA size from 10 to 250 pages and provide the SQLITE_SORTER_PMASZ compile-time option to change this default. Add needed mutex call when clearing the KeyInfo cache in shared-cache mode. file: [02f8f922] check-in: [6e2da589] user: drh branch: apple-osx, size: 126744
14:54
Merge the KeyInfo cache mutex fix from trunk. file: [6614381d] check-in: [f0940c73] user: drh branch: sessions, size: 122700
2014-12-08
20:23
Add missing mutex calls around a call to sqlite3SchemaGet() within sqlite3_open(). file: [53c7e58a] check-in: [266b3441] user: dan branch: branch-3.8.7, size: 113373
20:20
Add missing mutex calls around a call to sqlite3SchemaGet() within sqlite3_open(). file: [27c10214] check-in: [45415899] user: dan branch: trunk, size: 122015
18:08
Add a missing mutex around calls to clear the KeyInfo cache when closing a database connection. file: [c04c232a] check-in: [7047ce32] user: drh branch: trunk, size: 121941
17:45
Add a missing mutex around calls to clear the KeyInfo cache when closing a database connection. file: [b750d8a9] check-in: [3ddc7e4c] user: drh branch: branch-3.8.7, size: 113299
07:50
Update this branch with latest trunk changes. file: [eac81ee5] check-in: [69a312ad] user: dan branch: ota-update, size: 122450
2014-12-05
20:16
Merge the shared-cache KeyInfo fix from trunk. file: [0e8100f7] check-in: [8a9b43f9] user: drh branch: apple-osx, size: 126596
20:05
Merge the fix for the shared-cache KeyInfo cache bug from trunk. file: [d13290bb] check-in: [5a73da6a] user: drh branch: sessions, size: 122552
15:31
The KeyInfo cache must be cleared before closing the btree, not after. Revised fix for ticket [e4a18565a36884b00edf]. file: [e5020361] check-in: [7ed3346e] user: drh branch: trunk, size: 121867
15:25
The KeyInfo cache must be cleared before closing the btree, not after. Revised fix for ticket [e4a18565a36884b00edf]. file: [aefdbda9] check-in: [48529508] user: drh branch: branch-3.8.7, size: 113225
14:51
When closing a (shared-cache) database connection, be sure to clear out all KeyInfo objects cached on Index objects. Fix for ticket [e4a18565a36884b00edf]. file: [da87f934] check-in: [b7905b8c] user: drh branch: branch-3.8.7, size: 113207
05:38
When closing a (shared-cache) database connection, be sure to clear out all KeyInfo objects cached on Index objects. Proposed fix for ticket [e4a18565a36884b00edf]. file: [fa9f0e51] check-in: [651ed97d] user: drh branch: fix-stale-keyinfo-cache, size: 121849
2014-12-04
23:42
Import from trunk support for SQLITE_CHECKPOINT_TRUNCATE and fixes for a couple of obscure bugs. file: [5855a994] check-in: [463ad971] user: drh branch: apple-osx, size: 126273
23:35
Incorporate the SQLITE_CHECKPOINT_TRUNCATE enhancement and a couple of obscure bug fixes from trunk. file: [962eac23] check-in: [34ffa3b3] user: drh branch: sessions, size: 122229
2014-12-03
18:32
Simplify the sqlite3_wal_checkpoint() documentation. Add some source code evidence marks. file: [84cc0fc4] check-in: [026c44ff] user: drh branch: trunk, size: 121544
2014-12-02
19:04
Add the SQLITE_CHECKPOINT_TRUNCATE option. file: [34b895b5] check-in: [8e20a434] user: dan branch: checkpoint-truncate, size: 121304
16:38
Merge all recent enhancements and bug fixes from trunk into the apple-osx branch. file: [b847849c] check-in: [43c4ba26] user: drh branch: apple-osx, size: 126058
16:31
Merge all recent fixes and enhancements from trunk into sessions. file: [e8d76c9d] check-in: [2617d937] user: drh branch: sessions, size: 122014
2014-11-22
09:09
Add SQLITE_ENABLE_OTA pre-processor directives so that this branch may be compiled with or without OTA. file: [cd819123] check-in: [600cefdd] user: dan branch: ota-update, size: 121912
2014-11-21
14:37
Merge latest trunk changes with this branch. file: [e2adfa1e] check-in: [7ef44c5b] user: dan branch: ota-update, size: 121856
2014-11-20
19:22
Add requirements marks on the built-in collating functions. file: [54d0f489] check-in: [4b608b62] user: drh branch: trunk, size: 121329
2014-11-18
21:27
Merge recent trunk enhancements. file: [e260eb4a] check-in: [ccb601f6] user: drh branch: apple-osx, size: 125507
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: [46e2f592] check-in: [f09055f3] user: drh branch: sessions, size: 121463
2014-11-17
17:57
Changes so that sqlite3_ckpt_open() works with zipvfs databases. file: [25088f9f] check-in: [acbed338] user: dan branch: ota-update, size: 113220
2014-11-15
20:07
Fix the customization interfaces so that they match the documentation. file: [afc0ae83] check-in: [fba0b5fc] user: dan branch: fts5, size: 112123
2014-11-11
22:55
Enhance ROLLBACK so that pending queries are allowed to continue as long as the schema does not change. This is a cherry-pick of check-in [b5df5ac052]. file: [1bdabb62] check-in: [d4b2d5d0] user: drh branch: branch-3.8.7, size: 112902
01:33
Experimental changes that permit read operations to continue after a ROLLBACK, as long as the schema is unchanged. file: [d3310d5e] check-in: [fa6e6a9a] user: drh branch: read-after-rollback, size: 120778
2014-11-07
01:43
Update documentation on sqlite3_config() and add corresponding evidence marks. file: [f88ed287] check-in: [360c8ca1] user: drh branch: trunk, size: 120569
2014-11-04
17:23
Add various requirements evidence marks for sqlite3_config() options. file: [42f857be] check-in: [d423349d] user: drh branch: trunk, size: 119828
13:41
Improved documentation and addition of source-code evidence marks for the sqlite3_config() interface. file: [c673d097] check-in: [681031a4] user: drh branch: trunk, size: 118700
12:11
Add the SQLITE_CONFIG_PCACHE_HDRSZ option for sqlite3_config(). file: [89031650] check-in: [6eb03e62] user: drh branch: trunk, size: 116828
2014-11-01
18:32
Add requirements marks and make minor tweaks to documentation. file: [5f659bdb] check-in: [49188b2b] user: drh branch: trunk, size: 116535
2014-10-31
14:53
Merge recent trunk enhancements, and in particular the improvements to the b-tree balancing logic, into the sessions branch. file: [7a3d1245] check-in: [28b044a5] user: drh branch: sessions, size: 116826
2014-10-27
18:42
Merge latest enhancements, including the SQLITE_ENABLE_API_ARMOR patch, from trunk. file: [0e554142] check-in: [10aaf3b1] user: drh branch: apple-osx, size: 120870
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: [2b882f64] check-in: [c297a84b] user: drh branch: api-armor, size: 116141
2014-10-23
01:01
Implement sqlite3_create_collation() by invoking sqlite3_create_collation_v2() with a NULL destructor argument. This saves a little space. file: [8207ece1] check-in: [9762ad06] user: drh branch: trunk, size: 112550
2014-10-21
19:35
Test that sqlite3ota_open() works with URI paths. Fix some other issues. file: [627406d9] check-in: [6fd09854] user: dan branch: ota-update, size: 113100
2014-10-20
16:34
Merge version-3.8.7 changes with this branch. file: [d7a31f8c] check-in: [d380a648] user: dan branch: ota-update, size: 113052
16:24
Have the ota extension perform an incremental checkpoint after generating the wal file. file: [57cdf37a] check-in: [0bf1301a] user: dan branch: ota-update, size: 113348
2014-10-10
12:56
Merge all recent trunk changes. file: [c67be3c3] check-in: [abfef254] user: drh branch: sessions, size: 113378
2014-10-09
11:27
Merge the latest trunk enhancements into the apple-osx branch. file: [8185a7af] check-in: [6fc72077] user: drh branch: apple-osx, size: 117422
2014-10-04
11:59
Updates to documentation and requirements marks. No code changes. file: [bbe872b0] check-in: [0f8102d7] user: drh branch: trunk, size: 112693
2014-10-01
01:52
Merge the latest enhancements from trunk. file: [c603e289] check-in: [2695772c] user: drh branch: sessions, size: 113079
01:46
Merge the latest enhancements from trunk. file: [6d6c8e53] check-in: [2078454a] user: drh branch: apple-osx, size: 117123
2014-09-30
12:33
Remove the SQLITE_ENABLE_TREE_EXPLAIN compile-time option. Add alternative debugging display routines: sqlite3TreeViewExpr(), sqlite3TreeViewExprList(), and sqlite3TreeViewSelect(). file: [4a507a46] check-in: [4ff51325] user: drh branch: trunk, size: 112394
2014-09-21
23:08
Merge in all recent changes from trunk. file: [ed5dc249] check-in: [3967ebe8] user: drh branch: apple-osx, size: 117718
22:49
Merge all recent trunk changes into the sessions branch. file: [1010acfb] check-in: [6406b77f] user: drh branch: sessions, size: 113674
2014-09-15
15:34
Merge latest trunk changes with this branch. file: [6b9fd186] check-in: [55b8011d] user: dan branch: ota-update, size: 113371
2014-09-10
17:34
Further ideas on user authentication. Not yet working code. file: [d1562146] check-in: [c8171ecd] user: drh branch: user-auth, size: 112989
2014-09-09
14:47
Non-working preliminary implementation attempts on user authentication. file: [26299e9d] check-in: [8440f093] user: drh branch: user-auth, size: 113075
2014-09-08
15:04
Merge support for large files on Android from trunk. file: [faf3629e] check-in: [c2885c6b] user: drh branch: sessions, size: 113567
2014-09-06
16:39
Fix typos in comments. No code changes. file: [e48517e3] check-in: [e62aab5e] user: peter.d.reid branch: trunk, size: 112882
2014-09-02
19:59
Add an experimental extension for applying bulk updates to databases. file: [c9802dc9] check-in: [2954ab50] user: dan branch: ota-update, size: 113264
15:57
Merge the latest trunk changes into the apple-osx branch. file: [b3d19f5a] check-in: [696dc935] user: drh branch: apple-osx, size: 117611
15:49
Merge the latest trunk changes, including the multi-threaded sorter, into the sessions branch. file: [20a0c78f] check-in: [d4cce2c7] user: drh branch: sessions, size: 113567
2014-08-29
19:06
Disable worker threads when SQLITE_THREADSAFE=0. Set the default compile-time maximum number of worker threads to 8 and honor the SQLITE_DEFAULT_WORKER_THREADS compile-time constant (which defaults to 0). file: [d2ef03a4] check-in: [33fa0410] user: drh branch: threads, size: 112882
16:20
Add SQLITE_LIMIT_WORKER_THREADS for controlling the maximum number of worker threads. file: [e71d7c8b] check-in: [1b598c68] user: drh branch: threads, size: 112854
2014-08-26
02:15
Merge recent performance enhancements and the CAST operator enhancements into the sessions branch. file: [f375a8d8] check-in: [08ae974a] user: drh branch: sessions, size: 112999
02:02
Merge recent performance enhancements and the CAST operator enhancements into the apple-osx branch. file: [56070be6] check-in: [5c273111] user: drh branch: apple-osx, size: 117043
2014-08-25
23:44
Remove the SQLITE_CONFIG_WORKER_THREADS configuration parameter. The number of worker threads in the sorter is now determined only by the PRAGMA threads=N setting. file: [f1726e70] check-in: [e3305d4b] user: drh branch: threads, size: 112567
13:27
Merge the recent performance enhancements implemented on trunk into the threads branch. file: [ce41520e] check-in: [dfdc900f] user: drh branch: threads, size: 112819
2014-08-22
18:00
Split the sqlite3Error() routine into sqlite3Error() and sqlite3ErrorWithMsg(), for a slight size reduction and performance increase. file: [900dd06e] check-in: [cf561d1f] user: drh branch: trunk, size: 112314
2014-08-21
20:26
Simplify the interface to the symbol table, saving 600 bytes of code space. file: [1e5d34fb] check-in: [14b0f561] user: drh branch: trunk, size: 112283
2014-08-15
22:37
Aborted merge. file: [4cf20c15] check-in: [c8ade949] user: numist branch: obsolete, size: 120630
2014-08-14
14:02
Merge the pre-3.8.6 changes into the threads branch. file: [333a7134] check-in: [a608fd1d] user: drh branch: threads, size: 112833
13:39
Merge the pre-3.8.6 changes from trunk into the apple-osx branch. file: [57c02d65] check-in: [08058df3] user: drh branch: apple-osx, size: 117060
2014-08-13
14:43
Merge the trunk changes for 3.8.6 beta3 into the sessions branch. file: [7f820024] check-in: [d49455d9] user: drh branch: sessions, size: 113013
2014-08-11
17:37
Add a few more requirements tests. file: [1cf92c5c] check-in: [b5652439] user: drh branch: trunk, size: 112328
15:54
Updates to evidence marks and requirements. No changes to code. file: [f86a887b] check-in: [62d38308] user: drh branch: trunk, size: 112298
2014-08-08
15:38
The SQLITE_IOERR_BLOCKED extended error code is not longer used, so remove assert() statements and documentation for that error code. Also make other documentation improvements. file: [5cd4d503] check-in: [36b7c5ce] user: drh branch: trunk, size: 112158
2014-08-06
14:36
Fix harmless compiler warnings. In the command-line shell, report if the ".system" command returns a non-zero result. file: [6bc7cd1b] check-in: [1202e977] user: drh branch: trunk, size: 112239
2014-07-30
14:44
Merge recent trunk changes, and especially the fix for the CREATE UNIQUE INDEX problem of ticket [9a6daf340df99ba9]. file: [42ba5977] check-in: [5b50a838] user: drh branch: threads, size: 112725
14:29
Merge the fix for the CREATE UNIQUE INDEX problem into the sessions branch. file: [bc027569] check-in: [43401ee6] user: drh branch: sessions, size: 112905
11:49
Merge all recent trunk changes, and especially the R-Tree IN operator fix of ticket [d2889096e7bdeac]. file: [a7da7695] check-in: [654c6c65] user: drh branch: apple-osx, size: 116952
2014-07-29
18:03
Merge updates from trunk. file: [bbf7f993] check-in: [08c9a4ea] user: mistachkin branch: winMutex, size: 112220
14:16
Merge the R-Tree fix and the new SQLITE_TESTCTRL_ISINIT test control from trunk. file: [e2fded36] check-in: [b2f7eb3c] user: drh branch: threads, size: 112700
14:09
Add the SQLITE_TESTCTRL_ISINIT file control. file: [fbe7c756] check-in: [8b651d4d] user: drh branch: trunk, size: 112195
05:49
Enhancements and updates to the Win32 mutex subsystem. file: [2c7647fd] check-in: [18984c32] user: mistachkin branch: winMutex, size: 111948
2014-07-24
16:54
Merge all recent trunk changes into the threads branch. file: [0eda2715] check-in: [77068589] user: drh branch: threads, size: 112429
16:43
Merge recent trunk changes into the apple-osx branch. file: [030c0fde] check-in: [3810dc62] user: drh branch: apple-osx, size: 116655
16:23
Merge recent trunk changes into the sessions branch. file: [20aa3e3d] check-in: [a9db017e] user: drh branch: sessions, size: 112608
2014-07-23
13:40
Change the hex literal processing so that only the SQL parser understands hex literals. Casting and coercing string literals into numeric values does not understand hexadecimal integers. This preserves backwards compatibility. Also: Throw an error on any hex literal that is too big to fit into 64 bits. file: [cfdb2aa5] check-in: [6c6f0de5] user: drh branch: hex-literal, size: 111923
2014-07-22
15:33
Correction: The maximum SQLITE_MAX_ATTACHED value to avoid overflowing a signed 8-bit integer is 125, not 127. file: [1a420efa] check-in: [48e37802] user: drh branch: trunk, size: 111949
2014-07-21
20:07
Limit the maximum SQLITE_MAX_ATTACHED to 127, since a signed character is sometimes used to store the database index. file: [d0fa35a8] check-in: [f1c76c7c] user: drh branch: trunk, size: 111949
15:44
Allow the SQLITE_MAX_ATTACHED compile-time option to be larger than 62. The default limit on the number of attached databases remains 10. file: [bba87834] check-in: [1a817ae2] user: drh branch: trunk, size: 111919
2014-06-30
20:25
Merge the latest trunk changes into the threads branch. file: [f761e754] check-in: [ae23a65e] user: drh branch: threads, size: 112453
20:02
Merge the latest trunk enhancements into the sessions branch. file: [13f3dcd2] check-in: [a5d94eab] user: drh branch: sessions, size: 112632
19:57
Merge the latest trunk changes into the apple-osx branch. file: [7f7d3acc] check-in: [f426876f] user: drh branch: apple-osx, size: 116679
2014-06-23
11:33
Add some code for an experimental fts5 module. Does not work yet. file: [e777879a] check-in: [1e0648dc] user: dan branch: fts5, size: 111997
10:18
Fix a problem with SQLITE_OMIT_WSD builds. file: [7c2c3caf] check-in: [07dda49c] user: dan branch: trunk, size: 111947
2014-05-26
20:15
Merge recent trunk changes into the threads branch. file: [67b07f2b] check-in: [82152027] user: drh branch: threads, size: 112441
20:08
Merge recent trunk changes into the apple-osx branch. file: [a0c13683] check-in: [54b5fa77] user: drh branch: apple-osx, size: 116667
20:00
Merge recent trunk changes into the sessions branch. file: [88707705] check-in: [a769c7e0] user: drh branch: sessions, size: 112620
2014-05-21
08:21
Fix the sqlite3_db_readonly() API so that it reports true if the database is readonly because the file format write version (byte 18 of the header) is too large. file: [40d0837e] check-in: [8d8af114] user: drh branch: trunk, size: 111935
2014-05-20
00:27
Merge all recent trunk changes into the apple-osx branch. file: [b53f4492] check-in: [23722be4] user: drh branch: apple-osx, size: 116686
00:20
Merge recent trunk changes into the sessions branch. file: [d1fbc849] check-in: [2d33afe0] user: drh branch: sessions, size: 112639
2014-05-19
23:17
Merge recent changes from trunk. file: [14f02e45] check-in: [6eefdad9] user: drh branch: threads, size: 112460
15:16
Changes to help ensure that a multiplication does not overflow when computing the number of bytes needed for a memory allocation, and cause a malfunction. No problems existing problems were discovered. However, these changes should help to ensure that no problems arise in the future. file: [5c9f16a8] check-in: [17349a49] user: drh branch: safer-malloc, size: 111959
2014-05-16
23:15
Work around compilation issue with MSVC. file: [1c164c7b] check-in: [9623a29c] user: mistachkin branch: trunk, size: 111954
14:27
Merge all recent changes from trunk, and especially the new sqlite3FaultSim() interface. file: [c2005c63] check-in: [43fcbd91] user: drh branch: threads, size: 112226
14:17
Repurpose the SQLITE_TESTCTRL_FAULT_INSTALL test-control to register a callback to be invoked by sqlite3FaultSim(). That test-control has been unused since 2008-06-20 and was never used in any official release. file: [bf60d71e] check-in: [0d43a7ad] user: drh branch: trunk, size: 111720
2014-05-12
15:30
In the sorter, only use large memory allocations if scratch memory has not been configured. Add #ifdefs to disable unused code when SQLITE_MAX_WORKER_THREADS is zero. Other sorter changes in support of testability. file: [274a72f5] check-in: [d7e2b0d9] user: drh branch: threads, size: 111634
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: [b3ce9d74] check-in: [9411d7dc] user: drh branch: apple-osx, size: 115860
2014-04-18
12:38
Merge recent trunk changes into the threads branch. file: [2ba4f6ee] check-in: [8729aa3e] user: drh branch: threads, size: 111595
01:10
Merge recent trunk changes into sessions. file: [a71db3a3] check-in: [95e77efe] user: drh branch: sessions, size: 111813
00:06
Add the SQLITE_TESTCTRL_BYTEORDER test control to interrogate SQLite's notion of the processor byte order and whether the byte order is known at compile-time or determined at run-time. file: [0a8cfb6b] check-in: [9c696196] user: drh branch: trunk, size: 111128
2014-04-03
16:25
Fix an integer overflow problem in the sorter. file: [fcceb01d] check-in: [9d3351b8] user: dan branch: threads, size: 111035
2014-03-31
19:57
Add the SQLITE_MAX_WORKER_THREADS compile time option. And the SQLITE_CONFIG_WORKER_THREADS sqlite3_config() switch. file: [d3655832] check-in: [2774710d] user: dan branch: threads, size: 110781
2014-03-26
19:43
Merge in fixes (including the corrupt-database crash fix) and performance enhancements from trunk. file: [81453a96] check-in: [fc8ca1a8] user: drh branch: sessions, size: 111253
2014-03-12
19:38
Fix an obscure bug causing sqlite3_close() to fail if there are virtual tables on the disconnect list when it is called. file: [691b2575] check-in: [6504aa47] user: dan branch: trunk, size: 110568
2014-03-04
14:34
Merge the performance enhancements of trunk (and some obscure bug fixes) into the sessions branch. file: [d247f4de] check-in: [7f51ad97] user: drh branch: sessions, size: 111224
2014-02-17
22:40
Add logic to do test coverage measurements on the VDBE code. file: [e054917b] check-in: [ce184c7b] user: drh branch: insert-optimization, size: 110539
2014-01-28
18:06
Bring in the latest updates from trunk. file: [e9c6feb9] check-in: [7b5f3773] user: drh branch: sessions, size: 110755
17:49
Minor bugfix in main.c so that the library builds with SQLITE_OMIT_WSD defined. file: [07225af6] check-in: [5e3b9ecc] user: dan branch: trunk, size: 110070
2014-01-24
14:05
Bring in all the latest trunk changes, including the Common Table Expressions implementation. file: [deaeda63] check-in: [9b43e559] user: drh branch: sessions, size: 110749
2014-01-21
15:04
Remove the undocumented requirement for applications that use an SQLITE_ENABLE_SQLLOG build to define a sqlite3_init_sqllog() function. file: [4a05a970] check-in: [5e43bf01] user: dan branch: trunk, size: 110064
2014-01-15
00:24
Merge recent fixes from trunk. Cherrypick of [c43b59dac1], [a221aa82bb], [e1eba1fb09], and [1e131094b5]. file: [6d0dfffd] check-in: [c697d2f8] user: mistachkin branch: branch-3.8.2, size: 109894
2014-01-01
14:00
Enhance sqlite3_randomness(N,P) such that it resets the internal PRNG if N is less than 1. Subsequent calls to sqlite3_randomness() will reinitialize the internal PRNG by calling the xRandomness() method of the default VFS. file: [37f55de2] check-in: [a221aa82] user: drh branch: trunk, size: 110178
2013-12-24
12:09
Merge the latest trunk changes into the sessions branch. file: [2c674289] check-in: [cfd110bf] user: drh branch: sessions, size: 110863
2013-12-21
17:07
Avoid compiler warnings by only enabling sqlite3ErrName() when SQLITE_TEST is defined. file: [5307601c] check-in: [862228e5] user: drh branch: trunk, size: 110178
2013-12-19
16:26
Make sure errors encountered while initializing extensions such as FTS4 get reported out from sqlite3_open(). This fixes a bug introduced by check-in [9d347f547e7ba9]. Also remove lots of forgotten "breakpoint" commands left in test scripts over the years. file: [3f00c4ad] check-in: [ca3fdfd4] user: drh branch: trunk, size: 110243
2013-12-14
18:24
Merge in all recent preformance enhancements from trunk. file: [292a67f4] check-in: [32477642] user: drh branch: sessions, size: 110891
13:44
Allow the SQLITE_DETERMINISTIC flag to be ORed into the preferred text encoding of application-defined functions, to mark the function as deterministic. file: [45e08d8c] check-in: [5716fc23] user: drh branch: trunk, size: 110206
2013-12-13
16:23
Simplication and optimization of error message handling. file: [fafd3cd2] check-in: [9d347f54] user: drh branch: trunk, size: 109942
2013-12-10
19:49
Simplify and improve the performance of the sqlite3VdbeMemGrow() routine. file: [a79c8ca0] check-in: [48ecf187] user: drh branch: trunk, size: 110007
2013-12-06
19:58
Add the SQLITE_READONLY_DBMOVED error code to the sqlite3ErrName() function. file: [355fc9ab] check-in: [7789f801] user: mistachkin branch: detect-moved-db, size: 109975
2013-12-02
21:58
Merge all recent 3.8.2 beta changes from trunk. file: [f432ac8a] check-in: [67c34ccf] user: drh branch: sessions, size: 110579
2013-11-29
15:06
Add a new sqlite3_test_control() that indicates that database files are always well-formed. Use this during testing to enable assert() statements that prove conditions that are always true for well-formed databases. file: [74bdee8f] check-in: [15e4f63d] user: drh branch: trunk, size: 109894
2013-11-26
18:00
Merge in performance enhancements from trunk. file: [ce3f0087] check-in: [fc9ae839] user: drh branch: sessions, size: 109999
2013-11-25
21:49
Clarify docs for the SQLITE_CONFIG_WIN32_HEAPSIZE option. file: [441a2e10] check-in: [51e87607] user: mistachkin branch: winHeapSize, size: 109314
2013-11-23
00:27
Add experimental sqlite3_config option to control the native Win32 heap size. file: [68e5b72c] check-in: [f09f11e9] user: mistachkin branch: winHeapSize, size: 109309
2013-11-11
22:55
Merge in the WITHOUT ROWID changes. A few tests are failing now. They will be fixed in a follow-on check-in. file: [d802034d] check-in: [5addd123] user: drh branch: sessions, size: 109830
2013-11-07
14:09
Make sure cached KeyInfo objects are only valid for a single database connection. Clear all cached KeyInfo objects on any collating sequence change. file: [32bf1e6e] check-in: [55eea178] user: drh branch: omit-rowid, size: 109145
2013-11-05
13:33
Standardize the error messages generated by constraint failures to a format of "$TYPE constraint failed: $DETAIL". This involves many changes to the expected output of test cases. file: [9bcfc400] check-in: [54b22192] user: drh branch: omit-rowid, size: 108208
2013-10-10
20:13
Synchronize with the trunk. file: [0cc0574e] check-in: [136445ba] user: drh branch: sessions, size: 108812
2013-09-06
13:10
Combine the FuncDef.iPrefEnc and FuncDef.flags fields into a single new FuncDef.funcFlags field. file: [35931467] check-in: [97b10e66] user: drh branch: trunk, size: 108127
2013-09-03
14:49
Merge in all the latest trunk changes, including the win32-longpath VFS and the fix for the segfault in the omit-left-join optimization. file: [97cc7970] check-in: [cdd3838b] user: drh branch: sessions, size: 108764
2013-08-30
21:52
Add support for Cygwin when handling temporary file names. Improve error codes and diagnostic messages for temporary file name handling on Windows. Rename winConvertUtf8Filename to winConvertFromUtf8Filename. Improve placement and comments for forward function declarations. file: [c4c781b0] check-in: [a411df72] user: mistachkin branch: cygwinTempPath, size: 108079
2013-08-19
12:49
Merge in all the latest updates and enhancements from trunk. file: [525985af] check-in: [67587a33] user: drh branch: sessions, size: 108602
2013-08-16
20:42
Add the cache_spill pragma. file: [dc02c7c1] check-in: [cdb181c0] user: drh branch: cache_spill, size: 107917
2013-08-13
22:33
Fix an outdated comment and a comment typo. No changes to code. file: [4e4cd5c2] check-in: [ac336959] user: mistachkin branch: trunk, size: 107897
2013-08-08
14:38
If the SQLITE_EXTRA_INIT function is defined, make sure it is called only once by the effective sqlite3_initialize() call. file: [f6eb795f] check-in: [e2b597ca] user: drh branch: trunk, size: 107890
2013-08-07
23:15
If the SQLITE_ALLOW_URI_AUTHORITY compile-time option is set, then allow non-localhost authorities on URI filenames and pass them through as a UNC to the underlying VFS. file: [482135b0] check-in: [3adb6c1b] user: drh branch: trunk, size: 107750
18:07
Merge in the latest changes from trunk. file: [0548b69c] check-in: [c78b0d30] user: drh branch: uri-enhancement, size: 108415
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: [e3ce4cb4] check-in: [7e1acb39] user: drh branch: sessions, size: 108407
2013-07-31
22:27
Use a new error code to represent a failure to get the configured temporary directory on Windows. file: [b2592b41] check-in: [c93d891b] user: mistachkin branch: trunk, size: 107722
2013-07-25
16:41
Fix a typo in main.c: SQLITE_DEAULT_AUTOMATIC_INDEX -> SQLITE_DEFAULT_AUTOMATIC_INDEX file: [9286e1f5] check-in: [cc78e21c] user: dan branch: trunk, size: 107641
2013-07-24
14:54
Another attempt at generalizing the URI parsing so that it works with a wider variety of file URIs and yet remains backwards compatible. file: [a7efdff1] check-in: [de05eb75] user: drh branch: uri-enhancement, size: 108333
2013-07-23
22:28
Get the new URI logic working for Windows. file: [ac440b6d] check-in: [0165789f] user: drh branch: uri-enhancement, size: 108153
20:54
Update the URI filename parser to allow (and ignore) authority names in unix and to pass the authority through to the OS on windows, as this appears to be what web-browsers are doing. file: [746b5f09] check-in: [74c12dee] user: drh branch: uri-enhancement, size: 108128
2013-07-11
15:31
Merge recent trunk changes (such as the query_only PRAGMA, the defer_foreign_keys PRAGMA, and the SQLITE_DBSTATUS_DEFERRED_FKS parameter to sqlite3_db_status()) into the sessions branch. file: [e974ea9d] check-in: [8dfc0b78] user: drh branch: sessions, size: 108325
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: [e5810b2d] check-in: [527121ac] user: drh branch: trunk, size: 107640
12:19
Rename the SQLITE_DeferForeignKeys macro to shorter SQLITE_DeferFKs. Move the "defer_foreign_keys" pragma into the flagPragma() routine. file: [93407bb5] check-in: [3a2ab74c] user: drh branch: sessions, size: 108315
2013-07-10
18:14
Fix harmless compiler warnings in the progress callback logic. file: [97b8ebba] check-in: [908141d5] user: drh branch: trunk, size: 107579
2013-07-09
13:05
Pull in all the latest changes from trunk. file: [a2756023] check-in: [af3ca4c6] user: drh branch: sessions, size: 108323
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: [89398653] check-in: [1d44e5d3] user: dan branch: sessions, size: 108063
2013-06-28
23:55
Issue the new SQLITE_WARNING_AUTOINDEX warning on the SQLite log whenever an automatic index is created. file: [a1f4bb79] check-in: [338826ef] user: drh branch: trunk, size: 107569
21:12
Add the SQLITE_DEFAULT_AUTOMATIC_INDEX compile-time option, which if set to zero turns automatic indices off by default. Increase the estimated cost of an automatic index. Additional minor refactoring of the automatic index code. file: [648aea1f] check-in: [459b3179] user: drh branch: trunk, size: 107488
2013-06-27
23:54
Refactor names of fields in the sqlite3 object: "activeVdbeCnt" becomes "nVdbeActive". Related fields becomes "nVdbeRead", "nVdbeWrite", and "nVdbeExec". file: [fd167de5] check-in: [14f79696] user: drh branch: trunk, size: 107386
11:46
Add extended error code SQLITE_BUSY_SNAPSHOT - returned in WAL mode when a read-transaction cannot be upgraded to a write-transaction because it is reading from a snapshot other than the most recently committed. file: [b2d6a805] check-in: [361c2296] user: dan branch: trunk, size: 107390
2013-06-26
13:31
Bring the sessions branch up-to-date with all the latest trunk changes. file: [55347b37] check-in: [086a1272] user: drh branch: sessions, size: 107994
2013-05-28
17:30
Finish removing the sqlite3.inTrans field. In the previous check-in, it was merely commented out because I failed to select File->Save on my text editor. file: [f33742ab] check-in: [2f97e38a] user: drh branch: trunk, size: 107309
17:25
Remove the obsolete and unused sqlite3.inTrans field. file: [cc952f32] check-in: [c3381cd4] user: drh branch: trunk, size: 107341
12:11
Many small harmless comment changes. Removal of obsolete comments and fixing misspelled words. No changes to code. file: [fa682718] check-in: [a0d5cc93] user: drh branch: trunk, size: 107339
2013-05-17
10:58
Update the sessions branch to the latest 3.7.17 beta. file: [457e5db7] check-in: [af8057ef] user: drh branch: sessions, size: 108095
2013-05-16
11:57
In sqlite3_close_v2(), do not attempt to roll back a transaction if there exist active statement objects. Any open transaction will be rolled back when the last of these statement objects is finalized. file: [c6419ef5] check-in: [d11e7607] user: dan branch: trunk, size: 107410
2013-05-15
18:45
Update the sessions branch with the latest trunk changes. file: [393460ee] check-in: [d0935505] user: drh branch: sessions, size: 107697
10:21
When closing a connection, avoid tripping active cursors belonging to a different shared-cache client. Also, if sqlite3_close() is called while there are still active statements belonging to the connection, return SQLITE_BUSY and do not roll back any active transaction. Proposed fix for ticket [e636a050b709]. file: [ccbac976] check-in: [6071b7cc] user: dan branch: shared-cache-fixes, size: 107012
2013-05-13
18:23
Candidate fixes for problems revealed by notify2.test. Notify2.test is still failing at this point. file: [2ef7316b] check-in: [ea0428f9] user: dan branch: shared-cache-fixes, size: 106703
2013-05-09
23:40
Merge trunk changes into the sessions branch. file: [dca921cb] check-in: [512f8a1e] user: drh branch: sessions, size: 107319
2013-04-30
07:54
Define the sqlite3ErrName() function only when necessary. More robust handling of unknown return codes. file: [7531758e] check-in: [e47cd314] user: mistachkin branch: winOsTrace, size: 106634
2013-04-29
03:09
More refinements to Windows OSTRACE usage. Replace all usage of sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. file: [64c76b9a] check-in: [05ba5e23] user: mistachkin branch: winOsTrace, size: 106429
2013-04-28
01:44
Initial work on reforming usage of OSTRACE by the Windows VFS. file: [d89118ab] check-in: [b347b5d1] user: mistachkin branch: winOsTrace, size: 105090
2013-04-22
23:59
Merge the latest trunk changes into the sessions branch. file: [f93769cf] check-in: [6994826c] user: drh branch: sessions, size: 100390
2013-04-15
17:03
Refactoring the mmap interface. The controlling pragma is now "mmap_size" instead of "mmap_limit". Also change SQLITE_CONFIG_MMAP_LIMIT and SQLITE_FCNTL_MMAP_LIMIT to SQLITE_CONFIG_MMAP_SIZE and SQLITE_FCNTL_MMAP_SIZE, respecctively. The default mmap_size is now always 0, meaning that memory mapped I/O is off by default. There is a new compile-time option SQLITE_MAX_MMAP_SIZE that determines a hard upper bound on the mmap_size. Setting SQLITE_MAX_MMAP_SIZE to zero disables the memory-mapped I/O logic and causes it to be omitted from the build. An extra argument is added to SQLITE_CONFIG_MMAP_SIZE that can optionally lower the SQLITE_MAX_MMAP_SIZE at start-time. The SQLITE_MAX_MMAP_SIZE is zero for platforms where we know that it does not work, meaning that it cannot be turned on by mistake on those platforms. file: [de47c3e6] check-in: [ea1404a1] user: drh branch: trunk, size: 99705
2013-04-01
22:38
Add the SQLITE_CONFIG_MMAP_LIMIT configuration option for overriding the SQLITE_DEFAULT_MMAP_LIMIT compile-time setting. Enhance "PRAGMA mmap_limit" so that without a specific database name, it sets the limit on all database files and changes the default for any future databases that might be added using ATTACH. file: [54a84185] check-in: [78141d0a] user: drh branch: experimental-mmap, size: 99466
2013-03-28
01:19
Merge the changes for the 3.7.16.1 release candidate into the sessions branch. file: [557e456f] check-in: [ee35a897] user: drh branch: sessions, size: 99895
2013-03-21
21:20
Many spelling fixes in comments. No changes to code. file: [379160ec] check-in: [6f6e2d50] user: mistachkin branch: trunk, size: 99210
2013-03-06
02:12
Merge all the latest trunk changes into the sessions branch. file: [40097dfb] check-in: [d69d2190] user: drh branch: sessions, size: 99894
2013-02-19
18:34
Do not rollback the schema if a parsing error occurs while parsing the schema and writable_schema is set. file: [8d204866] check-in: [680d3ab5] user: drh branch: trunk, size: 99209
2012-12-08
06:46
Merge updates from trunk. file: [b24c1a6a] check-in: [e65db42c] user: mistachkin branch: configReadOnly, size: 100579
2012-11-27
21:56
Update the sessions branch to include the SQLLOG enhancement, the SQLITE_IOERR_DELETE_NOENT fix, and a fix for the number-of-documents bug in FTS4. file: [e8e33e61] check-in: [ba8d08b6] user: drh branch: sessions, size: 99869
10:56
Fix problems in test_sqllog.c. Clarify the experimental SQLITE_CONFIG_SQLLOG interface. Handle at least the more likely error conditions in test_sqllog.c. file: [448564ee] check-in: [429c5b20] user: dan branch: sqllog, size: 99184
2012-11-26
19:50
Add an option to register global hooks used for logging all SQL executed by an application. file: [c0b8cfbe] check-in: [cd501bbc] user: dan branch: sqllog, size: 99040
2012-10-09
14:58
Merge the latest trunk changes, especially the ORDER BY optimizer enhancements but also other fixes, onto the sessions branch. file: [5cee8048] check-in: [f1fbb8c5] user: drh branch: sessions, size: 99008
2012-10-03
20:25
Merge updates from trunk. file: [8636ce7c] check-in: [1138815c] user: mistachkin branch: configReadOnly, size: 99718
20:20
Add experimental sqlite3_reconfig() interface to more fully support the SQLITE_CONFIG_READONLY option. file: [e538e0d9] check-in: [9dc2eaa6] user: mistachkin branch: configReadOnly, size: 99744
2012-10-01
20:12
Fix several compiler warnings seen with MSVC. file: [ca678445] check-in: [8b5f617c] user: mistachkin branch: msvcWarnings, size: 98323
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: [febaf66b] check-in: [6ca8eae1] user: drh branch: sessions, size: 99011
10:57
Merge the latest trunk changes (PRAGMA busy_timeout and the ORDER BY query planner enhancements) into the apple-osx branch. file: [6fb68d1b] check-in: [6a5c59dd] user: drh branch: apple-osx, size: 103058
00:44
Query planner enhancements to be more agressive about optimizing out ORDER BY clauses - in particular the query planner now has the ability to omit ORDER BY clauses that span multiple tables in a join. file: [52494860] check-in: [1e874629] user: drh branch: trunk, size: 98326
2012-09-27
15:05
Add more bits to the bit vector that is used to disable optimizations for built-in test. Add specific bit patterns to disable ORDER BY using an index in general and for joins. Use macros to test for bits in the disabled-optimization bit vector, in order to make the code clearer. file: [c5fec981] check-in: [d2fcba1e] user: drh branch: qp-enhancements, size: 98303
12:11
Merge the "PRAGMA busy_timeout" change into trunk. file: [46c15877] check-in: [1a679a1e] user: drh branch: trunk, size: 98372
2012-09-25
12:45
Merge updates from trunk. file: [aa1b70eb] check-in: [4a470741] user: mistachkin branch: configReadOnly, size: 98823
2012-09-17
20:44
Add the ability to disable the covering-index-scan optimization at compile-time, start-time, or at run-time. Add test cases to check this configurability. file: [97d13e74] check-in: [ccb8ecc3] user: drh branch: fullscan-covering-index, size: 98349
2012-09-13
14:22
Change boolean fields in the Column object from unsigned characters into bits in a single bit mask variable. file: [3977ac9c] check-in: [4163f5f1] user: drh branch: trunk, size: 98230
2012-09-11
02:00
Added sqlite3_errstr API to translate a result code to the corresponding error message. file: [259472ec] check-in: [bf8a9ca5] user: mistachkin branch: trunk, size: 98211
2012-09-10
10:29
Initial prototype of SQLITE_CONFIG_READONLY. file: [9600da7d] check-in: [7c340165] user: mistachkin branch: configReadOnly, size: 98460
2012-09-07
18:49
Have PRAGMA busy_timeout return 0 if the busy handler has been changed or cancelled. file: [0b321fc8] check-in: [7be5bc36] user: drh branch: busy-timeout-pragma, size: 98009
16:46
Add an experimental busy_timeout pragma to facilitate access to the sqlite3_busy_timeout() interfaces for programmers that are working from behind a language wrapper that does not expose that interface. file: [31af732a] check-in: [22ebc668] user: drh branch: busy-timeout-pragma, size: 98011
2012-08-31
14:10
Merge in latest trunk changes. file: [f076eae7] check-in: [bc9b9cd0] user: dan branch: apple-osx, size: 102718
2012-08-25
01:38
Merge all the latest trunk changes into the apple-osx branch. file: [f528c070] check-in: [6723add4] user: drh branch: apple-osx, size: 102742
2012-08-15
16:21
Merge all the latest trunk changes into the sessions branch. file: [1f15146d] check-in: [fc07a479] user: drh branch: sessions, size: 98671
2012-07-18
16:07
Remove another branch from the DbMalloc() paths. file: [6241183d] check-in: [defd828e] user: dan branch: calloc, size: 98934
2012-07-17
19:32
Enhance the custom memory allocation interface to allow the user to specify a calloc() function. file: [0ce67958] check-in: [8752237d] user: dan branch: calloc, size: 98912
2012-06-21
15:51
Add the sqlite3_close_v2() interface (from the deferred-close branch) that allows close operations to happen out-of-order in bindings to garbage-collected langauges. file: [02255cf1] check-in: [fb8893ab] user: drh branch: trunk, size: 97986
2012-06-15
20:42
Fix compiler warning. file: [aacb100c] check-in: [37d9bc06] user: mistachkin branch: deferred-close, size: 96331
2012-06-08
01:13
Merge trunk changes into the apple-osx branch. file: [0d708b93] check-in: [9d1b8515] user: drh branch: apple-osx, size: 100893
2012-06-07
23:58
Merge all trunk changes, including the WinRT enhancements, into the sessions branch. file: [629ec472] check-in: [c6214039] user: drh branch: sessions, size: 96822
17:16
Fix a problem preventing a shared in-memory database from being attached to a read-only connection. file: [07e05ba3] check-in: [7caca193] user: dan branch: trunk, size: 96137
2012-06-06
23:23
Merge the changes need to compile on WinRT into trunk. file: [81e75dd5] check-in: [61360ca6] user: drh branch: trunk, size: 96226
2012-06-05
19:20
Merge the latest trunk changes into shared-schema branch. Also fix a C99-ism in that branch. file: [41bfe7e1] check-in: [42338e9e] user: drh branch: shared-schema, size: 95348
2012-06-02
17:09
Revert sqlite3_close() to legacy behavior. Create a new sqlite3_close_v2() interface that exhibits the deferred-close behavior. This minimizes the chance of breakage in legacy apps. file: [4f47dad0] check-in: [c4b86211] user: drh branch: deferred-close, size: 96351
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: [7ccc7d2d] check-in: [e276a02b] user: drh branch: deferred-close, size: 95177
2012-05-28
18:22
Merge the unicode61 tokenizer and the shared-cache-memory database changes into the sessions branch. file: [bc2d30cc] check-in: [df817e70] user: drh branch: sessions, size: 95167
13:58
Add the mode=memory option to URI filenames, which when present forces the database to be an in-memory database. This enables named in-memory databases. file: [fdd95737] check-in: [651520fa] user: drh branch: trunk, size: 94482
2012-05-26
20:08
Only allow :memory: databases to share cache if there are created using a URI filename. This minimizes the risk of breakages in legacy applications that have shared-cache enabled but also use :memory: databases which they expect to keep separate. file: [a2cfba18] check-in: [e3ad61e0] user: drh branch: shared-cache-memdb, size: 94279
2012-05-16
22:08
Improve error reporting from sqlite3_file_control, SQLITE_FCNTL_REPLACE_DATABASE shouldn't copy file security/ACL metadata, bad bit mask fixed file: [9c3003dc] check-in: [92e7bb90] user: adam branch: apple-osx, size: 99004
01:24
Avoid using sqlite3ResetAllSchemasOfConnection() purely for its side-effects. file: [48f47554] check-in: [5587c73b] user: drh branch: shared-schema, size: 95114
2012-05-15
18:28
The former sqlite3ResetInternalSchema() routine was really two different routines, selected by parameter, each with a confused mission. So split this routine up into three separate smaller routines, calling each separately as needed. Hopefully this will make further refactoring and schema reset collateral damage containment easier. file: [28804c01] check-in: [aa0c3493] user: drh branch: shared-schema, size: 95013
17:15
When a connection disconnects from a shared-cache database, only delete the in-memory schema if there are no other connections. file: [62146c65] check-in: [46f4eb54] user: dan branch: shared-schema, size: 95005
2012-05-09
22:36
Added support for SQLITE_ENABLE_PERSIST_WAL compile time macro, retrieving lastErrno from WAL file and setting last errno when writes fail due to space constraints file: [75cdf597] check-in: [65479294] user: adam branch: apple-osx, size: 98963
2012-04-02
23:35
Merge in latest changes, autologging options, read only file system wal support, test config conditionalization, WAL frame write prebuffering file: [2ba24071] check-in: [d51c086e] user: adam branch: apple-osx, size: 98695
2012-03-19
23:32
Merge updates from trunk. file: [57b7ebf6] check-in: [4ab1ffd4] user: mistachkin branch: winrt, size: 95126
16:21
Merge latest trunk changes into apple-osx branch. file: [d61d7eac] check-in: [f999197b] user: dan branch: apple-osx, size: 95972
11:17
Merge the latest trunk changes into the sessions branch. file: [acab639c] check-in: [2277c70b] user: dan branch: sessions, size: 94933
2012-03-18
01:32
Add SQLITE_OMIT_SHUTDOWN_DIRECTORIES compile-time option to disable clearing the sqlite3_data_directory and sqlite3_temp_directory variables during sqlite3_shutdown. Also, only clear the variables if the heap was actually shutdown. file: [fbb34508] check-in: [1ae9f9e4] user: mistachkin branch: winrt, size: 94784
2012-03-16
10:28
Reset the sqlite3_data_directory and sqlite3_temp_directory variables when the sqlite3_shutdown function is called since they may refer to memory allocated by the heap subsystem that was just shutdown. file: [d5ee3f6b] check-in: [cd70bc4b] user: mistachkin branch: winrt, size: 94601
2012-03-15
21:28
Add the sqlite3_db_readonly() interface. This is still tentative, pending a closer look at other ideas to accomplish the same thing. file: [91458c71] check-in: [254f99ea] user: drh branch: db-readonly-api, size: 94248
2012-03-14
00:44
Add experimental support for resolving relative database file paths using a fixed user-defined directory. file: [5808bc6e] check-in: [7354ae8f] user: mistachkin branch: winrt, size: 94201
2012-03-05
16:39
Pull in all the latest trunk changes. file: [204833e0] check-in: [504bf490] user: drh branch: apple-osx, size: 95630
16:26
Merge in the latest trunk changes. file: [18ef52fe] check-in: [ff86875c] user: drh branch: sessions, size: 94591
2012-03-01
21:30
Fix a typo in the header comment of sqlite3_commit_hook(). file: [dcb4a152] check-in: [3784d147] user: drh branch: trunk, size: 93906
2012-02-13
17:01
Add the new SQLITE_ABORT_ROLLBACK extended error code to be returned for statements that are cancelled due to a rollback. file: [e936269f] check-in: [549f4fd0] user: drh branch: nonblocking-rollback, size: 93929
16:43
Change the ROLLBACK command so that pending statements to not block it. The pending statements instead return SQLITE_ABORT upon next access. Note: This causes separate shared-cache connections in read_uncommitted mode to abort as well. file: [4aa7f199] check-in: [9b66c79e] user: drh branch: nonblocking-rollback, size: 93772
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: [b94f3784] check-in: [922bcbb4] user: drh branch: generalize-interrupt, size: 93582
2012-02-10
18:18
Pull the latest trunk changes into the apple-osx branch. file: [fa92ea3c] check-in: [e2485986] user: drh branch: apple-osx, size: 95271
17:54
Pull all the latest trunk changes into the sessions branch. file: [166f9571] check-in: [361fb66a] user: drh branch: sessions, size: 94232
2012-01-31
14:24
Futher pedantic fixes to the sqlite3_uri_boolean() interface. file: [cb099cc4] check-in: [77b3430d] user: drh branch: trunk, size: 93547
2012-01-05
13:02
Merge all of the latest trunk changes into the sessions branch. file: [11e7d9ea] check-in: [a9bcb432] user: drh branch: sessions, size: 94210
2012-01-03
21:54
Pull all the latest trunk changes over into the apple-osx branch. file: [69330c9f] check-in: [8a048423] user: drh branch: apple-osx, size: 95249
2012-01-02
15:45
Make sure large negative arguments to PRAGMA cache_size do not cause 32-bit signed integer overflow. Also correct a requirements mark. file: [e60abee4] check-in: [17c30634] user: drh branch: trunk, size: 93525
2011-12-31
21:51
Fix typos in comments. No changes to code. file: [bcf8cd30] check-in: [6827338e] user: drh branch: trunk, size: 93525
2011-12-30
11:43
Hold the database handle mutex for the duration of sqlite3_db_release_memory(). file: [34646375] check-in: [eeaf2988] user: dan branch: trunk, size: 93520
2011-12-23
00:07
Add interfaces sqlite3_uri_boolean() and sqlite3_uri_int64() which are wrappers around sqlite3_uri_parameter() combined with internal routines for converting strings to booleans and 64-bit integers. file: [e2e3fb34] check-in: [83d26b9a] user: drh branch: trunk, size: 93452
2011-12-21
14:42
Add the ability to enable or disable SQLITE_IOCAP_ZERO_DAMAGE using a URI parameter for both unix and windows. Add a file-control to query or disable the ZERO_DAMAGE setting. Add the -uri option to the "sqlite3" TCL command in tclsqlite3.c. Allow the sqlite3_uri_parameter() interface to accept a NULL pointer for its first parameter. file: [7f960366] check-in: [c83627b7] user: drh branch: statvfs, size: 92731
2011-12-14
18:33
Merge the nx-devkit changes into trunk. This includes the new SQLITE_FCNTL_VFSNAME file-control. file: [c837e241] check-in: [da118e02] user: drh branch: trunk, size: 92700
2011-12-13
18:22
Change the SQLITE_EXTRA_INIT routine to take a single argument which is a pointer to a string. Call SQLITE_EXTRA_INIT with a NULL argument. Fixes to multiplexor to treat the VFS properly in corner cases. Fix the initialization of multiplex3.test. file: [e7e69853] check-in: [8e65b913] user: drh branch: nx-devkit, size: 92388
15:37
Merge the nx-devkit changes into trunk. file: [b4c74ff2] check-in: [03a70c3d] user: drh branch: trunk, size: 92692
04:08
When an sqlite3_auto_extension() function fails, report back its actual error code, not the generic SQLITE_ERROR. file: [8fc06b5a] check-in: [ce55f250] user: drh branch: nx-devkit, size: 92380
01:34
Add a compile-time shutdown procedure to be called by sqlite3_shutdown() to undo the effects of the compile-time initialization procedure. file: [f6abb5b6] check-in: [c2ed86f5] user: drh branch: nx-devkit, size: 92315
2011-12-10
15:55
Import the experimental parse-tree explainer, with fixes, from the tree-explain branch. Disabled by default. Use SQLITE_ENABLE_TREE_EXPLAIN to turn it on. file: [e10d5ad2] check-in: [bcbc7152] user: drh branch: trunk, size: 92524
2011-12-08
21:08
Merge the latest trunk changes into the apple-osx branch. file: [4e8b2436] check-in: [59e0d4f3] user: drh branch: apple-osx, size: 93653
2011-12-06
19:44
Begin adding the data-structure explaining subsystem. All is contained within file: [0e0b9dd5] check-in: [79ae51c5] user: drh branch: tree-explain, size: 92463
2011-11-29
14:46
Removed the unused "type" field from the CollSeq (collating sequence) object. file: [8be1ee70] check-in: [ab89b047] user: drh branch: trunk, size: 91929
2011-11-17
00:56
Add the sqlite3_db_filename() interface. file: [55cbc404] check-in: [93a94798] user: drh branch: trunk, size: 92212
2011-11-16
19:29
Add the sqlite3_db_release_memory() interface and the shrink_memory pragma. file: [3acbdf6f] check-in: [3f58e7c8] user: drh branch: trunk, size: 91868
2011-11-10
02:39
Follow-on to the previous check-in to prevent a division by zero if the lookahead slot size is something goofy like 6 on a 32-bit machine. file: [87dd4f6e] check-in: [6bda711f] user: drh branch: experimental-pcache, size: 91489
02:24
Use sqlite3MallocSize() to get the actual size of the memory allocation used for lookaside cache and increase the size of the cache to use the full allocation. file: [666a78ff] check-in: [0e53ecad] user: drh branch: experimental-pcache, size: 91523
2011-11-09
16:12
Minor changes needed to restore full branch test coverage. file: [8d75abfb] check-in: [bc10a753] user: drh branch: experimental-pcache, size: 91470
2011-11-08
20:08
Experimental change to the pcache interface to allow page buffers to be allocated separately from their associated container structures. file: [93d49bc6] check-in: [c275c9d3] user: dan branch: experimental-pcache, size: 91671
2011-10-21
17:18
Merge the latest trunk changes into the apple-osx branch. file: [d2a08798] check-in: [be62ef05] user: drh branch: apple-osx, size: 93213
17:08
Merge the latest trunk enhancements into the sessions branch. file: [61e6886a] check-in: [8baef581] user: drh branch: sessions, size: 92174
2011-10-15
00:16
Added the tool/warnings-clang.sh script. Changes so that there are no warnings with either gcc or clang even including FTS4 and RTREE and both with and without SQLITE_THREADSAFE=0. file: [df06f522] check-in: [39408702] user: drh branch: trunk, size: 91489
2011-10-14
21:49
Add assert() statements and eliminate needless variable assignments in order to get the clang scan-build utility to report zero problems against the SQLite core. Clang's static analysis did find one real problem - but it was in the command-line shell, not in the SQLite core. file: [82863f47] check-in: [60fee957] user: drh branch: trunk, size: 91474
2011-10-12
23:49
The sqlite3_overload_function() interface returns an error if it is unable to create the overload function. Ticket [20f9d4fbbff3a3] file: [ae03daa1] check-in: [d5b6b374] user: drh branch: trunk, size: 91435
2011-10-10
23:53
Forward port the Apple-specific changes from [db5b7b778c] in the apple-osx-377 branch. Fix this up so that it will compile and run on Linux. file: [4aabaa8d] check-in: [6cb43f6c] user: drh branch: apple-osx, size: 93144
22:11
Merging in cherry picked diffs for persist wal, alloc padding, wal-safe vacuum and sqlite3_file_control based lockstate checking file: [f3d35af7] check-in: [db5b7b77] user: adam branch: apple-osx-377, size: 92890
2011-08-26
19:20
Merge the latest trunk changes into the sessions branch. file: [13b9a1d3] check-in: [eb036d6f] user: drh branch: sessions, size: 92105
19:18
Merge the latest trunk changes into the apple-osx branch. file: [242eaa58] check-in: [55af8003] user: drh branch: apple-osx, size: 96591
2011-08-25
00:14
Add the SQLITE_EXTRA_INIT macro. file: [43664b68] check-in: [a3220f36] user: drh branch: trunk, size: 91420
2011-06-24
20:47
Merging local changes to apple-osx file: [a5414c66] check-in: [34f0efa2] user: adam branch: apple-osx, size: 96337
2011-06-22
12:01
Update sessions branch with latest trunk changes. file: [8a386605] check-in: [48d5cab3] user: dan branch: sessions, size: 91851
11:24
Update apple-osx branch with the latest trunk changes. file: [fbe239ee] check-in: [fb7ad09d] user: dan branch: apple-osx, size: 91763
2011-06-21
15:15
Backport the localtime() failure fix of ticket [bd484a090c8077] to the 3.7.6 branch. file: [a3a968b6] check-in: [5d4b0c5b] user: drh branch: branch-3.7.6, size: 81848
12:47
Return an error if localtime_r() fails within one of the date/time functions. Fix for [bd484a090c]. file: [fa654e18] check-in: [76ae8257] user: dan branch: trunk, size: 91166
2011-06-20
11:57
Merge the latest trunk changes into the apple-osx branch. file: [42f2493a] check-in: [4c69e827] user: drh branch: apple-osx, size: 91373
10:44
Merge the latest trunk changes into the sessions branch. file: [f7e8176e] check-in: [4c5e276c] user: drh branch: sessions, size: 91461
2011-06-03
14:19
Hush some harmless compiler warnings in the URI parsing logic. file: [d67ea489] check-in: [0206bc6f] user: drh branch: trunk, size: 90776
2011-05-31
17:08
Merge the latest trunk changes into the wal-readonly branch. file: [4e55ff48] check-in: [2c6b5a28] user: drh branch: wal-readonly, size: 91402
2011-05-19
02:48
Merge all the latest trunk changes into the sessions branch, especially the disappearing WAL transaction fix. file: [8206d797] check-in: [5b1b536c] user: drh branch: sessions, size: 91449
02:34
Bring the apple-wal-readonly branch up to date with the latest changes in apple-osx, and especially the fix for disappearing WAL transactions. file: [6dc61e8b] check-in: [57912327] user: drh branch: apple-wal-readonly, size: 91999
01:51
Pull all the latest trunk changes, and especially the fix for WAL cache spills causing transactions to disappear, into the apple-osx branch. file: [1b6edc1d] check-in: [8d1a6bb0] user: drh branch: apple-osx, size: 91361
2011-05-17
19:43
Fix an off-by-one error in the new sqlite3_uri_parameter() function. file: [059daeed] check-in: [9593a640] user: drh branch: trunk, size: 90764
18:53
Add the sqlite3_uri_parameter() interface function for use in building new VFSes. file: [d189df8e] check-in: [6b5de95f] user: drh branch: trunk, size: 90752
2011-05-12
15:32
Pull in the patches to support read-only WAL databases into a new branch off of the apple-osx branch. This also pulls in all the other pending 3.7.7 changes such as URI support. file: [f50e8d60] check-in: [97b98010] user: drh branch: apple-wal-readonly, size: 91116
2011-05-11
17:36
Add missing comments associated with readonly shm changes. file: [a145cea1] check-in: [6a2ea52e] user: dan branch: wal-readonly, size: 90519
15:53
Merge latest trunk changes. Add a couple of readonly shm tests. file: [951a1af4] check-in: [cde45a03] user: dan branch: wal-readonly, size: 90242
14:57
Only open a read-only connection to shared-memory if the "readonly_shm=1" option is specified as part of the database file URI (and if a read-write connection fails). file: [167fb328] check-in: [671ba5fc] user: dan branch: wal-readonly, size: 90242
2011-05-10
18:39
Have flags passed to sqlite3_open_v2() apply to the main and any attached databases. And change things so that any "mode=xxx" or "cache=xxx" options specified as part of a URI for the main database do not also apply to attached databases. file: [e32d7a44] check-in: [3e490915] user: dan branch: trunk, size: 89881
2011-05-09
19:20
Return a suitable error message if the mode= argument to a URI specifies a higher mode than what is allowed by context. Other minor cleanups for the URI parsing logic. file: [f00cee5a] check-in: [d9bc1c7f] user: drh branch: trunk, size: 89881
2011-05-07
18:40
Set the sqlite3.mallocFailed flag if sqlite3ParseUri fails with SQLITE_NOMEM. file: [c914afd2] check-in: [ca3797d4] user: drh branch: trunk, size: 89791
18:18
Return SQLITE_MISUSE from the sqlite3_open_v2() function if the 3rd parameter is not a valid set of bit-values. file: [9c9cfeb1] check-in: [3c926ce0] user: drh branch: trunk, size: 89742
14:40
Fix minor compiler warnings. file: [35bce9d0] check-in: [139eecbe] user: drh branch: trunk, size: 89735
2011-05-06
18:53
Remove some unnecessary modifications from the uri branch. Add a test to show that ATTACH only interprets its argument as a URI if the connection was opened with SQLITE_OPEN_URI (or URI interpretation is globally enabled). file: [2f46bf58] check-in: [aa90b943] user: dan branch: uri, size: 89703
18:34
Update comments and documentation associated with new URI parsing code. Add test file e_uri.test, containing tests mapped to documentation regarding URI filenames. file: [145f04d5] check-in: [92751788] user: dan branch: uri, size: 89733
2011-05-03
15:09
Remove some unused code related to URI parsing. file: [872493d8] check-in: [008cd0ef] user: dan branch: uri, size: 88465
11:53
Allow only "localhost" and "" as authorities in URIs. Do not allow escapes (%HH) in the authority part of a URI. file: [28da02ef] check-in: [b8a0f1b5] user: dan branch: uri, size: 88671
10:22
Change the supported URI options to "mode" and "cache". file: [8e13c02e] check-in: [0a694a0b] user: dan branch: uri, size: 88440
2011-05-01
22:57
Backport check-ins [0900e35348f4b9bf3] and [4fead8e714c7e50] to the 3.7.2 branch. These check-ins provide hints to the btree layer for when it is possible to use a hash table rather than a btree to implement an index. The SQLite BTree layer does not use these hints, but alternative btree layers might. file: [7f159a4c] check-in: [7155e6f3] user: drh branch: branch-3.7.2, size: 72872
2011-04-23
19:06
Test that it is now possible to use different VFSs for two databases attached to a single handle. file: [933d0bcf] check-in: [2af51f85] user: dan branch: uri, size: 87161
15:54
Have the ATTACH command do URI interpretation in the same way as sqlite3_open() and sqlite3_open_v2() do. file: [8b4ebab1] check-in: [68240e75] user: dan branch: uri, size: 87169
10:12
Fix parsing of %00 in uri handling code. file: [cc9f5592] check-in: [44f0874a] user: dan branch: uri, size: 87159
2011-04-22
19:37
Add the start of the "uri-filenames" feature. file: [88a93deb] check-in: [b8a8132e] user: dan branch: uri, size: 86470
2011-04-09
18:13
Pull all the latest trunk changes into the apple-osx branch. file: [3f1e9329] check-in: [4eaef4ad] user: drh branch: apple-osx, size: 82055
18:07
Merge the latest trunk changes into the sessions branch. file: [8b97db74] check-in: [83705e90] user: drh branch: sessions, size: 82143
2011-04-07
01:14
Fix typos in documentation comments. No changes to code. file: [a8571665] check-in: [9c64b5a9] user: drh branch: trunk, size: 81458
2011-04-05
22:13
Merge the latest trunk changes into the sessions branch. file: [37608a83] check-in: [45f20261] user: drh branch: sessions, size: 82143
22:10
Merge the latest trunk changes into the apple-osx branch. file: [7ca36457] check-in: [c77a767c] user: drh branch: apple-osx, size: 82055
22:08
Suppress many harmless compiler warnings, mostly signed/unsigned comparisons within asserts or unused parameters in extensions. file: [5dad8514] check-in: [3eeb0ff7] user: drh branch: trunk, size: 81458
13:38
Pull the latest changes from trunk (and hence from schema-parse-refactor) into the apple-osx branch. file: [3ec86403] check-in: [8e885dde] user: drh branch: apple-osx, size: 82072
13:27
Pull the latest trunk changes (and hence the schema-parse-refactor changes) into the sessions branch. file: [50d70810] check-in: [03ca8342] user: drh branch: sessions, size: 82160
2011-04-04
20:40
Minor comment typo corrections. Simplify an assert. No functional changes. file: [83cb6a9f] check-in: [82c23162] user: drh branch: schema-parse-refactor, size: 81475
13:11
Merge in the latest changes from trunk. file: [edca4ef6] check-in: [6d78a25d] user: drh branch: apple-osx, size: 82018
2011-04-02
16:28
Begin a series of changes designed to reduce the scope and frequency of invalidating schemas. Design goals are that the internal schema should never be deleted out from under a prepared statement that is running and that all prepared statements should be expired if the schema is invalidated. At the same time, minimize the number of schema invalidations. This change merely revises the sqlite3ResetInternalSchema() function to use -1 as the wildcard for "all" rather than 0, so that we can reset the main schema independently of all the others. file: [14c019b3] check-in: [6a8ad6e3] user: drh branch: schema-parse-refactor, size: 81424
2011-03-30
21:04
Add the SQLITE_ENABLE_PREUPDATE_HOOK compile-time option. file: [bed41512] check-in: [66345214] user: drh branch: sessions, size: 82106
2011-03-23
22:54
Fix a signed/unsigned comparison compiler warning. file: [c23c62e5] check-in: [c81da6f9] user: drh branch: trunk, size: 81421
22:48
Merge in all the latest changes from the trunk, and especially the interface changes to the SystemCall methods of the VFS. file: [2563bd9c] check-in: [9c3a6e47] user: drh branch: sessions, size: 82028
22:02
Change the xSetSyscall methods of the VFS so that they do not cast object pointers into function pointers. Fix other unrelated compiler warnings. file: [c4ecb197] check-in: [e059152a] user: drh branch: trunk, size: 81421
18:22
Increase the upper bound on SQLITE_MAX_ATTACHED from 30 to 62. file: [3679460b] check-in: [7aaf8772] user: drh branch: trunk, size: 81412
2011-03-21
17:17
Merge in the sqlite3_db_config() enhancements for enabling and disabling FKs and triggers from trunk. file: [22e0f75c] check-in: [2b3c8b9d] user: drh branch: sessions, size: 82019
17:15
Add the ability to enable and disable foreign key constraints and triggers using calls to sqlite3_db_config(). file: [6d10370b] check-in: [09e167f9] user: drh branch: trunk, size: 81412
2011-03-18
12:35
Merge all the latest trunk enhancements into the sessions branch. file: [3c09359b] check-in: [94fd5bb6] user: drh branch: sessions, size: 81087
2011-03-09
21:36
Fix issue with mem5 allocator when min request size is larger thatn 2^30. file: [b43dc11c] check-in: [d7dae06f] user: shaneh branch: trunk, size: 80480
2011-03-03
20:06
Add the experimental sqlite3_transaction_hook() API. file: [1a5cafdc] check-in: [093d8cd8] user: dan branch: sessions, size: 82274
2011-03-01
18:42
Add the experimental sqlite3_preupdate_hook() API. file: [9ab94822] check-in: [6145d7b8] user: dan branch: sessions, size: 80857
2011-02-23
22:39
Reserve a range of bits in the SQLITE_OPEN_xxxx bit vector for future expansion. file: [93d0d967] check-in: [9b904654] user: drh branch: trunk, size: 80250
2011-02-09
03:03
Simplifications to the sqlite3_wal_checkpoint_v2() logic. file: [3be0ccf8] check-in: [652b8835] user: drh branch: trunk, size: 80174
2011-02-07
15:12
Change blocking-checkpoint tests so that they run once using "PRAGMA wal_checkpoint" and once using calls to sqlite3_wal_checkpoint_v2(). Also fix edge cases surrounding the output variables set by wal_checkpoint_v2(). file: [bc1c822d] check-in: [5a4b6652] user: dan branch: trunk, size: 80025
2011-02-02
16:34
Merge in the blocking-checkpoint enhancement, including the new sqlite3_wal_checkpoint_v2() interface and the PRAGMA wal_checkpoint(full) statement. file: [1b04ef67] check-in: [bac7342c] user: drh branch: trunk, size: 79827
2011-01-27
18:48
Pull in all the changes from trunk up through the version 3.7.5 release candidate 1. file: [de8fd6a0] check-in: [09d6c91d] user: drh branch: apple-osx, size: 79382
2011-01-26
19:46
Update all built-in VFSes to return SQLITE_OK for the SQLITE_FCNTL_SYNC_OMITTED file-control operation. Also change the xFileControl methods to return SQLITE_NOTFOUND for unrecognized operation codes. file: [6653e46d] check-in: [6f2c72a0] user: drh branch: trunk, size: 78785
2010-12-09
19:15
Add support for the SQLITE_DEFAULT_FOREIGN_KEYS compile-time option. file: [b82ea116] check-in: [c959945a] user: drh branch: trunk, size: 78724
2010-11-19
23:50
Merge all the latest changes from the trunk into the apple-osx branch. file: [657885e0] check-in: [c8bc057c] user: drh branch: apple-osx, size: 79204
18:51
Merge the checkpoint_fullfsync pragma and the superlock demonstration into the checkpoint-v2 experimental branch. file: [84fdf5b2] check-in: [ebf74015] user: drh branch: blocking-checkpoint, size: 79649
14:37
Add the SQLITE_FCNTL_FILE_POINTER verb to sqlite3_file_control(). file: [721e5530] check-in: [4425b064] user: drh branch: superlock, size: 78607
2010-11-18
19:28
Fixes for SQLITE_BUSY handling in blocking checkpoint code. file: [5927ac9c] check-in: [4c663a4d] user: dan branch: blocking-checkpoint, size: 79540
12:11
Modify the interface to the blocking wal-checkpoint functionality. file: [91465f26] check-in: [72787c01] user: dan branch: blocking-checkpoint, size: 79303
2010-11-16
18:56
Add experimental command "PRAGMA wal_blocking_checkpoint", which uses the busy-handler to block until all readers have finished in order to ensure the next writer will be able to wrap around to the start of the log file. file: [89c658ae] check-in: [7e3fc2c8] user: dan branch: blocking-checkpoint, size: 78632
2010-11-09
00:43
Integrated proxy locking file support for WAL journal mode and double free fix file: [79573a52] check-in: [fd4d38fa] user: adam branch: apple-osx, size: 75627
2010-10-11
17:58
Make sure the sqlite3_create_collation() interfaces always return an error code if they fail. Ticket [a04e42a3fcacaffa3133436]. file: [335d2c7e] check-in: [6464276e] user: drh branch: trunk, size: 78498
2010-09-09
18:25
Further updates to the sqlite3_pcache_methods documentation, plus the addition of a few evidence marks related to pcache. file: [da74b226] check-in: [34edb54b] user: drh branch: trunk, size: 78489
2010-09-07
14:59
Revised documentation for sqlite3_limit(). Added some evidence marks and assert() statements to verify sqlite3_limit() behavior. file: [ca8eadcf] check-in: [883b9b74] user: drh branch: trunk, size: 78142
2010-09-03
03:32
Fix a discrepancy between the documented behavior of SQLITE_DBCONFIG_LOOKASIDE and what it actually does. Also add evidence marks on the DBCONFIG_LOOKASIDE implementation. file: [57869e79] check-in: [f483be44] user: drh branch: trunk, size: 76861
2010-09-01
02:38
Fix some compiler warnings under MSVC. file: [b92c6c9a] check-in: [afdc82a9] user: shaneh branch: trunk, size: 76672
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: [4965866d] check-in: [53b0c03f] user: drh branch: trunk, size: 76598
2010-08-30
15:02
Remove the sqlite3BtreeFactory() wrapper routine. All modules now call sqlite3BtreeOpen() directly. file: [66ea0349] check-in: [0900e353] user: drh branch: trunk, size: 75827
2010-08-28
18:58
Add code to allow user-defined searches of r-tree tables. Still largely untested. file: [a05a66be] check-in: [782ca3b7] user: dan branch: trunk, size: 77985
2010-08-27
18:44
Make sqlite3_create_function() a special case of sqlite3_create_function_v2() in order reduce the number of code paths and simplify testing. file: [ce47368b] check-in: [4758d86d] user: drh branch: trunk, size: 77936
17:48
Add the sqlite3_create_function_v2() API, a version of create_function that allows a destructor to be specified. file: [185e558e] check-in: [9a724dfb] user: dan branch: trunk, size: 78011
17:16
Refactor the implementation of the scratch memory allocator. Add the SQLITE_TESTCTRL_SCRATCHMALLOC interface to facilitate testing. file: [bdd23be2] check-in: [a3475ddf] user: drh branch: trunk, size: 76293
2010-08-24
18:07
Change sqlite3_open_v2() to return SQLITE_MISUSE if the combination of bits in the flags parameter is invalid. The documentation says the behavior in this situation is undefined - the documentation is unaltered by this code change. file: [13c87490] check-in: [5e8101c5] user: drh branch: trunk, size: 75814
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: [414f5900] check-in: [866e9286] user: drh branch: apple-osx, size: 75632
2010-08-07
11:46
Merge in all changes up to the 3.7.0.1 release. file: [5f44f46e] check-in: [f88c6367] user: drh branch: apple-osx, size: 75873
2010-08-02
10:47
In shared-cache mode, do not allow one connection to checkpoint a database while a second connection is reading or writing the same shared-cache. file: [99622181] check-in: [e75b52d1] user: dan branch: trunk, size: 75030
2010-07-07
01:52
Remote the SQLITE_OMIT_GLOBALRECOVER macro - it is subsumed by SQLITE_OMIT_DEPRECATED. Add support to sqlite3_compileoption_used() for SQLITE_OMIT_WAL. file: [a487fe90] check-in: [21a2db90] user: drh branch: trunk, size: 75271
2010-06-23
17:59
Include the SOURCE_ID value in the log messages output for corruption, misuse, and CANTOPEN errors. file: [a6671053] check-in: [1727a81f] user: drh branch: trunk, size: 75312
2010-06-16
19:48
Merge in changes up to and including the 3.6.23.1 release. file: [5c1eeef6] check-in: [21ca87f6] user: drh branch: apple-osx, size: 71113
2010-06-10
14:07
Add the SQLITE_TESTCTRL_PGHDRSZ verb for sqlite3_test_control() used to get the size of pcache headers for testing purposes. file: [4b55bb32] check-in: [5d694f04] user: drh branch: trunk, size: 75174
2010-06-04
15:59
Add an English language error message to corresponding to SQLITE_PROTOCOL. "locking protocol". file: [0939e4b4] check-in: [ca327e32] user: dan branch: trunk, size: 74973
2010-06-03
12:09
Remove global variables when compiled with SQLITE_OMIT_WSD file: [34d9fc06] check-in: [dd10a547] user: drh branch: trunk, size: 74956
2010-05-24
20:27
OOM errors during an auto-checkpoint are benign. file: [5f857e9f] check-in: [3d252ce5] user: drh branch: trunk, size: 74911
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: [cc62a14d] check-in: [1b14195e] user: drh branch: trunk, size: 74849
2010-05-03
15:58
Have sqlite3_wal_checkpoint() handle a zero-length string in the same way as a NULL pointer. Fix "PRAGMA wal_checkpoint" so that it checkpoints all attached databases. file: [23c51a3c] check-in: [7fecd21f] user: dan branch: trunk, size: 74929
14:05
If the sqlite3_wal_checkpoint() API is passed a NULL pointer in place of a database name, attempt to checkpoint all attached databases. file: [6bc746f6] check-in: [27a5c09c] user: dan branch: wal, size: 74844
13:37
Make sure the mutex is held while calling sqlite3ApiExit() in sqlite3_wal_checkpoint(). Other cleanup of WAL logic. file: [0f66a2b0] check-in: [11a85b82] user: drh branch: wal, size: 74460
12:14
Have sqlite3_wal_checkpoint() populate the database handle error message and error code (as returned by sqlite3_errmsg() and sqlite3_errcode()). file: [1cc6f391] check-in: [ff234cf5] user: dan branch: wal, size: 74635
11:05
Add the "PRAGMA wal_autocheckpoint" command. Rename "PRAGMA checkpoint" to "PRAGMA wal_checkpoint". file: [d08f2f34] check-in: [714e5947] user: dan branch: wal, size: 74521
08:04
Add the sqlite3_wal_checkpoint() and sqlite3_wal_autocheckpoint() APIs. file: [7aab969e] check-in: [9803196d] user: dan branch: wal, size: 74495
2010-05-01
16:40
Support compile-time option SQLITE_OMIT_WAL, for building without WAL support. file: [b672c4af] check-in: [9b230c43] user: dan branch: wal, size: 71123
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: [28171059] check-in: [62db5fa3] user: drh branch: wal, size: 71074
2010-04-28
14:42
Rename the sqlite3_log_hook() to sqlite3_wal_hook(). Added comments to wal.h. file: [569561a2] check-in: [bbc38511] user: drh branch: wal, size: 71074
2010-04-19
18:03
Add the sqlite3_log_hook() interface for scheduling checkpoints. file: [867de6aa] check-in: [9bda6014] user: dan branch: wal, size: 71074
2010-04-07
16:54
Wrap all automatic index changes inside SQLITE_OMIT_AUTOMATIC_INDEX. Add the automatic_index PRAGMA to turn it on and off. file: [c0e7192b] check-in: [a811a47f] user: drh branch: experimental, size: 70530
2010-03-05
16:32
Modify the vdbe so that the comparison operator opcodes do not modify the data type of operands. Fix for [aa92c76cd4]. file: [7d89bb6d] check-in: [8858042f] user: dan branch: trunk, size: 70511
2010-02-25
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: [0d9826f7] check-in: [46f406b2] user: drh branch: branch-3.6.22, size: 70239
2010-02-24
21:44
Add testcase() macros beside each sqlite3_log() call to make sure it is tested with both logging enable and disabled. file: [5e4a918c] check-in: [1168763d] user: drh branch: trunk, size: 70471
2010-02-23
20:32
Merge the compile-time option introspection interfaces into the trunk. file: [f4226ebd] check-in: [9f429434] user: drh branch: trunk, size: 70342
20:11
Continuing improvements to error reporting and the sqlite3_log() routine. file: [d94ccec0] check-in: [edea3bb7] user: drh branch: trunk, size: 70110
20:08
Refactored compile time option diagnostic support to use strings identifiers instead of bitmask. file: [49c1133c] check-in: [76a0294a] user: shaneh branch: compile_opts, size: 69737
17:36
Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging output for CORRUPT, and CANTOPEN errors. file: [fb312563] check-in: [7c4cca6d] user: drh branch: trunk, size: 70075
05:17
Removed checking of some compile options from the sqlite3_compileopts() API. file: [e75d96a0] check-in: [833da702] user: shaneh branch: compile_opts, size: 77926
04:19
Test new api to report which options (defines) were used to compile SQLite. file: [e3e88f01] check-in: [84c97569] user: shaneh branch: compile_opts, size: 79001
2010-02-18
18:45
Add a new, experimental logging interface designed to aid in debugging of deeply embedded projects that use SQLite. file: [36c1c11e] check-in: [103321e3] user: drh branch: trunk, size: 69505
2010-01-06
13:12
Update the OS-X branch to include all trunk changes through version 3.6.22. file: [90176cc9] check-in: [541e2b48] user: drh branch: apple-osx, size: 69753
2010-01-05
18:11
Apply fix [9b8acf8319] to the 3.6.1 branch. file: [bafdff26] check-in: [62b4891b] user: dan branch: branch-3.6.1, size: 57581
2010-01-02
03:46
Fix a bug in the new sqlite3_test_control case of the previous check-in. file: [a0f6dfbd] check-in: [3b77701b] user: drh branch: trunk, size: 69151
03:21
Add a new sqlite3_test_control() verb that facilitates testing that all keywords are shown in the documentation. (Two keywords were found to be missing while testing the change.) file: [0ccd6480] check-in: [d3cdc4b1] user: drh branch: trunk, size: 69142
2009-12-22
23:52
Move the query flattener turn-off from a pragma to an sqlite3_test_control() call. Make provisions (not yet implemented) to turn off other optimizers using the same call. file: [e477f3e3] check-in: [4a97c623] user: drh branch: trunk, size: 68473
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: [f195bd6f] check-in: [5754a3a5] user: drh branch: apple-osx, size: 68363
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: [b47cc67a] check-in: [ea884e1e] user: drh branch: trunk, size: 67761
2009-12-07
23:53
Merge all changes associated with the version 3.6.21 release into the OS-X branch. file: [ab13ef86] check-in: [ad08794d] user: drh branch: apple-osx, size: 68331
2009-11-05
02:34
Initial implementation of a virtual table for CSV files. file: [3f99627e] check-in: [90e63b7d] user: shaneh branch: csv_ext, size: 67888
2009-11-04
13:30
Version 3.6.20 file: [aae32d5a] check-in: [eb7a544f] user: drh branch: trunk, size: 67729
2009-11-03
22:34
Customizations for OSX contributed by Apple. file: [a1c50e3b] check-in: [941a01eb] user: adam branch: apple-osx, size: 68331
01:22
All SQLITE_MAX_VARIABLE_NUMBER to exceed 32767. The sizes of some structures increase when the compile-time parameter is configured this way. file: [5e12af46] check-in: [16a24b44] user: drh branch: trunk, size: 67729
2009-10-15
23:03
When a forced rollback occurs, cause all active statements on the same database connection to halt immediately with an SQLITE_ABORT error code. This is a partial fix to ticket [f777251dc7]. file: [6a877290] check-in: [f256bc07] user: drh branch: trunk, size: 67914
19:45
On any rollback, immediately interrupt all running statements on the same database connection. This is a partial fix for ticket [f777251dc7]. file: [4956e8a3] check-in: [c304b44c] user: drh branch: experimental, size: 67893
18:35
Add the experimental sqlite3_reoptimize() API. file: [25d44525] check-in: [9bd6f3d8] user: dan branch: experimental, size: 67868
2009-09-19
17:00
Check in implementation of foreign key constraints. file: [45346f57] check-in: [d5d39981] user: dan branch: trunk, size: 67823
2009-09-09
15:29
Bug fix in the SQLITE_OPEN_PRIVATECACHE option added a few minutes ago. file: [d08821ca] check-in: [f3a0f23b] user: drh branch: trunk, size: 67730
14:17
Added SQLITE_OPEN_SHAREDCACHE and SQLITE_OPEN_PRIVATECACHE flags as possibilities to sqlite3_open_v2(), to override the global shared cache mode setting. Ticket [9fd0bc36639c15] file: [482a5a4a] check-in: [f509eb8b] user: drh branch: trunk, size: 67729
2009-09-07
18:14
Add the SQLITE_LIMIT_TRIGGER_DEPTH option to sqlite3_limit(). file: [e33c4d17] check-in: [d7dc8b43] user: drh branch: trunk, size: 67553
04:38
Warning cleanup from the MSVC compile. file: [6688d56c] check-in: [26cd015c] user: shane branch: trunk, size: 67435
2009-09-01
17:28
Fix a problem in main.c. SQLITE_NoRecTriggers -> SQLITE_RecTriggers. file: [572da463] check-in: [5ac69ed6] user: dan branch: trunk, size: 67425
17:11
Change "PRAGMA disable_recursive_triggers" to "PRAGMA recursive_triggers". Also a fix for compiling with OMIT_TRIGGER defined. file: [2fe38f26] check-in: [e016cca3] user: dan branch: trunk, size: 67427
12:16
More fixes and comment updates. file: [09506443] check-in: [38a9327b] user: dan branch: trunk, size: 67441
2009-08-30
11:42
Fixes for new triggers scheme. file: [45b37791] check-in: [9eb91efd] user: dan branch: trunk, size: 67430
2009-08-20
02:49
Set the "type" correctly of built-in BINARY collating sequences for UTF16. file: [c2fc25f2] check-in: [167644f3] user: drh branch: trunk, size: 67342
2009-08-17
15:52
Move error simulation code from the sqlite3_os_init() functions into a wrapper. file: [1e87aa66] check-in: [67ad21ab] user: dan branch: trunk, size: 67292
15:16
Add tests to check that sqlite recovers from an error in sqlite3_initialize() correctly. file: [cb283c9e] check-in: [904a371c] user: dan branch: trunk, size: 67294
13:42
Enhanced documentation and minor code tweaks in preparation for hardening the sqlite3_initialize/shutdown interfaces against initialization failures. file: [6873986c] check-in: [98c49e61] user: drh branch: trunk, size: 66911
2009-08-14
16:01
Incorporate fossil-scm version information into the build. Add the SQLITE_SOURCE_ID macro to the header. Add the sqlite3_sourceid() interface. Add the sqlite_source_id() SQL function. file: [a474b32f] check-in: [302dabe9] user: drh branch: trunk, size: 66900
2009-07-20
11:32
Always provide a name for the TEMP database even if SQLite is compiled using SQLITE_OMIT_TEMPDB. (CVS 6908) file: [a936f18f] check-in: [0ba17c04] user: drh branch: trunk, size: 66893
2009-07-15
11:26
Added the SQLITE_TESTCTRL_RESERVE option to sqlite3_test_control(). Simplifications to btree.c to facilitate structural coverage testing. (CVS 6894) file: [4e6d1c24] check-in: [cfbeda1b] user: drh branch: trunk, size: 66927
2009-06-26
15:14
Remove the priorNewRowid field from the sqlite3 structure. Use the last_insert_rowid as the initial value when searching for a new random rowid in the OP_NewRowid opcode. (CVS 6824) file: [9f6d9181] check-in: [96729b2d] user: drh branch: trunk, size: 66483
2009-06-25
01:47
Improved handling of oversize string and blob errors. Other simplifications in support of full coverage testing. (CVS 6813) file: [db6b0aeb] check-in: [8b340766] user: drh branch: trunk, size: 66508
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: [120d65f0] check-in: [37ae5f5e] user: drh branch: trunk, size: 66520
2009-06-09
19:53
Remove the actual checks that verify that memory pools (such as set up using SQLITE_CONFIG_HEAP) are 8-byte aligned. But document that 8-byte alignment is required. (CVS 6742) file: [a30a4a7f] check-in: [e9b55ccc] user: drh branch: trunk, size: 66627
18:02
Require that the buffer specified by SQLITE_CONFIG_HEAP be 8-byte aligned. (CVS 6739) file: [839ebfc7] check-in: [18b78068] user: drh branch: trunk, size: 66764
2009-06-01
16:53
Fix compiler warnings with MSVC build. (CVS 6699) file: [1845bc74] check-in: [07915885] user: shane branch: trunk, size: 66678
2009-05-22
10:53
Make sure sqlite3_shutdown() completely disables the default pager cache mechanism in pcache1.c. Ticket #3872. Also fix some comments associated with configuring the page cache. (CVS 6668) file: [2f0923eb] check-in: [6240992c] user: drh branch: trunk, size: 66628
2009-05-20
02:40
Updates to the extension loading logic to support full coverage testing. (CVS 6659) file: [7b7335c6] check-in: [929cfbc6] user: drh branch: trunk, size: 66621
2009-05-12
13:35
Make sure the SQLITE_OPEN_EXCLUSIVE flag is ignored by sqlite3_open_v2(). That flag is to be used by the VFS interface only. Ticket #3855. (CVS 6629) file: [09fbadd5] check-in: [c37f0279] user: drh branch: trunk, size: 66616
2009-05-11
20:53
Rework the logic that generates a schema for tables created using "CREATE TABLE ... AS SELECT ...". Instead of trying to copy the raw datatype string from the right-hand side, just make the type one of TEXT, INT, REAL, NUM, or nothing. This is much simpler than trying to parse and quote datatype strings. Other minor implifications to build.c are bundled with this change. (CVS 6626) file: [e557fd8f] check-in: [33cf8359] user: drh branch: trunk, size: 66271
2009-05-09
18:59
Add the SQLITE_TESTCTRL_ASSERT and SQLITE_TESTCTRL_ALWAYS codes for the sqlite3_test_control() interface. (CVS 6623) file: [eabeb200] check-in: [38df91c2] user: drh branch: trunk, size: 66300
2009-05-07
13:43
Change the sqlite3_create_function() family of routines to return SQLITE_MISUSE instead of SQLITE_ERROR if their parameters are incorrect. (CVS 6617) file: [c28ad526] check-in: [866f13e2] user: drh branch: trunk, size: 64218
2009-05-06
19:03
Fix compiler warning found with gcc -Wextra. (CVS 6614) file: [3f62ff84] check-in: [93bdbc5e] user: drh branch: trunk, size: 64271
18:57
Changes to silence compiler warnings under MSVC. (CVS 6613) file: [437aaae5] check-in: [df599237] user: shane branch: trunk, size: 64266
2009-05-03
20:23
Changes to facility full coverage testing of util.c. (CVS 6597) file: [a01115fd] check-in: [a6122990] user: drh branch: trunk, size: 64258
2009-05-02
13:29
Remove the aFKey hash table, which was not being used. Simplify the FKey object. Simplify the hash.c module since the copyKey parameter formerly used only by aFKey is now no longer required. (CVS 6594) file: [27a22ea9] check-in: [80c43a35] user: drh branch: trunk, size: 64263
2009-04-30
12:25
Changes sqlite3TempInMemory() to take a const parameter. (CVS 6576) file: [96da66bc] check-in: [aa29a14c] user: drh branch: trunk, size: 64269
09:10
When SQLite is configured to use in-memory temp files (either by setting SQLITE_TEMP_STORE during compilation or using the temp_store pragma at run time), store statement/savepoint journals in memory also. Ticket #3825. (CVS 6575) file: [46825877] check-in: [38f8c5a1] user: danielk1977 branch: trunk, size: 64271
2009-04-28
15:35
Have sqlite3_create_collation() return MISUSE if passed an encoding value other than SQLITE_UTF8, SQLITE_UTF16LE, SQLITE_UTF16BE, SQLITE_UTF16 or SQLITE_UTF16_ALIGNED. (CVS 6558) file: [e5249f66] check-in: [7975b6f2] user: danielk1977 branch: trunk, size: 63863
04:47
Make sure sqlite3_open16() always zeros the db return pointer if SQLite initialization fails. (CVS 6552) file: [4a2f8f36] check-in: [057c7d17] user: drh branch: trunk, size: 63851
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: [a3270aea] check-in: [cb9af829] user: drh branch: trunk, size: 63838
2009-04-21
12:02
Remove a redundant test from sqlite3_shutdown(). (CVS 6528) file: [81b74ada] check-in: [6f481ceb] user: drh branch: trunk, size: 64144
2009-04-19
12:23
Make extra calls to sqlite3_shutdown() be harmless no-ops. (CVS 6520) file: [1c68b1be] check-in: [d8082295] user: drh branch: trunk, size: 64190
2009-04-17
16:54
Revise the implementation of sqlite3_initialize() slightly in order to make it more easily testable. The functionality should be unchanged. (CVS 6519) file: [b1eac85b] check-in: [bb1a390a] user: drh branch: trunk, size: 63970
2009-04-09
01:23
Enhance sqlite3_shutdown() so that it automatically invokes sqlite3_reset_auto_extension(). This is a harmless no-op if applications are already calling sqlite3_reset_auto_extension() prior to sqlite3_shutdown(). And it prevents possible memory corruption if they do not. So it works either way. Most of the changes are to the test cases. (CVS 6475) file: [96636e2a] check-in: [0c41f7cf] user: drh branch: trunk, size: 63959
2009-04-02
17:22
Fix a couple of harmless nuisance warnings. (CVS 6438) file: [5e36e465] check-in: [53dac0a4] user: drh branch: trunk, size: 63925
2009-03-23
04:33
Use the ROUND8() macro to round an integer up to the nearest multiple of 8 and ROUNDDOWN8() macro to round down to the nearest multiple of 8. This is a cosmetic change. (CVS 6372) file: [95e13cd2] check-in: [db1d4d2f] user: danielk1977 branch: trunk, size: 63928
2009-03-19
18:51
Fix a couple of fairly obscure cases where an assert() could fail following a malloc failure. (CVS 6360) file: [cb5ce396] check-in: [cc0d9256] user: danielk1977 branch: trunk, size: 63920
2009-03-18
10:33
Fix some cases where executing SQL from within a user-function callback could cause problems related to statement-transactions. (CVS 6355) file: [76f953da] check-in: [a60f4191] user: danielk1977 branch: trunk, size: 63877
2009-03-16
13:19
Add the sqlite3_unlock_notify() API. (CVS 6348) file: [99955156] check-in: [b649a6cc] user: danielk1977 branch: trunk, size: 63855
2009-02-26
07:15
In sqlite3_table_column_metadata(), hold the mutex on all attached BtShared objects while accessing schema objects. Fix for #3679. (CVS 6328) file: [fd98b89b] check-in: [d197afd6] user: danielk1977 branch: trunk, size: 63677
2009-02-23
14:42
Ensure the return value of sqlite3_errmsg16() is aligned on a 2-byte boundary. Ticket #3665. (CVS 6313) file: [f7f7c2fc] check-in: [9b8acf83] user: danielk1977 branch: trunk, size: 63677
2009-02-05
16:31
Make the pending byte adjustable via sqlite3_test_control() on all builds, not just on test builds. (CVS 6263) file: [4912460d] check-in: [e8f192e2] user: drh branch: trunk, size: 64154
2009-02-04
17:40
Simplify wording of backup API error message. Decapitalize some other error messages. (CVS 6256) file: [75e0ec75] check-in: [f92405af] user: drh branch: trunk, size: 63440
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: [abc83516] check-in: [5cef4000] user: shane branch: trunk, size: 63442
2009-02-03
16:51
Commit first version of the 'backup' feature. (CVS 6241) file: [da51988d] check-in: [663479b4] user: danielk1977 branch: trunk, size: 63406
15:50
Remove several compiler warnings. (CVS 6239) file: [a7d7fd7d] check-in: [85e9196d] user: drh branch: trunk, size: 63114
2009-01-30
06:11
Changes to setupLookaside() in main.c to better handle lookaside buffer configurations of zero-size. Ticket #3616. (CVS 6218) file: [d4d52cf3] check-in: [0a2c7f74] user: shane branch: trunk, size: 63111
2009-01-20
16:53
When not compiling for an EBCDIC system, use built-in alternatives to the tolowe r(), toupper() and other ctype.h library functions. Ticket #3597. (CVS 6196) file: [da5ff4df] check-in: [1041abd6] user: danielk1977 branch: trunk, size: 62708
2009-01-10
16:15
When compiled with SQLITE_DEBUG (in other words, when assert() is enabled) the ALWAYS and NEVER macros will throw an assertion if their arguments are not true or false, respectively. (CVS 6159) file: [e7cc4e32] check-in: [64a8dcd8] user: drh branch: trunk, size: 62719
2008-12-17
17:30
Add the savepoint feature. This feature is largely untested at this point. (CVS 6036) file: [1d2b5682] check-in: [34b56600] user: danielk1977 branch: trunk, size: 62889
2008-12-10
23:04
More code obfuscation designed to thwart compiler warning messages. (CVS 6015) file: [64857582] check-in: [0a1888a7] user: drh branch: trunk, size: 62378
21:19
Additional work at eliminating silly compiler warnings. (CVS 6010) file: [1bb24c07] check-in: [ea01d437] user: drh branch: trunk, size: 62380
16:45
Add explicit casts to silence nuisance warnings from VC++. (CVS 6004) file: [12b67401] check-in: [da1cbfa7] user: drh branch: trunk, size: 62349
2008-12-09
14:46
Return an appropriate out-of-memory message when sqlite3_errmsg() is called following an SQLITE_NOMEM error. (CVS 6001) file: [331b2652] check-in: [228ebe41] user: drh branch: trunk, size: 62299
2008-12-08
21:37
Some minor name refactoring in where.c. Avoid declaring variables before initializing them in the amalgamation because VC++ doesn't like that. (CVS 5993) file: [951f0836] check-in: [6ed696e7] user: drh branch: trunk, size: 62279
2008-11-19
09:05
Changes to avoid "unused parameter" compiler warnings. (CVS 5921) file: [d67d2eee] check-in: [88134322] user: danielk1977 branch: trunk, size: 62252
01:20
Add an alternative application-defined pcache implementation and add test cases to permutations.test to invoke it. Added the SQLITE_CONFIG_GETPCACHE method to sqlite3_config(). (CVS 5920) file: [3b99ff81] check-in: [16f1e6ec] user: drh branch: trunk, size: 62215
2008-11-13
14:28
Add an API to support custom page cache implementations. (CVS 5899) file: [fd93666b] check-in: [47866d67] user: danielk1977 branch: trunk, size: 62002
2008-11-10
18:05
Removed a few more small parts of memsys6 code, including some config and test code for it; (CVS 5872) file: [cdc0fa9b] check-in: [a11241d6] user: shane branch: trunk, size: 61813
2008-11-04
13:46
Add the sqlite3_db_mutex() interface. No test cases yet. (CVS 5859) file: [02e1f05f] check-in: [d95de32e] user: drh branch: trunk, size: 62017
2008-10-30
15:03
Add the sqlite3_extended_errcode() interface. Change to return SQLITE_BUSY instead of SQLITE_ERROR when a COMMIT is attempted and one or more queries are still pending. (CVS 5850) file: [df799b66] check-in: [4c6a90a1] user: drh branch: trunk, size: 61883
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: [ff40f9f2] check-in: [ba3711ac] user: shane branch: trunk, size: 61679
2008-10-11
15:38
Added an assert() to detect lookaside memory leaks. Also added the SQLITE_OMIT_LOOKASIDE compile-time option which is useful in trying to track down lookaside memory leaks. (CVS 5800) file: [479e3b64] check-in: [0c4c6607] user: drh branch: trunk, size: 61601
15:20
Fix an assertion fault that occurs with SQLITE_THREADSAFE=0. (CVS 5799) file: [eca6e805] check-in: [28bba42b] user: drh branch: trunk, size: 61526
2008-10-10
17:41
Simplify the symbol hash table to use only a single key class. Other changes to improve code coverage. (CVS 5794) file: [6bdb35b2] check-in: [ff50a8a7] user: drh branch: trunk, size: 61626
2008-10-07
19:53
Raise the hard upper bound on SQLITE_MAX_FUNCTION_ARG to 1000 from 100. The default upper bound is still 100, but it can now be raised as high as 1000 at compile-time. (CVS 5780) file: [fccd1a32] check-in: [79df72ee] user: drh branch: trunk, size: 61640
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: [48e2ff96] check-in: [02a12eb1] user: drh branch: trunk, size: 61638
2008-09-23
17:39
Catch another case where SQLITE_IOERR could be returned instead of SQLITE_NOMEM following an out-of-memory error. (CVS 5739) file: [9c9cad9d] check-in: [18d030da] user: danielk1977 branch: trunk, size: 61520
2008-09-22
17:22
Fix a memory leak that can follow a malloc failure in sqlite3_initialize. (CVS 5731) file: [19953a54] check-in: [118dc0ba] user: danielk1977 branch: trunk, size: 61455
2008-09-08
08:08
Add header file sqliteicu.h to the ICU extension. This is analogous to the rtree.h and fts3.h headers used by other extensions to declare their entry points. Fix for ticket #3361. (CVS 5680) file: [8704f231] check-in: [79364b96] user: danielk1977 branch: trunk, size: 61428
2008-09-03
00:43
Add support for SQLITE_OPEN_FULLMUTEX. (CVS 5669) file: [088b513b] check-in: [f2f361a5] user: drh branch: trunk, size: 61405
2008-09-02
16:22
Fine tune the hard-coded values passed to sqlite3_init_wsd(). (CVS 5664) file: [a679dd3e] check-in: [af5763eb] user: danielk1977 branch: trunk, size: 61212
14:07
Move the sqlite3SharedCacheEnabled global and the inProgress static variable (function sqlite3_initialize()) into the global sqlite3Config structure. This is required for the OMIT_WSD feature to work on some platforms. (CVS 5662) file: [bebdb97a] check-in: [88c82759] user: danielk1977 branch: trunk, size: 61213
09:38
Modify pcache.c to work with OMIT_WSD. (CVS 5659) file: [756541b0] check-in: [44def90d] user: danielk1977 branch: trunk, size: 61263
2008-09-01
18:34
Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables still need wrappers added to them. (CVS 5652) file: [47ce9da0] check-in: [573d92ab] user: danielk1977 branch: trunk, size: 61262
2008-08-27
19:01
If any error occurs during sqlite3_open(), move the database handle into "sick" state. When in the sick state the user can use sqlite3_errcode() and sqlite3_errmsg(), but not much else. (CVS 5628) file: [f3729683] check-in: [ce9c74ea] user: danielk1977 branch: trunk, size: 60668
2008-08-21
20:21
Move date+time functions to start-time initialization. Additional start-time function cleanup. (CVS 5585) file: [69dbacc8] check-in: [80d6a31c] user: drh branch: trunk, size: 60697
18:49
Initialize the global built-in function table at start-time instead of at compile-time. This is less prone to malfunction when compile-time parameters very. (CVS 5583) file: [2513e9bb] check-in: [ef6936e5] user: drh branch: trunk, size: 60691
2008-08-20
16:35
Refactor the name resolution procedures in the code generator. (CVS 5569) file: [aaf5af6f] check-in: [daf730d1] user: drh branch: trunk, size: 60568
16:21
Fix typo in main.c: SQLITE_MAX_ATTACH -> SQLITE_MAX_ATTACHED. Ticket #3319. (CVS 5567) file: [64df3915] check-in: [66ff55ef] user: danielk1977 branch: trunk, size: 60551
14:49
Add the pcache module from the experimental branch. Also change things so that most of the built-in SQL functions are kept in single static hash-table, rather than creating and populating a separate hash table for each open database connection. (CVS 5566) file: [c900d0f4] check-in: [cb494e10] user: danielk1977 branch: trunk, size: 60545
2008-08-12
15:21
Revise the initialization and shutdown logic so that it no longer keeps a recursive mutex allocated for the whole interval but instead releases the mutex as soon as possible. Do not reset status values upon initialization. (CVS 5559) file: [c5ed24ad] check-in: [697fe7a3] user: drh branch: trunk, size: 60334
2008-08-08
14:33
Round lookaside buffer sizes in the right direction. Ticket #3277. (CVS 5547) file: [9707706f] check-in: [c1a9bf38] user: drh branch: trunk, size: 58091
2008-08-04
20:13
Separate verbs of sqlite3_config() and sqlite3_db_config() into their own namespaces. Allow SQLITE3_DBCONFIG_LOOKASIDE to specific an external memory buffer. (CVS 5536) file: [d750c6c0] check-in: [5dd865da] user: drh branch: trunk, size: 58071
2008-08-01
18:47
Fix problems in test scripts. Add new test cases to improve test coverage. (CVS 5521) file: [730c6f40] check-in: [b65f493c] user: drh branch: trunk, size: 57538
16:31
Test cases for sqlite3_db_config() and sqlite3_db_status(). (CVS 5518) file: [fb164520] check-in: [6a6b9430] user: drh branch: trunk, size: 57477
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: [70d285dc] check-in: [e48f9697] user: drh branch: trunk, size: 57430
2008-07-25
08:49
Updates to mem6.c allocator. (CVS 5473) file: [97b638ed] check-in: [43a4cae2] user: danielk1977 branch: trunk, size: 55812
2008-07-24
08:20
Add mem6.c, a new allocator. More to come. (CVS 5467) file: [6aeae6ec] check-in: [192bc192] user: danielk1977 branch: trunk, size: 55766
2008-07-22
05:13
Add assertion check for NaN support at startup. (CVS 5447) file: [c89f35b9] check-in: [8474cde3] user: shane branch: trunk, size: 55612
2008-07-16
14:02
Fix a bug in the error reporting of sqlite3_table_column_metadata(). (CVS 5422) file: [59b622b0] check-in: [7eba18c3] user: drh branch: trunk, size: 55300
12:25
Activate testing of mem3 and mem5. Fix problems found. Tickets #3223 and #3225. Other test configuration changes. (CVS 5419) file: [1c0d8528] check-in: [a3a78205] user: drh branch: trunk, size: 55296
2008-07-15
14:47
Continuing work on improved test coverage. (CVS 5415) file: [1abafc37] check-in: [c942a38e] user: drh branch: trunk, size: 55294
2008-07-11
16:15
Additional test coverage for the btree module. Remove the failsafe() macro and replace it with ALWAYS() and NEVER(). (CVS 5395) file: [453d54b3] check-in: [d7e2f0d2] user: drh branch: trunk, size: 55323
2008-07-10
18:13
Enhancements to the testing logic for malloc and mutex. Only permit one of MEMSYS3/5 to be compiled-in at a time. Omit the SQLITE_CONFIG_MEMSYS3/5 configuration options. (CVS 5389) file: [ff7d9e39] check-in: [ed8b2525] user: drh branch: trunk, size: 55351
17:52
Add the SQLITE_OPEN_NOMUTEX flag. Used for opening connections that are not protected by an internal mutex. (CVS 5387) file: [85517c4d] check-in: [7e58b787] user: danielk1977 branch: trunk, size: 54996
2008-07-09
13:28
Begin adding the failsafe() macro. (CVS 5383) file: [62ed4461] check-in: [8aae4fe7] user: drh branch: trunk, size: 54830
2008-07-08
19:34
Completely rework the sqlite3SetString() primitive so that it honors the SQLITE_LIMIT_LENGTH and avoids the use of strlen(). (CVS 5374) file: [47b781b6] check-in: [8ed04b1e] user: drh branch: trunk, size: 54795
14:52
Improved enforcement of the SQLITE_LIMIT_LENGTH limit. (CVS 5368) file: [7f69c952] check-in: [ee931508] user: drh branch: trunk, size: 54774
12:02
Make sqlite3_shutdown() a no-op if the library is not initialized. (CVS 5364) file: [9d5efc56] check-in: [d725d3bb] user: danielk1977 branch: trunk, size: 54735
2008-07-07
19:52
Make check-in (5356) compatible with builds that do not enable memory management. Remove unnecessary code from main.c. Add out-of-memory tests for sqlite3_complete16(). (CVS 5357) file: [147b58cc] check-in: [28f8b6bf] user: drh branch: trunk, size: 54605
17:53
When sqlite3_create_collation is called with an invalid encoding, return SQLITE_MISUSE. (CVS 5354) file: [1fa8697b] check-in: [eae4105d] user: drh branch: trunk, size: 54705
14:50
Additional test cases added on the sqlite3_create_function() interface. (CVS 5349) file: [b3c4cb43] check-in: [4e941f3d] user: drh branch: trunk, size: 54821
2008-06-27
13:27
Change mem5.c so that the minimum allocation size is runtime configurable. (CVS 5320) file: [7c326318] check-in: [4f95f4cd] user: danielk1977 branch: trunk, size: 54809
2008-06-26
10:54
Change the TEMP_STORE preprocessor symbol to SQLITE_TEMP_STORE. (CVS 5312) file: [942283a5] check-in: [1e3b8308] user: danielk1977 branch: trunk, size: 54673
10:41
Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", "OS_WIN", "OS_WINCE", "OS_OS2" and "OS_OTHER" are now "SQLITE_OS_UNIX", "SQLITE_OS_WIN", "SQLITE_OS_WINCE", "SQLITE_OS_OS2" and "SQLITE_OS_OTHER", respectively. (CVS 5311) file: [854dabef] check-in: [cdd4cf4c] user: danielk1977 branch: trunk, size: 54624
08:29
Fix a race condition in sqlite3_initialize(). (CVS 5310) file: [f26f9dd1] check-in: [70b2ed2a] user: danielk1977 branch: trunk, size: 54617
2008-06-25
17:19
Remove internal function sqlite3OsDefaultVfs(). The built-in VFS layers now register their VFS implementations by calling sqlite3_vfs_register() from within sqlite3_os_init(). (CVS 5307) file: [88a34d85] check-in: [8fa33b79] user: danielk1977 branch: trunk, size: 53405
14:26
Fix the allocator in mem5.c so that it can be enabled at run time using the sqlite3_config() function. (CVS 5304) file: [1291a974] check-in: [30ff6bb0] user: danielk1977 branch: trunk, size: 53589
10:34
Fix up some details to do with the mem3.c (memsys3) allocator. If the library is compiled with SQLITE_ENABLE_MEMSYS3, the memsys3 allocator can be selected at runtime. (CVS 5303) file: [5ddfc15b] check-in: [9c6c8e01] user: danielk1977 branch: trunk, size: 53392
2008-06-24
19:02
Modify the memory allocation system in mem3.c so to fit in with the new sqlite3_mem_methods scheme. At this point it only "mostly" works. (CVS 5297) file: [3f7fd6ed] check-in: [3febef54] user: danielk1977 branch: trunk, size: 53397
2008-06-23
14:15
Avoid passing "void(*)(void)" as an argument to va_arg(). Codewarrior doesn't like it. (CVS 5279) file: [c5a5b0d7] check-in: [edae76d6] user: danielk1977 branch: trunk, size: 53195
11:23
Fixed wrong type in sqlite3_create_collation16 declaration and definition (UTF-16 string had been passed as const char* instead of const void*) (CVS 5276) file: [67a80507] check-in: [4215e3e5] user: mihailim branch: trunk, size: 53149
09:50
Fix a bug whereby opening a connection to an existing shared-cache caused the cache-size (the value configured by "PRAGMA cache_size") to revert to its default value. (CVS 5274) file: [e9a76065] check-in: [0492aa8e] user: danielk1977 branch: trunk, size: 53153
2008-06-20
14:59
Add a mode to the sqlite3_test_control() interface to register hooks called at the beginning and end of "benign malloc failure" blocks. This allows malloc() failure testing to be done using public APIs only. (CVS 5254) file: [37e65eaa] check-in: [56c8af14] user: danielk1977 branch: trunk, size: 52870
11:05
Move (almost all) malloc failure test logic from fault.c to test_malloc.c. (CVS 5253) file: [194909a1] check-in: [4ae21e34] user: danielk1977 branch: trunk, size: 54492
2008-06-19
18:17
Move the malloc() failure simulation out of malloc.c and into a separate sqlite3_mem_methods interface. Still some related changes to come. (CVS 5250) file: [ae01b4e9] check-in: [d22cd2a5] user: danielk1977 branch: trunk, size: 54479
01:03
Bug fixes: Plug a memory leak introduced by the previous check-in. Get the amalgamation to the point where it will compile. (CVS 5241) file: [d75dad89] check-in: [005f8eae] user: drh branch: trunk, size: 54104
00:16
Add some test logic to the new memory allocation subsystem. (Lots more needed.) The test suite is currently indicating memory leaks, though it is unclear if this is a true code problem or just an instrumentation problem. (CVS 5240) file: [cac2d073] check-in: [cb1f11cd] user: drh branch: trunk, size: 54071
2008-06-18
18:57
Remove public APIs sqlite3_mutex_init() and sqlite3_mutex_end(). This commit only changes the code, documentation is not updated yet. (CVS 5238) file: [d2f731a9] check-in: [42a2a8f4] user: danielk1977 branch: trunk, size: 54051
17:09
Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234) file: [619caedf] check-in: [5059644c] user: danielk1977 branch: trunk, size: 54055
13:27
Added new configuration options to query the low-level malloc interface and to provide memory buffers for scratch, page-cache, and heap memory allocators. (CVS 5231) file: [34c9d9f9] check-in: [e36201a3] user: drh branch: trunk, size: 53970
09:45
Add some test infrastructure and cases for the new mutex api. (CVS 5230) file: [21807e7b] check-in: [262baee9] user: danielk1977 branch: trunk, size: 52996
2008-06-17
18:57
Add the SQLITE_CONFIG_MUTEX symbol for use with sqlite3_config(). (CVS 5228) file: [02f11264] check-in: [af1835bb] user: danielk1977 branch: trunk, size: 52823
2008-06-16
20:51
Clean up obfuscated code in sqlite3_table_column_meta_data(). Be sure to invoke sqlite3_initialize() within sqlite3_mprintf(). (CVS 5224) file: [1f65b285] check-in: [bb4edb53] user: drh branch: trunk, size: 52676
2008-06-14
16:56
Continuing progress on the new memory allocation subsystem. Added the sqlite3_mem_methods structure for defining new memory allocators at run-time. (CVS 5219) file: [4540ec2c] check-in: [f00305f4] user: drh branch: trunk, size: 52690
2008-06-13
18:24
Progress toward implementation of sqlite3_config() and a rework of the mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218) file: [88caac73] check-in: [a03c5af1] user: drh branch: trunk, size: 52899
2008-05-26
20:19
Update the amalgamation builder to incorporate the RTREE extension. (CVS 5160) file: [25358a40] check-in: [aa8eba33] user: drh branch: trunk, size: 49197
18:41
Import 'rtree' extension. (CVS 5159) file: [51f02209] check-in: [b104dcd6] user: danielk1977 branch: trunk, size: 49193
2008-05-22
13:56
Ensure that the db.mallocFailed flag is cleared before sqlite3_errmsg16() returns. (CVS 5154) file: [cf415e09] check-in: [0d47653a] user: danielk1977 branch: trunk, size: 49036
2008-05-13
13:27
Make the benign-fault setting recursive. Make all malloc failures during a rollback benign since there is nothing we can do about them. (CVS 5128) file: [2d1cf908] check-in: [a9d1d931] user: drh branch: trunk, size: 48703
2008-05-05
16:56
Better error messages when trying to open a large file using a version of SQLite that omits large file support. Tickets #3096 and #3094. (CVS 5085) file: [4c9ac364] check-in: [bdd89cd2] user: drh branch: trunk, size: 48701
2008-05-01
17:03
Fix harmless compiler warnings. (CVS 5073) file: [d40ed2bf] check-in: [227a6f67] user: drh branch: trunk, size: 48701
2008-04-28
20:35
Allow SQLITE_MAX_COLUMN to be set to zero at compile-time in order to disable the checks. Also SQLITE_MAX_EXPR_DEPTH. Ticket #3069. (CVS 5065) file: [94c8bf6a] check-in: [e6f71abb] user: drh branch: trunk, size: 48628
16:19
Fix a shared-cache mode problem triggered when sqlite3_open16() was used to open the second or subsequent connections to a utf-8 database. (CVS 5059) file: [367b5806] check-in: [20946bf6] user: danielk1977 branch: trunk, size: 48796
2008-04-16
00:49
Make sure the database connection mutex is held before calling sqlite3SafetyOn() or sqlite3SafetyOff(). Ticket #3059. (CVS 5016) file: [3300916f] check-in: [d35dea05] user: drh branch: trunk, size: 48827
2008-04-15
04:02
Fix a bug in the RTRIM collating sequence discovered while working on condition/decision branch coverage. Increase test coverage of the date/time functions. (CVS 5010) file: [e025166b] check-in: [c5435f71] user: drh branch: trunk, size: 48827
02:36
Add out-of-range tests on the first parameter to sqlite3_limit(). Add the ability to record tests that have been skipped due to configuration limitations. (CVS 5009) file: [8f3ce973] check-in: [b7ffc6f0] user: drh branch: trunk, size: 48821
2008-04-03
16:28
Instead of calling sqlite3_exec() to evaluate "PRAGMA encoding = UTF16" in sqlite3_open16(), set the connection encoding flag directly. (CVS 4959) file: [afcd42ba] check-in: [33a12e73] user: danielk1977 branch: trunk, size: 48828
2008-04-01
15:06
Add the testcase() macro. Additional CSE test coverage. (CVS 4951) file: [b499fa9f] check-in: [492490f9] user: drh branch: trunk, size: 48852
2008-03-21
16:45
Add a completely new testing system for the Bitvec object. The new testing system uses sqlite3_test_control() instead of unpublished APIs. Now provides 100% condition/decision coverage. Obscure bugs in Bitvec found and fixed as a result of the enhanced coverage. (CVS 4902) file: [7d22155e] check-in: [2498d3ea] user: drh branch: trunk, size: 48690
2008-03-20
18:00
In the sqlite3_limit() interface, take out the feature where zero means use the hard upper bound. If an application wants the hard upper bound, it can set the limit to 0x7fffffff and the bound will be automatically truncated. (CVS 4900) file: [f9c9a666] check-in: [d6be1f49] user: drh branch: trunk, size: 48144
16:30
Reinstate test cases for the limit tests. The sqlite3_limit() API is now tested and working. (CVS 4899) file: [24711c8e] check-in: [4c4be4c3] user: drh branch: trunk, size: 48236
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: [03a53976] check-in: [60c77882] user: drh branch: trunk, size: 48341
11:04
Allow a VACUUM operation to change the page-size in the same way as it can be used to change a database between auto-vacuum and normal mode. (CVS 4896) file: [9dd4646a] check-in: [871df0e7] user: danielk1977 branch: trunk, size: 45802
2008-03-19
16:08
Move SQL functions used for testing only out of func.c and into a new test file named test_func.c. Use sqlite3_auto_extension() to make sure the test functions appear in every database connection. (CVS 4883) file: [bb31f65f] check-in: [e90c4cc8] user: drh branch: trunk, size: 45770
14:15
Add a new api sqlite3_randomness() for providing access to SQLite's internal PRNG. Add sqlite3_test_control() verbs for controlling the PRNG. (CVS 4882) file: [b0c3b5f0] check-in: [15110ea0] user: drh branch: trunk, size: 44314
2008-03-18
13:01
Minor test coverage enhancements. (CVS 4877) file: [39fb36d5] check-in: [edd207b9] user: drh branch: trunk, size: 44053
2008-03-07
21:37
Make sure all necessary mutexes are held prior to initializing the schema in sqlite3_table_column_metadata(). (CVS 4841) file: [15db7dda] check-in: [4996ff93] user: drh branch: trunk, size: 44069
2008-03-04
17:45
Various renames & cleanups to limit exported symbols on amalgamation build (CVS 4819) file: [4f2a8a88] check-in: [9c6694bb] user: mlcreech branch: trunk, size: 44018
2008-02-21
02:09
Test coverage and documentation improvements. (CVS 4803) file: [75314b1c] check-in: [e0baceac] user: drh branch: trunk, size: 44015
2008-02-19
15:20
Make sure SQLITE_OPEN_DELETEONCLOSE is ignored by sqlite3_open_v2(). (CVS 4798) file: [56f208ef] check-in: [33e26f6a] user: drh branch: trunk, size: 43982
2008-01-31
15:31
Add "return rc;" to the end of sqlite3_test_control(). (CVS 4760) file: [b4014b71] check-in: [b547e7ea] user: danielk1977 branch: trunk, size: 43590
14:43
Add the sqlite3_test_control() API. Use it to control the fault injector. (CVS 4758) file: [ecdc7669] check-in: [413ddade] user: drh branch: trunk, size: 43563
13:35
Version number to 3.5.5. Include FTS3 in the amalgamation by default (but disabled unless compiled with -DSQLITE_ENABLE_FTS3). Fix a memory allocation problem. (CVS 4757) file: [2db3bc45] check-in: [72411043] user: drh branch: trunk, size: 42709
2008-01-23
12:52
Improvements to test coverage in the lemon-generated parser and in the sqlite3_get_table() interface. (CVS 4745) file: [2d4b0de4] check-in: [9f95d79d] user: drh branch: trunk, size: 42699
03:03
Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when compiling without -DSQLITE_DEBUG=1. (CVS 4744) file: [a85079f7] check-in: [5375ad6b] user: drh branch: trunk, size: 43177
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: [de0a4555] check-in: [1a335e18] user: drh branch: trunk, size: 43682
14:50
Remove dead code from the lemon-generated parser. Better testing of the sqlite3_file_control() interface, and in particular make sure the interface works on :memory: databases. (CVS 4738) file: [f17abe4d] check-in: [83ca4fc7] user: drh branch: trunk, size: 43729
2008-01-20
23:19
Add the RTRIM collating sequence. Only implemented for UTF8. Still considered experimental and may be removed if we find adverse impact elsewhere in the system. (CVS 4732) file: [05bba909] check-in: [0bf4e7fe] user: drh branch: trunk, size: 43695
2007-12-07
18:55
In shared-cache mode, make sure the busy hander invoked is the busy handler associated with the database connection that caused the lock contention in the first place. (CVS 4598) file: [bdeb906f] check-in: [c9eb6591] user: drh branch: trunk, size: 43154
2007-12-05
01:38
Add the ability to change the autovacuum status of an existing database by setting the auto_vacuum pragma then running the VACUUM command. (CVS 4592) file: [53e71b4d] check-in: [bdfc19e8] user: drh branch: trunk, size: 43221
2007-10-12
19:35
Convert a K&R style function to ANSI style. Ticket #2548. (CVS 4487) file: [994a6b69] check-in: [e1b2e7c2] user: drh branch: trunk, size: 43197
2007-10-03
21:10
Fix a syntax error that comes up when memory debugging is disabled. (CVS 4462) file: [946ca0da] check-in: [96dd3c33] user: drh branch: trunk, size: 43193
08:46
Add automatic recovery from the pager "error-state". Also add a new error code - SQLITE_IOERR_NOMEM. (CVS 4454) file: [3040200e] check-in: [12eca32a] user: danielk1977 branch: trunk, size: 43202
2007-09-03
15:19
Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Some test cases added but more are needed. Ticket #2616. (CVS 4376) file: [e69df8c9] check-in: [020a2b10] user: drh branch: trunk, size: 43037
11:04
Handle transient malloc() failures in sqlite3CreateFunc(). (CVS 4371) file: [04191005] check-in: [c0ce6319] user: danielk1977 branch: trunk, size: 42747
2007-09-01
06:51
Fix for registration of non-default vfs objects. (CVS 4360) file: [c271d910] check-in: [5f48fb95] user: danielk1977 branch: trunk, size: 42700
2007-08-31
16:11
Initial implementation of the sqlite3_file_control() interface. Compiles and passes all historical tests but the new method is itself untested. (CVS 4353) file: [00a894cd] check-in: [d3ab3e39] user: drh branch: trunk, size: 42520
2007-08-30
20:09
Add the experimental sqlite3_threadsafe() API. (CVS 4350) file: [80ebc68e] check-in: [1b39a714] user: drh branch: trunk, size: 41729
16:23
Make the latest interfaces usable by loadable extensions. (CVS 4343) file: [9276bbdc] check-in: [e9b2700b] user: drh branch: trunk, size: 41671
2007-08-24
16:08
Remove nRef and vfsMutex from the sqlite3_vfs structure. Omit the sqlite3_vfs_release() interface. Less memory allocated for a pager in the common case where the size of the pathname is less than MAX_PATH. (CVS 4287) file: [58f71f9b] check-in: [b8451da3] user: drh branch: trunk, size: 41671
03:51
The win32 driver compiles but does not yet work well. Many bugs fixed. (CVS 4282) file: [795ec066] check-in: [3a68fcdd] user: drh branch: trunk, size: 41733
2007-08-22
20:18
The malloc.test script now passes all tests with no errors. (CVS 4271) file: [527f27c7] check-in: [db818430] user: drh branch: trunk, size: 41712
02:56
A complete run of quick.test with mutex debugging enabled. (CVS 4266) file: [ea11ee57] check-in: [783e07d5] user: drh branch: trunk, size: 41694
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: [316381ee] check-in: [1914044b] user: drh branch: trunk, size: 41554
2007-08-21
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: [7cec512d] check-in: [92872761] user: drh branch: trunk, size: 41554
16:15
Adding more thread locking code. This is an incremental check-in. (CVS 4262) file: [1f6f4697] check-in: [7428732b] user: drh branch: trunk, size: 41564
15:13
Readded the sqlite3_open_v2() interface. No test cases yet. Additional progress toward adding mutexes to all interfaces. (CVS 4261) file: [5f6ab338] check-in: [3787563e] user: drh branch: trunk, size: 41298
10:44
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) file: [3f891775] check-in: [fbbd5bda] user: drh branch: trunk, size: 40535
2007-08-20
22:48
Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253) file: [7310dd53] check-in: [1315bd8e] user: drh branch: trunk, size: 40551
17:37
Add support for building with fts3. (CVS 4250) file: [685aa31a] check-in: [95ef9632] user: shess branch: trunk, size: 40556
16:07
Call sqlite3OsSleep() with an argument in microseconds, not milliseconds. (CVS 4248) file: [b597752b] check-in: [91779041] user: danielk1977 branch: trunk, size: 40408
11:12
Get main.c to compile when HAVE_USLEEP is 0. (CVS 4245) file: [064bbb20] check-in: [b27f022f] user: drh branch: trunk, size: 40395
2007-08-18
10:59
Further progress on migration to sqlite3_vfs. (CVS 4242) file: [e4bfea7b] check-in: [a258c4ec] user: danielk1977 branch: trunk, size: 40358
2007-08-17
15:53
Begin migration to using sqlite3_vfs interface. (CVS 4240) file: [cb6635a4] check-in: [af3e3c7a] user: danielk1977 branch: trunk, size: 40227
01:14
Begin adding mutexes. Compiles without SQLITE_OMIT_SHARED_CACHE but we get an assertion fault on the shared cache testing. (CVS 4239) file: [6e12fdab] check-in: [4c1e9ffe] user: drh branch: trunk, size: 40095
2007-08-16
13:01
Remove the thread specific data subsystem from the unix build. Remove legacy cruft from sqliteInt.h. Use the new mutex subsystem in the PRNG. (CVS 4237) file: [996df547] check-in: [3d60c14a] user: drh branch: trunk, size: 40917
10:09
More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233) file: [47c6d491] check-in: [77b16713] user: danielk1977 branch: trunk, size: 40935
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: [7850774e] check-in: [deb7ecd6] user: drh branch: trunk, size: 40893
2007-08-15
13:04
Add initial implementations of mutex and memory subsystem modules. (CVS 4226) file: [f12d230c] check-in: [c0fa3769] user: drh branch: trunk, size: 40971
2007-08-13
15:28
Invalidate prepared SQL statements when rolling back a transaction that includes schema modifications. (CVS 4216) file: [345ffcf4] check-in: [a07143fc] user: danielk1977 branch: trunk, size: 41787
2007-06-22
15:21
Extend fts2 so that user defined tokenizers may be added. Add a tokenizer that uses the ICU library if available. Documentation and tests to come. (CVS 4108) file: [65fc7de0] check-in: [68677e42] user: danielk1977 branch: trunk, size: 41746
2007-05-08
20:37
Fix the amalgamation generator so that all non-API functions have file scope. (CVS 3958) file: [797dc983] check-in: [e9f56ead] user: drh branch: trunk, size: 41458
12:12
Begin adding code to explicitly limit the size of strings and blobs. (CVS 3943) file: [35b34071] check-in: [031a5915] user: drh branch: trunk, size: 41458
01:08
Begin implementing a new system of upper bounds on the capabilities of SQLite. By clearly defining the upper bounds, we make those upper bounds explicitly testable. This check-in is just infrastructure. The upper bounds are not yet enforced. (CVS 3941) file: [00e01d79] check-in: [93b623b2] user: drh branch: trunk, size: 41378
2007-05-07
14:58
Change the name of create_collation_x() to create_collation_v2(). Also add some tests for it. (CVS 3938) file: [0e389104] check-in: [ddc4e479] user: danielk1977 branch: trunk, size: 41343
09:32
Add the experimental create_collation_x() api. (CVS 3934) file: [ada896b9] check-in: [ff49d48f] user: danielk1977 branch: trunk, size: 41342
2007-05-06
16:04
Add the start of the ICU extension. (CVS 3931) file: [2e11ec21] check-in: [f473e852] user: danielk1977 branch: trunk, size: 40014
2007-04-18
14:24
Minor changes (mainly to assert() macros) to handle malloc failure in vtab operations. (CVS 3851) file: [e6eb036c] check-in: [175156d1] user: danielk1977 branch: trunk, size: 39908
2007-04-16
15:06
Ensure sqlite3_finalize() can be called from within the xDisconnect() method of virtual tables. (CVS 3845) file: [a8f5c62b] check-in: [8d6c3bfc] user: danielk1977 branch: trunk, size: 39510
2007-04-02
16:40
Provide a compile-time option to enable exclusive access mode by default. (CVS 3800) file: [c8915777] check-in: [93a41510] user: drh branch: trunk, size: 39501
2007-03-31
15:28
Increase test coverage by statically defining SQLITE_BIGENDIAN and related macros for ix86 platforms. Still a run-time test for other architectures. Need to add additional cases to cover other popular processors. (CVS 3781) file: [a0e10c08] check-in: [476e7c3f] user: drh branch: trunk, size: 39073
2007-03-30
20:43
Remove vestiges of the SQLITE_PROTOCOL error. (CVS 3773) file: [a02581f5] check-in: [6dfd4a12] user: drh branch: trunk, size: 39205
11:29
Move the sqlite3_temp_directory global variable out of the OS porting layer and into main.c so that it is more accessible to non-standard OS porting layers. (CVS 3759) file: [e9ea17d6] check-in: [23653f7a] user: drh branch: trunk, size: 39285
07:10
Extra test cases to improve coverage of main.c. (CVS 3755) file: [d3b86042] check-in: [19fc3d78] user: danielk1977 branch: trunk, size: 39035
2007-03-29
15:00
Assume the malloc-failed flag cannot already be set when calling sqlite3_errmsg(16)(). (CVS 3745) file: [3ca92e8f] check-in: [54fa2227] user: danielk1977 branch: trunk, size: 38885
2007-03-27
22:24
The SQLITE_ENABLE_LOAD_EXTENSION macro enables the load_extension() SQL function by default without having to invoke sqlite3_enable_load_extension() first. (CVS 3732) file: [ed005bbc] check-in: [113aab2c] user: drh branch: trunk, size: 38848
2007-02-28
04:47
Add the undocumented and experimental I/O tracing interface. This interface is likely to change and may be completely abandoned in the near future. (CVS 3665) file: [af8922e0] check-in: [007ca283] user: drh branch: trunk, size: 38765
2006-12-19
18:57
Build without warnings and pass all tests with SQLITE_OMIT_LOAD_EXTENSION. Ticket #2113. (CVS 3534) file: [33c32014] check-in: [c3d118b4] user: drh branch: trunk, size: 38484
2006-10-19
20:27
fts2 support for testing. These are a prelude to adding some test scripts. (CVS 3480) file: [646deaa1] check-in: [004ad194] user: shess branch: trunk, size: 38480
2006-09-16
21:45
Add the sqlite3_overload_function() API - part of the virtual table interface. (CVS 3426) file: [b9cf8dd1] check-in: [aa7728f9] user: drh branch: trunk, size: 38369
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: [e2841698] check-in: [ba579ddc] user: drh branch: trunk, size: 37537
2006-09-02
13:58
Automatically register the FTS module if it is compiled into the build. (CVS 3384) file: [f780d73b] check-in: [8a96bdb7] user: drh branch: trunk, size: 37253
2006-08-23
20:07
Add the new experimental sqlite3_auto_extension() API. (CVS 3362) file: [96ab5f29] check-in: [a85fc877] user: drh branch: trunk, size: 37144
2006-07-30
20:50
Reset the schema before checking for outstanding statements inside sqlite3_close() so that virtual tables will be disconnected. (CVS 3341) file: [3690d4a4] check-in: [af05c3ca] user: drh branch: trunk, size: 36985
2006-07-26
01:39
Initial attempt at making sqlite3_interrupt() work even when called from a separate thread. (CVS 3335) file: [494d3750] check-in: [35fd67d7] user: drh branch: trunk, size: 36948
2006-07-11
14:17
By default, new databases are now created in the legacy file format - the format that ignores DESC on indices. If you want descending indices, you must either recompile with -DSQLITE_DEFAULT_FILE_FORMAT=4 or issue "PRAGMA legacy_file_format=OFF" prior to creating the first table in the database. (CVS 3330) file: [14937db8] check-in: [65b60f05] user: drh branch: trunk, size: 36908
2006-07-06
10:59
Change sqlite3_busy_timeout so that it checks for an invalid database pointer. (CVS 3320) file: [be8cb8af] check-in: [225a9597] user: drh branch: trunk, size: 36821
2006-06-27
20:06
Move the sqlite3_sleep() and sqlite3_clear_bindings() interfaces into the main library and make this official. (CVS 3316) file: [4a9be207] check-in: [eb3442c4] user: drh branch: trunk, size: 36759
2006-06-26
21:35
Publish APIs sqlite3_malloc() and sqlite3_realloc() that use the OS-layer memory allocator. Convert sqlite3_free() and sqlite3_mprintf() to also use the OS-layer memory allocator. (CVS 3298) file: [2f78bd86] check-in: [85a66a25] user: drh branch: trunk, size: 36348
2006-06-24
11:51
A few more test cases to improve coverage of virtual table module related code. (CVS 3292) file: [b71877c9] check-in: [255aa912] user: danielk1977 branch: trunk, size: 35871
2006-06-23
11:34
Fix some memory leaks that occur when malloc() fails. (CVS 3286) file: [efdd186a] check-in: [b56cc035] user: danielk1977 branch: trunk, size: 35851
2006-06-22
09:53
Test the handling of errors in virtual table methods. (CVS 3284) file: [645a02be] check-in: [51b729d9] user: danielk1977 branch: trunk, size: 35823
2006-06-16
16:08
Add code to invoke the virtual table transaction interface. Untested at this point. (CVS 3261) file: [7101314a] check-in: [61251402] user: danielk1977 branch: trunk, size: 35823
2006-06-15
04:28
Add void* argument to sqlite3_create_module to replace sqlite3_module.pAux. (CVS 3251) file: [7875e883] check-in: [470a3a0b] user: danielk1977 branch: trunk, size: 35796
2006-06-14
15:35
Better documentation on the limits of user-defined functions. And a marginally better error message when those limits are exceeded. Ticket #1847. (CVS 3247) file: [4e48472d] check-in: [0d369ff0] user: drh branch: trunk, size: 35650
2006-06-11
23:41
Progress toward CREATE VIRTUAL TABLE. Still not even close to working... (CVS 3211) file: [f4397bf9] check-in: [898ec36b] user: drh branch: trunk, size: 35596
2006-06-08
15:48
Unload shared libraries when a database connection closes. (CVS 3208) file: [0147dbf7] check-in: [327e6909] user: drh branch: trunk, size: 35426
2006-05-24
12:43
When opening a new connection on a shared cache, be careful not to overwrite the encoding flag on the shared cache. Ticket #1824. (CVS 3190) file: [928d93cf] check-in: [c8e5ceed] user: drh branch: trunk, size: 35396
2006-03-16
16:19
Fix some compiler warnings. (CVS 3140) file: [5cdd81aa] check-in: [6c5175bc] user: drh branch: trunk, size: 35455
14:05
Make provisions in the code to support Provisions to support caching of serialized statements in the SSE extension. (CVS 3139) file: [a025a199] check-in: [5048fae0] user: drh branch: trunk, size: 35400
2006-03-13
15:06
Get parserless builds working again. (CVS 3133) file: [631ad93d] check-in: [5ddc09a5] user: drh branch: trunk, size: 35407
2006-03-03
20:54
Make sure the default busy handler uses usleep() when available. Ticket #1684. (CVS 3121) file: [b2fae872] check-in: [43e54626] user: drh branch: trunk, size: 35441
2006-02-16
18:16
Or the SQLITE_UTF16_ALIGNED with the encoding field in sqlite3_create_collation and UTF16 strings will always be aligned on an even byte boundary when passed into the comparison function. (CVS 3103) file: [f520c65f] check-in: [7a1701e8] user: drh branch: trunk, size: 35416
2006-02-09
13:43
Add the sqlite3_table_column_meta() API. (CVS 3062) file: [9a42464c] check-in: [1ac72f68] user: danielk1977 branch: trunk, size: 35510
2006-02-01
13:50
Always register BINARY collating sequences for UTF-16BE and UTF-16LE both. Formerly we were only registering the native byte order by default. Ticket #1654. Note: There may still be problems with collating sequence synthesis. (CVS 3053) file: [ce5b9f0a] check-in: [3861377b] user: drh branch: trunk, size: 32167
2006-01-31
19:31
Fix some pointless warnings from overly-pedantic compilers. (CVS 3048) file: [5c890c27] check-in: [b922c8e4] user: drh branch: trunk, size: 31985
2006-01-24
16:37
Handle errors in saving cursor positions during a rollback by aborting all active statements. (CVS 3027) file: [26937762] check-in: [5df9f022] user: danielk1977 branch: trunk, size: 32067
13:09
Return code was being dropped because of overridden variable in OP_IsUnique. Fix this and the test logic problem that hid it. (CVS 3025) file: [dc3fc9b0] check-in: [c30705a0] user: danielk1977 branch: trunk, size: 32174
2006-01-19
17:42
Make sure sqlite3_thread_cleanup() does not try to allocate memory. (CVS 2979) file: [439168db] check-in: [0208e422] user: drh branch: trunk, size: 32154
2006-01-18
16:51
Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972) file: [fe0ec40a] check-in: [ac090f2a] user: danielk1977 branch: trunk, size: 32144
15:25
Change sqlite3MallocClearFailed() calls to sqlite3ApiExit(), a better API. (CVS 2970) file: [bf810309] check-in: [e0b022e5] user: danielk1977 branch: trunk, size: 32364
05:51
Handle malloc() failures that occur in open16() and errmsg16(). (CVS 2967) file: [fd9cb79c] check-in: [86eab9e5] user: danielk1977 branch: trunk, size: 33044
04:26
Handle malloc() failures that occur inside create_collation() calls. (CVS 2966) file: [bab16cf1] check-in: [95c5903f] user: danielk1977 branch: trunk, size: 32930
2006-01-17
13:21
Various fixes that allow the malloc() failure tests to pass again. (CVS 2963) file: [e934ce6c] check-in: [0505405f] user: danielk1977 branch: trunk, size: 32410
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: [39d073fb] check-in: [5d9c6aa9] user: drh branch: trunk, size: 31693
2006-01-10
13:58
Move the implementation of sqlite3_enable_shared_cache from btree.c to main.c. (CVS 2902) file: [3fe4b606] check-in: [4f2ec952] user: drh branch: trunk, size: 31327
07:14
If compiled with memory-debugging, write garbage to memory when it is freed. Fix for #1594. (CVS 2900) file: [eb4ba0a5] check-in: [bd02a6fa] user: danielk1977 branch: trunk, size: 30604
2006-01-09
16:12
Fix some errors to do with attached databases and text encodings in shared-cache mode. (CVS 2895) file: [68563cfa] check-in: [3e75d3d5] user: danielk1977 branch: trunk, size: 30229
06:29
Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893) file: [2e6d9482] check-in: [82b81f69] user: danielk1977 branch: trunk, size: 30191
2006-01-06
21:52
Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878) file: [8c2d64f1] check-in: [9d71b7de] user: drh branch: trunk, size: 30141
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: [b43ca57f] check-in: [2529c2e1] user: drh branch: trunk, size: 32453
06:33
Fix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867) file: [244a346a] check-in: [752a2754] user: danielk1977 branch: trunk, size: 32465
2006-01-05
13:48
Disable automatic invocation of sqlite3_release_memory() when a malloc() fails in those cases where the global mutex is held. (CVS 2860) file: [c1d8d202] check-in: [6fdbb8b7] user: danielk1977 branch: trunk, size: 31481
11:34
Add the shared schema/pager modifications. Very few tests so far. (CVS 2859) file: [3a9689e4] check-in: [deeda0dc] user: danielk1977 branch: trunk, size: 31840
2005-12-30
16:28
Add part of the btree layer of the shared-cache feature. (CVS 2848) file: [c93f80d1] check-in: [2afcad99] user: danielk1977 branch: trunk, size: 30322
2005-12-16
15:24
Verify that the rollback-hook is invoked correctly when a malloc() failure occurs. (CVS 2824) file: [ec04b376] check-in: [83c8ae5b] user: danielk1977 branch: trunk, size: 30582
06:54
Add the sqlite3_rollback_hook() API. Still requires further testing. (CVS 2823) file: [cbab4a1b] check-in: [3baa3ff3] user: danielk1977 branch: trunk, size: 30451
2005-12-15
15:22
Add the sqlite3_update_hook() API. (CVS 2820) file: [066356cd] check-in: [36229018] user: danielk1977 branch: trunk, size: 29764
03:04
Fix memory allocation problems on the utf-16 versions of collating function control routines. (CVS 2817) file: [a12aa723] check-in: [ad292e27] user: drh branch: trunk, size: 29341
2005-12-12
06:53
Fix minor malloc() related problems and add sqlite3_soft_heap_limit() stubs. (CVS 2814) file: [95ba1597] check-in: [1637f379] user: danielk1977 branch: trunk, size: 29925
2005-12-09
20:02
Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810) file: [d8656320] check-in: [83a59151] user: drh branch: trunk, size: 30276
2005-12-06
13:19
Report errors out of sqlite3_open16(). (CVS 2802) file: [8da1f263] check-in: [f5b58163] user: drh branch: trunk, size: 30269
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: [2babbdbc] check-in: [e1606658] user: danielk1977 branch: trunk, size: 30272
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: [7d719efe] check-in: [bd8740d1] user: drh branch: trunk, size: 30190
2005-10-20
07:28
Changes to prevent various compiler warnings. (CVS 2750) file: [97bb830c] check-in: [e261b8b0] user: drh branch: trunk, size: 30178
2005-09-17
15:20
Changes to make corruption errors easier to track down. (CVS 2709) file: [42201420] check-in: [c0733000] user: drh branch: trunk, size: 30173
2005-09-07
21:22
Rewrite the aggregate handling logic so that it runs in O(1) space. This is the first cut at the code. Many regression tests fail. (CVS 2662) file: [bf888554] check-in: [17039ec3] user: drh branch: trunk, size: 29912
2005-08-29
23:00
Increase resolution of time-of-day on unix. Add an experimental sqlite3_profile() API. (CVS 2639) file: [8bcd1d2e] check-in: [ed2ca087] user: drh branch: trunk, size: 29915
2005-08-28
17:00
The LIKE optimization does the right thing when collating sequences are present. LIKE expressions where the left-hand side has COLLATE NOCASE are optimized in the default case. (CVS 2637) file: [60eb224f] check-in: [ef84ff79] user: drh branch: trunk, size: 29346
2005-08-14
01:20
The case_sensitive_like pragma added. Test cases added for the LIKE optimization. (CVS 2592) file: [dce7e4bf] check-in: [72ee21c0] user: drh branch: trunk, size: 29108
2005-08-11
02:10
Improve the error message associated with SQLITE_FULL. Ticket #1353. Also remove error messages for obsolete error codes SQLITE_INTERNAL, SQLITE_NOTFOUND, and SQLITE_TOOBIG. (CVS 2580) file: [fc984008] check-in: [fa7403c7] user: drh branch: trunk, size: 29092
2005-07-15
13:05
Add test instrumentation that will be needed during the development of forthcoming optimizer enhancements. (CVS 2548) file: [568005dc] check-in: [dfd5fd77] user: drh branch: trunk, size: 29332
2005-07-09
02:16
Make sure there is only one busy counter. Ticket #1315. (CVS 2543) file: [fcf2fc29] check-in: [af2a0ba4] user: drh branch: trunk, size: 29320
2005-06-14
02:24
Fix a bug in the default busy handler for systems that lack usleep(). Ticket #1284. (CVS 2514) file: [7d0293d9] check-in: [a42cb81d] user: drh branch: trunk, size: 28833
2005-05-26
16:23
Add an experimental sqlite3_get_autocommit() API used to test whether or not changes are committed automatically. (CVS 2486) file: [f61bdb0a] check-in: [4a7f1275] user: drh branch: trunk, size: 28816
12:37
Fix minor problems with the SSE hooks. (CVS 2483) file: [9fa85c83] check-in: [3516ca29] user: danielk1977 branch: trunk, size: 28426
2005-05-25
04:11
Split main.c into two files to make building without the parser easier. (CVS 2481) file: [8954071c] check-in: [d50915fa] user: danielk1977 branch: trunk, size: 28426
2005-05-24
20:19
Remove the config.h file from the build. Ticket #1224. (CVS 2480) file: [8de9c03d] check-in: [3e64f1ab] user: drh branch: trunk, size: 43622
12:01
Move a few things around to make building without the parser easier. (CVS 2479) file: [e7aae2fb] check-in: [5fadb464] user: danielk1977 branch: trunk, size: 43603
2005-05-23
04:51
Add pFetch variable (used by SSE) to sqlite3 structure. (CVS 2475) file: [5d7299e0] check-in: [2a8ac869] user: danielk1977 branch: trunk, size: 43322
2005-05-06
22:05
Timing fix in the default busy handler. (CVS 2456) file: [e083f7c0] check-in: [76090ed8] user: drh branch: trunk, size: 43255
2005-04-28
12:06
Fix an array index bug in the default busy callback handler. Ticket #1198. (CVS 2447) file: [bab0ea10] check-in: [3cc14b76] user: drh branch: trunk, size: 43253
2005-03-29
23:34
Fix a problem with threads and the global database list in main.c. (CVS 2434) file: [336ab4bf] check-in: [4aa05d22] user: danielk1977 branch: trunk, size: 43481
03:10
Add the SQLITE_OMIT_TEMPDB compile time macro. (CVS 2427) file: [531fab94] check-in: [c41d5544] user: danielk1977 branch: trunk, size: 43470
2005-03-21
04:04
Add function to recover from a malloc() failure. (CVS 2414) file: [2062fade] check-in: [1f9d10d7] user: danielk1977 branch: trunk, size: 43306
2005-03-09
12:26
Support for a future ALTER TABLE command to add columns with default values. (CVS 2367) file: [90cb84bb] check-in: [9d5abc1d] user: danielk1977 branch: trunk, size: 41691
2005-02-19
08:18
Support for a future file format that includes 'short' records. (CVS 2351) file: [9f0716fc] check-in: [173aeb25] user: danielk1977 branch: trunk, size: 41568
2005-02-06
02:45
Add the (highly experimental) omit_readlock pragma that disables the use of readlocks on read-only databases that are connected using ATTACH. (CVS 2317) file: [981099f5] check-in: [2155448d] user: drh branch: trunk, size: 41188
2005-02-05
07:33
Add a numeric version number. Ticket #1097. (CVS 2315) file: [75e70f15] check-in: [a9c33a80] user: danielk1977 branch: trunk, size: 41115
2005-02-04
04:07
Remove code for SQL cursors. (CVS 2312) file: [de1f29d3] check-in: [2eb90870] user: danielk1977 branch: trunk, size: 41046
2005-01-31
12:42
Assorted minor changes to speed up loading the database schema. (CVS 2293) file: [f08a57ab] check-in: [dfbd684a] user: danielk1977 branch: trunk, size: 41196
2005-01-29
08:32
Modify sub-query handling. Tickets #1083 and #1084. (CVS 2286) file: [612531a2] check-in: [b1b50f31] user: danielk1977 branch: trunk, size: 41194
2005-01-25
04:27
Prevent collation sequences and user functions from being deleted or changed while SQL statements are executing. (CVS 2275) file: [302e21bd] check-in: [cabab62b] user: danielk1977 branch: trunk, size: 41191
2005-01-24
10:25
Modifications and bugfixes so that the test suite passes with the TCL statement cache turned on. (CVS 2271) file: [1fe0216d] check-in: [d5233e07] user: danielk1977 branch: trunk, size: 40190
2005-01-21
08:13
Exclude a few more lines of code using OMIT macros. (CVS 2253) file: [6a549ea8] check-in: [c6fc49e6] user: danielk1977 branch: trunk, size: 40017
2005-01-18
16:02
Column names coming back from a SELECT are now just the name of the source column without the "table." prefix. In other words, "PRAGMA short_column_names=ON" is now the default. This makes the names of columns behave more like other SQL engines. The old behavior can be restored by setting "PRAGMA short_column_names=OFF". (CVS 2231) file: [b489aae2] check-in: [9295050a] user: drh branch: trunk, size: 39881
2005-01-13
02:14
Fixes to 'configure' build system. Also extra coverage for main.c. (CVS 2204) file: [cbe5a05b] check-in: [8378455f] user: danielk1977 branch: trunk, size: 39895
2005-01-12
12:44
Tests to improve coverage of main.c. (CVS 2202) file: [977c4017] check-in: [4e28c82a] user: danielk1977 branch: trunk, size: 40026
2005-01-08
18:42
Tcl interface does as sqlite3 or as sqlite. A compile-time option allows duel linking. Also fix a bug in the pragma change from earlier today. (CVS 2186) file: [a05e1e50] check-in: [ad109537] user: drh branch: trunk, size: 40178
2004-11-22
19:12
Add initial infrastructure for cursors. In where.c, optimize out clauses of the form "ORDER BY rowid" if a table scan is being performed. Do a reverse table scan if "ORDER BY rowid DESC" is present. (CVS 2141) file: [fc383dc9] check-in: [fc8c1393] user: drh branch: trunk, size: 40226
05:26
Have tests pass when SQLITE_OMIT_MEMORYDB is defined. (CVS 2131) file: [9abc4f08] check-in: [9df837c0] user: danielk1977 branch: trunk, size: 40084
2004-11-20
20:18
Better error message on an SQLITE_RANGE error. Ticket #991. (CVS 2124) file: [f156a4c5] check-in: [accd432e] user: drh branch: trunk, size: 40013
2004-11-14
21:56
The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100) file: [22f12e9d] check-in: [98c7a554] user: drh branch: trunk, size: 40013
2004-11-11
05:10
Add the schema_cookie and user_cookie pragmas. (CVS 2089) file: [c7dc54c6] check-in: [d28d1d68] user: danielk1977 branch: trunk, size: 39736
2004-10-06
15:41
Convert many constants to have type "const". (CVS 2006) file: [ba1b26f0] check-in: [d790c84c] user: drh branch: trunk, size: 39684
2004-09-30
13:43
Allow functions to be created when there are outstanding VMs. (Ticket #926) Fix problems with sqlite3_errcode(). Add tests for sqlite3_errcode(). (CVS 1989) file: [2a1b9623] check-in: [d0f1dc58] user: drh branch: trunk, size: 39660
2004-09-25
14:39
Code cleanup: get rid of the sqlite3SetNString utility function. (CVS 1984) file: [b86dacaa] check-in: [9ef4c24a] user: drh branch: trunk, size: 39413
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: [82a952ef] check-in: [0cc2f40e] user: drh branch: trunk, size: 39523
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: [ac302ed6] check-in: [3ddf5a9d] user: drh branch: trunk, size: 40711
2004-09-02
15:53
Address some minor 32/64 bit issues. (CVS 1932) file: [981bbcf4] check-in: [6c9be972] user: drh branch: trunk, size: 40695
14:57
Transactions commit on the last sqlite3_step(), not on sqlite3_finalize(). This allows the sqlite3_step() to return SQLITE_BUSY if the commit is blocked by a lock. Ticket #885. (CVS 1928) file: [c42b3c1c] check-in: [d1b29156] user: drh branch: trunk, size: 40690
2004-08-29
20:08
Fix a bug in the NOCASE collating function. (CVS 1917) file: [b92d44c7] check-in: [32c2974a] user: drh branch: trunk, size: 40733
2004-08-28
16:19
Add the sqlite3_libversion() API (ticket #834). Fix the build scripts to correctly build the shared libraries with version 8.4 of Tcl. (CVS 1908) file: [63f77b83] check-in: [6db26a19] user: drh branch: trunk, size: 40733
14:49
Add new defenses against misuse of the C API. Ticket #870. (CVS 1906) file: [c00e3f9e] check-in: [6ef1f662] user: drh branch: trunk, size: 40669
2004-08-21
17:54
Optimizations to the code generator. (CVS 1899) file: [581ccf00] check-in: [bd6649c5] user: drh branch: trunk, size: 40554
2004-08-18
02:10
Avoid creating a TEMP database unless it is absolutely necessary. (CVS 1890) file: [a779422c] check-in: [5914a11c] user: drh branch: trunk, size: 40548
2004-08-14
19:20
If meta(3)>0 then make the database readonly for now. This allows the current database to interact with future releases that might include autovacuum. (CVS 1888) file: [34a95ab1] check-in: [7619bf47] user: drh branch: trunk, size: 40483
18:34
Fix a bug that was preventing "PRAGMA temp_store=MEMORY" from working. (CVS 1887) file: [32b91a57] check-in: [bb558945] user: drh branch: trunk, size: 40428
2004-08-01
00:10
Add the ".import" command to the command-line shell. (CVS 1873) file: [41da5958] check-in: [b56afe64] user: drh branch: trunk, size: 40520
2004-07-24
14:35
Fix more problems with deferred execution of CREATE. Still need to do DROP. There is now a memory leak. (CVS 1865) file: [49ea4a45] check-in: [6db3f122] user: drh branch: trunk, size: 40500
03:30
Progress towards getting prepared statements and CREATE and DROP to play nicely together. Work is incomplete. Some tests are known to fail. (CVS 1864) file: [c4ba7d8f] check-in: [49b99149] user: drh branch: trunk, size: 40476
2004-07-22
01:19
Initial implementation of variable page sizes and the temp_store pragma. (CVS 1843) file: [447db2fb] check-in: [4cf6e9db] user: drh branch: trunk, size: 41371
2004-07-19
17:25
Store schema cookies on the TEMP database. Ticket #807. (CVS 1817) file: [4f3c3f0f] check-in: [c6c13dc4] user: drh branch: trunk, size: 40204
2004-06-30
11:54
Coverage improvements for malloc and vdbemem.c (CVS 1781) file: [9cb3598b] check-in: [a98dd004] user: danielk1977 branch: trunk, size: 40289
09:49
Coverage tests for vacuum.c (CVS 1776) file: [adb17bee] check-in: [152e9940] user: danielk1977 branch: trunk, size: 40170
2004-06-29
13:18
Test cases intended to improve coverage of main.c. (CVS 1763) file: [95a915b2] check-in: [15a084e9] user: danielk1977 branch: trunk, size: 40109
11:26
Add testing for sqlite3_trace() and fix a bug. (CVS 1760) file: [9c01890c] check-in: [7a153910] user: drh branch: trunk, size: 39992
10:53
Do not set new error messages after a malloc failure. (CVS 1758) file: [b6b9e0b4] check-in: [f46251ee] user: drh branch: trunk, size: 39986
08:59
Fix error reporting path for errors that occur while reading the database schema. (CVS 1757) file: [c5cd9848] check-in: [157db33e] user: danielk1977 branch: trunk, size: 39954
07:45
Bug-fixes to get the two threadtest C programs working again. (CVS 1756) file: [b2f25e2f] check-in: [ffd3312b] user: danielk1977 branch: trunk, size: 39865
2004-06-28
01:11
Fix a bunch of harmless warnings. (CVS 1749) file: [6d27d09c] check-in: [fae7c6e0] user: danielk1977 branch: trunk, size: 39730
2004-06-26
14:40
Fold in changes submitted by the PHP developers. (CVS 1742) file: [7802ab78] check-in: [a4a25708] user: drh branch: version_2, size: 37251
10:02
Fix error message returned when a database cannot be opened. (CVS 1739) file: [37b6d159] check-in: [440bfd2a] user: danielk1977 branch: trunk, size: 39716
09:50
Minor fixes related to the tests in misuse.test (CVS 1738) file: [7551892f] check-in: [0af3ff39] user: danielk1977 branch: trunk, size: 39666
06:37
Remove default_synchronous and temp_store pragmas. Allow the safety-level and cache-size to be set for attached databases. (CVS 1735) file: [7a5afce1] check-in: [212de3ce] user: danielk1977 branch: trunk, size: 38924
2004-06-22
12:13
Patch around compilers that do not support "long long int". (CVS 1656) file: [2a4f3fe3] check-in: [d98b1502] user: drh branch: trunk, size: 39989
2004-06-21
08:18
Ensure sqlite3ErrorMsg() is used to report errors during compilation, sqlite3Error() during execution. Also remove unused param from sqlite3VdbeReset() and Finalize(). (CVS 1647) file: [5bf387a2] check-in: [7a33daef] user: danielk1977 branch: trunk, size: 39998
06:50
Update sqlite3_changes() to match the documentation and add sqlite3_total_changes(). (CVS 1645) file: [b4cd665e] check-in: [ae2f4a09] user: danielk1977 branch: trunk, size: 40004
2004-06-19
09:35
Remove the unused 'next_cookie' mechanism. (CVS 1634) file: [96387fc2] check-in: [c94a9759] user: danielk1977 branch: trunk, size: 40224
08:18
Remove the iCollate argument from sqlite3_create_function() (CVS 1632) file: [5dc5012e] check-in: [728d57ff] user: danielk1977 branch: trunk, size: 40313
04:23
Backport of (1628) to version 2. (CVS 1631) file: [35b6917d] check-in: [cce250ea] user: danielk1977 branch: version_2, size: 37241
03:33
Update sqlite3_close() API to match documentation. (CVS 1630) file: [54ce5c19] check-in: [61819740] user: danielk1977 branch: trunk, size: 40359
02:22
Fix for #764. When reloading the schema, load the temp schema last. (CVS 1628) file: [da53b961] check-in: [1f43219a] user: danielk1977 branch: trunk, size: 40137
2004-06-18
17:10
Changes to allow libsqlite3.a and libsqlite.a to be both linked into the same program at the same time. (CVS 1621) file: [bbb19c7a] check-in: [2590fffc] user: drh branch: trunk, size: 40382
04:24
Optimisation for unicode encoding conversion routines. (CVS 1614) file: [a7cee3b7] check-in: [39a415ea] user: danielk1977 branch: trunk, size: 40389
2004-06-16
12:00
Trivial modifications to prevent compiler warnings. (CVS 1606) file: [63c30e17] check-in: [6001c5e1] user: danielk1977 branch: trunk, size: 39947
10:39
Fix handling of a failed malloc() in various places (CVS 1604) file: [adac4239] check-in: [7d8edce4] user: danielk1977 branch: trunk, size: 39932
2004-06-15
16:51
Assorted memory leak fixes. (CVS 1600) file: [da573d5b] check-in: [07b90f36] user: danielk1977 branch: trunk, size: 39760
13:36
Memory leak fixes for tests in file select1.test. (CVS 1599) file: [afb1200c] check-in: [59db58eb] user: danielk1977 branch: trunk, size: 39445
2004-06-14
09:35
Ensure master journal file is deleted when a transaction is committed. (CVS 1586) file: [a62c08c9] check-in: [cb3cbe00] user: danielk1977 branch: trunk, size: 39420
2004-06-13
23:07
os_win.c is now working with the new locking protocol. (CVS 1581) file: [c68c8731] check-in: [77c5eaa1] user: drh branch: trunk, size: 39409
2004-06-12
09:25
(1) Modifications to the user-function interface and (2) Internal changes to automatically created indices. (CVS 1575) file: [9061fff2] check-in: [5903f538] user: danielk1977 branch: trunk, size: 39418
01:43
Change prototype for busy callbacks to "int xBusy(void *, int);" (CVS 1573) file: [86b0946b] check-in: [4f1cfca5] user: danielk1977 branch: trunk, size: 37974
00:42
Use the SQLITE_UTF* symbols instead of the old internal TEXT_Utf* symbols. (CVS 1572) file: [59b662fa] check-in: [9b84f2f4] user: danielk1977 branch: trunk, size: 37986
2004-06-11
10:51
Fix various collation sequence issues. (CVS 1568) file: [9f20ae48] check-in: [66835ee6] user: danielk1977 branch: trunk, size: 37982
2004-06-10
10:50
Add the sqlite3_collation_needed() API and fix some error handling cases involving unknown collation sequences. (CVS 1562) file: [335b4cd4] check-in: [edf069b9] user: danielk1977 branch: trunk, size: 37765
02:16
Change the collation sequence interface to allow collation sequences that use UTF-16 in non-native byte order to be registered. (CVS 1559) file: [cb41777e] check-in: [b8aaa3a2] user: danielk1977 branch: trunk, size: 37247
01:30
Add the vdbe_listing and sql_trace pragmas used for debugging. (CVS 1558) file: [6f1c01a5] check-in: [28c3cc08] user: drh branch: trunk, size: 36721
00:29
Check for schema updates if the parser fails to find a table. More locking test updates. (CVS 1555) file: [185b7bba] check-in: [a2228351] user: drh branch: trunk, size: 36408
2004-06-09
20:03
Turn on the atomic multifile commit logic. It does not work right yet, but it has at least stopped failing asserts. (CVS 1550) file: [3df17ac4] check-in: [3674b25e] user: drh branch: trunk, size: 35619
12:30
Fix error reporting when trying to attach a database with a foriegn text encoding. (CVS 1545) file: [8a7725b4] check-in: [beab038c] user: danielk1977 branch: trunk, size: 35463
09:55
Some progress on user-defined collation sequences. (CVS 1544) file: [ac8a6e87] check-in: [c634e71f] user: danielk1977 branch: trunk, size: 35535
2004-06-08
00:02
Remove the third argument from the sqlite3_open() API. (CVS 1540) file: [f9488676] check-in: [62e31f39] user: danielk1977 branch: trunk, size: 33730
2004-06-07
07:52
Add pragma to set/get text encoding. Also fix an obscure problem where a temp trigger could be accidently dropped. (CVS 1537) file: [d34e1732] check-in: [983221b0] user: danielk1977 branch: trunk, size: 33779
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: [2e4d37f0] check-in: [92337d8f] user: danielk1977 branch: trunk, size: 34477
2004-06-04
06:22
Move the 'busy-callback' logic to the pager layer. (CVS 1527) file: [4e8e5c96] check-in: [ff70b6d2] user: danielk1977 branch: trunk, size: 34467
2004-06-02
00:41
Remove the sqlite3_libencoding() api and the ISO8859 encoding option. (CVS 1523) file: [d2a7632f] check-in: [b53640ed] user: drh branch: trunk, size: 34536
2004-06-01
00:03
Remove the sqlite3_open_varargs() API. (CVS 1515) file: [66c6c35e] check-in: [6902fb1b] user: danielk1977 branch: trunk, size: 35052
2004-05-31
23:56
Remove the sqlite3_error_string() API. (CVS 1514) file: [5e9c2c43] check-in: [af8e2006] user: danielk1977 branch: trunk, size: 36951
19:34
Change the name of the sqlite3_freemem API function to just sqlite3_free. (CVS 1512) file: [2a5d141a] check-in: [f3b80bbb] user: drh branch: trunk, size: 36978
18:51
Change all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511) file: [b4aed6c7] check-in: [adf7e29f] user: drh branch: trunk, size: 36984
08:55
Remove the <ON CONFLICT> clause from BEGIN (CVS 1501) file: [9bb9578c] check-in: [9029274b] user: danielk1977 branch: trunk, size: 37000
08:26
Replace OP_Begin, OP_Commit and OP_Rollback with OP_AutoCommit. (CVS 1500) file: [4f1dd19d] check-in: [b8ed812c] user: danielk1977 branch: trunk, size: 37028
2004-05-29
10:23
Fix vacuum so that it works with blobs. (CVS 1490) file: [79f8142e] check-in: [4feb4b9a] user: danielk1977 branch: trunk, size: 37006
2004-05-27
23:56
Add API functions sqlite3_open_varargs(), sqlite3_open16_varargs() and sqlite3_complete16(). (CVS 1479) file: [a6f3739a] check-in: [203af2b2] user: danielk1977 branch: trunk, size: 36892
2004-05-26
16:54
Remove dataType and includeTypes flags from function definitions. Added new P3_FUNCDEF type for P3 arguments on opcodes. Fixes to several user functions. 28 tests fail now. (CVS 1464) file: [488ec788] check-in: [36e03162] user: drh branch: trunk, size: 34985
10:11
Add some tests for the new API. Many more to come. (CVS 1462) file: [6a583e9d] check-in: [d5659f2e] user: danielk1977 branch: trunk, size: 35390
06:58
Remove the show_datatypes pragma. (CVS 1461) file: [2f144d75] check-in: [93bb958d] user: danielk1977 branch: trunk, size: 35079
06:18
Use the new form of the sqlite3_create_function() API. (CVS 1460) file: [bb49b5a4] check-in: [0317bef4] user: danielk1977 branch: trunk, size: 35123
02:04
Use the new API calls more consistently. (CVS 1459) file: [c9044ad6] check-in: [17e7db48] user: danielk1977 branch: trunk, size: 35734
2004-05-25
23:35
Move the sqlite3_exec() function to legacy.c. (CVS 1455) file: [843361d6] check-in: [9385ad5c] user: danielk1977 branch: trunk, size: 40176
12:05
Change a couple of symbol names for the new user function API. (CVS 1454) file: [6b308d6f] check-in: [8f6b20c2] user: danielk1977 branch: trunk, size: 42269
2004-05-24
23:48
Aggregate functions also use sqlite_value* instead of const char * for arguments. (CVS 1451) file: [8279e116] check-in: [5c28ed5e] user: danielk1977 branch: trunk, size: 42257
12:39
Non-aggregate SQL functions use sqlite_value* instead of const char * for argument values. (CVS 1449) file: [fface1a6] check-in: [1e47d738] user: danielk1977 branch: trunk, size: 42254
2004-05-22
17:41
Split up os.c into separate files, one for each platform. (CVS 1441) file: [289e05cf] check-in: [5c61be1c] user: drh branch: trunk, size: 42243
09:21
Use the new form of the sqlite3_open() API everywhere. (CVS 1437) file: [6b59eda1] check-in: [b4492173] user: danielk1977 branch: trunk, size: 42118
08:09
Store the text encoding in the database (as meta value 4). (CVS 1435) file: [25f197c6] check-in: [7f00ca58] user: danielk1977 branch: trunk, size: 43866
03:05
Steps towards UTF-16 databases. Some tests are failing because of this commit. (CVS 1433) file: [a2be4b39] check-in: [c4a82468] user: danielk1977 branch: trunk, size: 43456
2004-05-21
11:39
Eliminate some unused code (CVS 1429) file: [5604d5a9] check-in: [550a53b3] user: danielk1977 branch: trunk, size: 43309
10:08
Further work on the new API. All the functions to execute queries are there now. (CVS 1427) file: [02969649] check-in: [fc94575d] user: danielk1977 branch: trunk, size: 45424
01:47
Add new sqlite3_open() and sqlite3_open16() APIs. (CVS 1423) file: [a9ee9826] check-in: [307b5500] user: danielk1977 branch: trunk, size: 44508
2004-05-20
22:16
Add internal support for collating sequences. This breaks 244 tests. (CVS 1420) file: [bb0e84ed] check-in: [a6cb09d7] user: drh branch: trunk, size: 40186
11:00
Add some more elements of the new API. (CVS 1416) file: [1bbb26e3] check-in: [2821767b] user: danielk1977 branch: trunk, size: 39694
01:40
Add some comments for sqlite3_bind_*() APIs. (CVS 1411) file: [2bfbddae] check-in: [46b09422] user: danielk1977 branch: trunk, size: 35784
2004-05-12
11:24
Add some more code to support manifest typing in indices. Not activated yet. (CVS 1362) file: [4b82d7e7] check-in: [2f16c9ef] user: danielk1977 branch: trunk, size: 36937
2004-05-11
09:50
Fix a bug that was preventing the library from opening existing files. (CVS 1358) file: [a5e34ce9] check-in: [ad064bd4] user: danielk1977 branch: trunk, size: 37258
09:31
Fix an offset problem in the meta values that was causing problems for many tests. (CVS 1357) file: [4cbf83c0] check-in: [6d378cb7] user: drh branch: trunk, size: 36634
09:05
Remove the unused upgrade_3_schema subroutine from main.c. (CVS 1356) file: [170992ae] check-in: [b5d2771e] user: drh branch: trunk, size: 36228
08:48
More small changes to get test cases to execute. (CVS 1355) file: [2732115c] check-in: [6dc60046] user: danielk1977 branch: trunk, size: 37977
07:11
Remove code dealing with old file formats. (CVS 1354) file: [07dbefd6] check-in: [dfde1121] user: danielk1977 branch: trunk, size: 37979
2004-05-10
23:29
Work toward getting the new btree.c integrated with vdbe.c. (CVS 1345) file: [5f8fe4e0] check-in: [bc5a2daf] user: drh branch: trunk, size: 39373
10:34
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1337) file: [45f0dc84] check-in: [ba2ba242] user: danielk1977 branch: trunk, size: 40544
01:17
Change some code that assumes the root-page of sqlite_master is 2 (it is now 1) (CVS 1333) file: [f6022478] check-in: [37ae528f] user: danielk1977 branch: trunk, size: 40470
2004-05-08
10:11
Minor change to main.c so that it will compile with GCC 2.96. (CVS 1325) file: [b6e249c7] check-in: [1a09a1ad] user: drh branch: trunk, size: 40434
08:23
Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the library links again. It doesn't work yet, due to changes in the btree layer calling convention. (CVS 1324) file: [eb4b3e74] check-in: [8af6474c] user: danielk1977 branch: trunk, size: 40445
2004-04-23
17:04
Get the temp_store and default_temp_store pragmas working. Update the documentation. Also fix a malloc problem that popped up during the regression testing. (CVS 1302) file: [94dd3557] check-in: [7ace5762] user: drh branch: trunk, size: 37133
2004-03-17
18:44
The sqlite_trace() API only works for commands started by the user, not for SQL commands run during initialization. (CVS 1298) file: [89a18cfb] check-in: [0a12473c] user: drh branch: trunk, size: 37039
2004-03-04
19:09
Correct duplicate tracing of SQL statements. (CVS 1284) file: [8e1b406d] check-in: [bb67311b] user: rdc branch: trunk, size: 37021
2004-02-25
22:51
Add comments and prototype for experimental sqlite_last_statement_changes() API function. Also, allow function to be called from tcl. (CVS 1273) file: [2956e933] check-in: [ca99920b] user: rdc branch: trunk, size: 36225
13:47
Min() and max() functions honor the distinction between TEXT and NUMERIC data. Ticket #623. typeof() is now a user function. Some tests are now failing due to ticket #521. (CVS 1272) file: [af984c8d] check-in: [adbe31ad] user: drh branch: trunk, size: 35974
2004-02-20
23:34
Turn the short_column_names pragma off by default - for the time being. (CVS 1254) file: [0f77633b] check-in: [6954d2c3] user: drh branch: trunk, size: 35855
22:53
Fixed behaviour of last_insert_rowid() with triggers and add last_statement_change_count() function that works correctly with triggers. (CVS 1251) file: [ab7f1aae] check-in: [3383413a] user: rdc branch: trunk, size: 35849
14:50
The name of a result column is now the name of column it originated from, by default. This can be turned off with PRAGMA short_column_names=OFF. This is to be more like PostgreSQL. More testing needed. (CVS 1250) file: [8d348b97] check-in: [574dd444] user: drh branch: trunk, size: 35776
2004-02-16
03:44
Remove the NullCallback opcode. Handle the empty_result_set pragma inside the sqlite_exec() function. (CVS 1244) file: [99211442] check-in: [f7213485] user: drh branch: trunk, size: 35739
2004-02-14
23:59
Eliminate obsolete code associated with the older callback functionality. (CVS 1243) file: [bb7cd00a] check-in: [2dbc4593] user: drh branch: trunk, size: 35496
23:05
Eliminate the use of callbacks during schema initialization. (CVS 1242) file: [e803d6cc] check-in: [af5c2be4] user: drh branch: trunk, size: 35528
17:35
Fix problems with malloc-failure handling. (CVS 1241) file: [1e464700] check-in: [398bc294] user: drh branch: trunk, size: 35209
16:31
The sqlite_exec() function is now implemented using sqlite_compile() and sqlite_step(). This opens up lots of opportunity to remove old code. (CVS 1240) file: [e38bf646] check-in: [9771ad1e] user: drh branch: trunk, size: 35185
2004-02-13
16:30
Begin the process over converting sqlite_exec() over to use sqlite_compile() and sqlite_step(). The new sqlite_exec() is still commented out. (CVS 1237) file: [cfe8ca91] check-in: [b8f2ba78] user: drh branch: trunk, size: 36155
2004-02-12
19:01
Add the SQLITE_NOTADB return code for cases when you try to open a file that does not even remotely resemble an SQLite database file. (CVS 1233) file: [3230d9e3] check-in: [0c77cee7] user: drh branch: trunk, size: 34936
18:46
Add hooks on each attached database connection for storing auxiliary information. Add the USING clause to ATTACH. (CVS 1232) file: [b5d68e85] check-in: [800c11f4] user: drh branch: trunk, size: 34856
15:31
Always reload the schema after a rollback. Ticket #594. (CVS 1229) file: [79e303dc] check-in: [12c7a83f] user: drh branch: trunk, size: 34926
2004-02-10
02:27
Move the file-format-2 to file-format-3 conversion into sqliteInit(). (CVS 1218) file: [6ec57b0f] check-in: [dcbe2800] user: drh branch: trunk, size: 34858
2004-01-15
13:29
More aggressive retry schedule in sqlite_busy_timeout(). (CVS 1181) file: [808ea1bd] check-in: [5e85025b] user: drh branch: trunk, size: 34758
02:44
Reinsert the experimental sqlite_commit_hook() API. (CVS 1179) file: [67af644f] check-in: [72bc84f2] user: drh branch: trunk, size: 34560
2003-12-06
21:43
Always use "(char*)0" to terminate the argument list of sqliteSetString(). This is needed for 64-bit systems that use a 32-bit integer by default. (CVS 1126) file: [3dd3cae0] check-in: [656c9038] user: drh branch: trunk, size: 34054
2003-10-18
09:37
Add sqlite_progress_handler() API for specifying an progress callback (CVS 1111) file: [9422005b] check-in: [ddb36463] user: danielk1977 branch: trunk, size: 33939
2003-09-06
22:18
Update Makefile.in for the new vdbeaux.c file. Remove the experimental "sqlite_instantiate()" routine and replace it with "sqlite_bind()" which is more like ODBC and JDBC. (CVS 1095) file: [ae924696] check-in: [990bb118] user: drh branch: trunk, size: 33396
01:10
The beginnings of changes to support pre-compiled SQL. Mostly untested, though all regression tests to pass. (CVS 1093) file: [e472b0c8] check-in: [912f47c7] user: drh branch: trunk, size: 34260
2003-07-27
17:26
Make sure the schema loader callback can handle EMPTY_RESULT_CALLBACKS being on. Ticket #406. (CVS 1065) file: [2500392b] check-in: [8c163fc0] user: drh branch: trunk, size: 33238
2003-07-22
09:24
Add experimental sqlite_reset() API (allows pre-compiled queries) (CVS 1060) file: [ce96c3c0] check-in: [1d2fcb01] user: danielk1977 branch: trunk, size: 33166
2003-07-09
00:28
Allow the output arguments in sqlite_compile and sqlite_step to be NULL pointers. Tickets #384 and #385. (CVS 1049) file: [8053b3a7] check-in: [dd84f88f] user: drh branch: trunk, size: 32640
2003-06-23
15:15
Remove a surplus "return" statement accidentaly left in check-in (1032). (CVS 1033) file: [1bfd1bfe] check-in: [c697410a] user: drh branch: trunk, size: 32627
11:06
Remove all references to SQLITE_OMIT_TRACE. Tracing is always enabled. Ticket #361. (CVS 1032) file: [284e19c7] check-in: [ec31a529] user: drh branch: trunk, size: 32639
2003-06-12
08:59
Added missing error string to sqlite_error_string(). (CVS 1018) file: [e818e84e] check-in: [3afb7b35] user: jplyon branch: trunk, size: 32630
2003-06-04
15:48
Change the "database_list" pragma to return a third column containing the filename of the underlying database file. Always use an in-memory TEMP database with an in-memory main database. (CVS 1003) file: [c785a3d4] check-in: [f39100f5] user: drh branch: trunk, size: 32547
2003-06-02
18:17
Fix an initialized variable in sqliteInitOne. (CVS 995) file: [945f9b68] check-in: [89957b09] user: drh branch: trunk, size: 32457
2003-05-31
16:21
Tighter binding of views, triggers, and indices to their respective databases. Ticket #323. Much more testing needs to be done to the sqliteFix...() routines in attach.c. (CVS 990) file: [d299e896] check-in: [7202d4f1] user: drh branch: trunk, size: 32447
2003-05-17
17:35
Fix problems with TEMP indices that lead to corrupt databases. These problems were discovered while working on ticket #317. No sure yet if that ticket is fixed. (CVS 981) file: [717aaf32] check-in: [01398fb7] user: drh branch: trunk, size: 32516
2003-05-04
17:58
Fix deficiencies in sqlite_complete() pointed out by R. Dennis Cote. (CVS 955) file: [16e68905] check-in: [54b33a5e] user: drh branch: trunk, size: 32276
2003-04-29
16:20
The sqlite_complete() function should ignore carriage-return characters. (Oops - some unrelated edits also made it into this check-in.) (CVS 942) file: [5265058c] check-in: [c6bf62e4] user: drh branch: trunk, size: 35246
2003-04-26
02:31
Fix the sqlite_complete() routine so that it recognizes /*...*/ comments. Ticket #277. (CVS 937) file: [6763d9a5] check-in: [ef8eb580] user: drh branch: trunk, size: 35229
2003-04-23
12:25
Remove the begin_hook and commit_hook APIs. They were a bad idea. Add a "trace" method to the TCL interface. (CVS 929) file: [5e4d4d08] check-in: [6289b863] user: drh branch: trunk, size: 34908
2003-04-17
22:57
Fix triggers to work in an ATTACHed database. Ticket #295. (CVS 915) file: [d6a7f78e] check-in: [1e5e00fb] user: drh branch: trunk, size: 35758
2003-04-16
20:24
Fix the authorizer so that it correctly interprets attempts to read the OLD and NEW pseudo-tables of a trigger. (CVS 911) file: [e48b3b01] check-in: [f04bd432] user: drh branch: trunk, size: 35689
01:28
Remove some unnecessary code and complication from the btree interface. (CVS 909) file: [9b3e2e1e] check-in: [35cc7c7d] user: drh branch: trunk, size: 35514
2003-04-15
01:19
Change some variable names and comments in the new in-memory database file implementation. Partial (non-working) implementation of the VACUUM command. (CVS 904) file: [daf5b7c2] check-in: [e76787f8] user: drh branch: trunk, size: 35514
2003-04-13
18:26
Support in-memory databases for temp tables (CVS 903) file: [8500dcd5] check-in: [96336bff] user: paul branch: trunk, size: 34619
2003-04-05
03:42
Begin testing the new ATTACH and DETACH commands. (CVS 898) file: [c5109638] check-in: [7a0f8024] user: drh branch: trunk, size: 32936
2003-04-03
15:46
Added experimental APIs: sqlite_begin_hook() and sqlite_commit_hook(). (CVS 896) file: [60a64f79] check-in: [5efbf623] user: drh branch: trunk, size: 32767
2003-03-31
00:30
The ATTACH and DETACH statements are now coded but are still mostly untested. (CVS 890) file: [6d9a3849] check-in: [c7c5e927] user: drh branch: trunk, size: 32176
2003-03-30
19:17
Remove the experimental sqlite_open_aux_file() API. It will soon be replaced by ATTACH and DETACH SQL commands. (CVS 889) file: [df729d60] check-in: [b6d6e07f] user: drh branch: trunk, size: 30470
2003-03-27
12:51
Changes to the "sqlite" structure that allow simultaneous operations on multiple database files. Many regession tests pass - but not all of them. Do not use this version except for debugging SQLite itself. (CVS 883) file: [e0d9a865] check-in: [d2fb2bb5] user: drh branch: trunk, size: 31876
2003-03-20
01:16
Record the database name in addition to the table name for DELETE, INSERT, and UPDATE statements. (CVS 879) file: [66cd7ff4] check-in: [a5d8fc95] user: drh branch: trunk, size: 31682
2003-03-19
03:14
Modifications to the VDBE to support more than one database file. (CVS 878) file: [d0418850] check-in: [875da9ee] user: drh branch: trunk, size: 31595
2003-02-16
22:21
Added test code to check for file descriptor leaks. All regression tests pass now on both win2k and linux. (CVS 868) file: [51688c47] check-in: [75ba7828] user: drh branch: trunk, size: 31232
2003-02-12
14:09
Added the new FULL option to the SYNCHRONOUS pragma. Still need to test it. (CVS 863) file: [f88dfe09] check-in: [792a9e15] user: drh branch: trunk, size: 31148
2003-01-29
18:46
Better error messages on constraint violations. Additional tests and bug fixes for the callback-free API. (CVS 854) file: [764a72e6] check-in: [ccc82f1a] user: drh branch: trunk, size: 31012
14:06
The callback-free API is now working, though much more testing is need. (CVS 853) file: [f1c86161] check-in: [162b2591] user: drh branch: trunk, size: 30967
2003-01-28
23:13
First code for the new callback-free API. All regression tests pass but the new API is mostly untested and is unlikely to work. (CVS 852) file: [c58cdfb5] check-in: [065fa818] user: drh branch: trunk, size: 30987
2003-01-19
03:59
Update comments. No changes to code. (CVS 841) file: [ad3193c5] check-in: [f6a87068] user: drh branch: trunk, size: 28682
2003-01-18
17:04
Check the validity of the database connection before the trace callback, not afterwards. (CVS 837) file: [a05db522] check-in: [960a2e4a] user: drh branch: trunk, size: 28613
2003-01-16
16:28
Add the sqlite_trace() hook for tracing the SQL that an application executes. The plan is to leave this API undocumented for the time being, in case we want to make changes to it later. (CVS 836) file: [2747a82e] check-in: [f67bff8f] user: drh branch: trunk, size: 28613
2003-01-12
18:02
Initial check-in of the code for the new sqlite_set_authorizer() API function. The code is mostly untested at this point. (CVS 827) file: [c8f8fdfe] check-in: [52d5007f] user: drh branch: trunk, size: 28035
2002-12-02
04:25
Change to the pager to avoid opening journal files unnecessarily. This can sometimes results in a significant speed improvement. (CVS 791) file: [cee05c2b] check-in: [fa5c0425] user: drh branch: trunk, size: 27955
2002-11-09
00:33
Try to better detect when the library is compiled for large file support (LFS) but the support is not available in the host OS kernel. (CVS 782) file: [f04f93b8] check-in: [a29d60ec] user: drh branch: trunk, size: 27958
2002-11-01
01:55
Improvements in threadtest.c (for Unix) and some minor bug fixes that result from the better testing. (CVS 776) file: [b95d7eee] check-in: [326e0983] user: drh branch: trunk, size: 27878
2002-09-05
23:21
Fix a memory leak that occurred when sqlite_open() failed. (CVS 745) file: [ff7c05ef] check-in: [a8760213] user: drh branch: trunk, size: 27802
2002-09-03
19:43
Always fill in the 5th parameter to sqlite_exec if there is an error. (CVS 742) file: [367c0d2c] check-in: [7f8fd5c7] user: drh branch: trunk, size: 27802
2002-08-31
18:53
Parse foreign key constraints and populate internal data structures appropriately. Constraints are still not enforced. (CVS 738) file: [46d6a880] check-in: [170711ca] user: drh branch: trunk, size: 27674
2002-08-29
23:59
If the database is locked when sqlite_open() is called, sqlite_exec() should still honor the busy callback and should return an error message together with the SQLITE_BUSY result code. (CVS 733) file: [26a31201] check-in: [78a0229a] user: drh branch: trunk, size: 27589
2002-08-24
18:24
Change the way token memory is allocated in an effort to fix ticket #136. There is now a memory leak when using views of views. (CVS 725) file: [9f2633cb] check-in: [22d8726e] user: drh branch: trunk, size: 27352
2002-08-13
23:02
Make the distinction between text and numeric data. (CVS 710) file: [c7e313ef] check-in: [310ac4fb] user: drh branch: trunk, size: 27236
20:45
Documentation and makefile updates. (CVS 709) file: [69f85a56] check-in: [92c403f4] user: drh branch: trunk, size: 27236
2002-08-02
10:36
Remove the restriction that a transaction cannot be started by one linuxthread and continued by another. Leave in the documentation the warning about not carrying a database connection across fork() but do not test for it any more. Ticket #130. (CVS 701) file: [0f5d0f6f] check-in: [bdbdb866] user: drh branch: trunk, size: 27236
2002-07-31
00:32
Fix for ticket #104: Make triggers on views work properly even after closing and reopening the database. Also fixed an unrelated bug in the version 2.6.0 database format upgrade logic. The upgrade logic bug was found while testing the trigger fixes. (CVS 697) file: [6ae1d211] check-in: [04973fc2] user: drh branch: trunk, size: 27335
2002-07-30
18:43
Fix for ticket #114: Correctly handle SQLITE_BUSY if it occurs during database initialization. (CVS 696) file: [4a9b0bae] check-in: [5b814b5d] user: drh branch: trunk, size: 26895
2002-07-19
19:03
Rig the ident string so that it is not changed by RCS on checkin. (CVS 692) file: [d759cb3e] check-in: [773d36c8] user: drh branch: trunk, size: 26799
18:52
Fix an assertion failure that occurs when attempting to delete all rows of a table while the "count_changes" pragma is turned on. Up the version number to 2.6.1. (CVS 690) file: [bbf5b553] check-in: [612df004] user: drh branch: trunk, size: 26811
18:13
Add static ident strings (such as picked up by the RCS "ident" command) containing the library version number. (CVS 689) file: [553efc8e] check-in: [712ee391] user: drh branch: trunk, size: 26807
17:46
Better detection and reporting of errors when initializing from the sqlite_master table. (CVS 688) file: [ac960084] check-in: [c8a7b725] user: drh branch: trunk, size: 26722
2002-07-18
01:27
Make the automatic database upgrade work even if there are triggers. Add tests for automatic upgrade and for failing if reading a more advanced version of the database. Ticket #107. (CVS 682) file: [e22729b9] check-in: [0493e39c] user: drh branch: trunk, size: 26068
00:34
Fix for ticket #107: Fix a design defect in indices that was causing queries to fail when using an index on a column containing an empty string. This fix is an incompatible file-format change. (CVS 681) file: [dbe691d2] check-in: [20d152fc] user: drh branch: trunk, size: 25805
2002-07-13
17:23
Partial fix for ticket #96: Return SQLITE_MISUSE from sqlite_exec() if called from a child process with an active transaction that was started in the parent. (CVS 675) file: [d9ff20d7] check-in: [72a609ec] user: drh branch: trunk, size: 23756
2002-06-25
19:31
Add the sqlite_open_aux_file() API. (CVS 646) file: [6ac32ca7] check-in: [332164d6] user: drh branch: trunk, size: 23657
01:09
Added support for the "sqlite_temp_master" table. Increased the version number to 2.5.2. (CVS 640) file: [43d5f4e3] check-in: [9c1432bf] user: drh branch: trunk, size: 22156
2002-06-22
02:33
An optimization: avoid the use of an intermediate table on UNION ALL if there is no ORDER BY clause. (CVS 637) file: [0e922ecf] check-in: [8aa73ce6] user: drh branch: trunk, size: 27544
2002-06-21
11:55
Fix for ticket #78: Avoid an assertion failure when sqlite_close() to be called in the middle of a transaction. (CVS 634) file: [53995702] check-in: [2532792a] user: drh branch: trunk, size: 27524
2002-06-20
11:36
This patch contains the beginnings of the data-typing infrastructure. The new build-in TypeOf() function is added. New opcodes for doing pure text comparisons are added. Most changes are disabled pending the 2.6.0 release. (CVS 632) file: [d026463c] check-in: [cbbc858d] user: drh branch: trunk, size: 27487
2002-06-16
18:21
Expose an additional internal API routine (sqliteInitCallback()) for use by private code. (CVS 624) file: [07f56387] check-in: [cd74495f] user: drh branch: trunk, size: 27009
2002-06-14
20:54
Fix for bug #72: Make sure the file descriptors are properly closed if sqliteInit() fails for any reason. (CVS 617) file: [c99dc0a5] check-in: [e67ac0fe] user: drh branch: trunk, size: 26998
2002-06-09
10:14
Fix the spelling of sqliteRegisterBuiltinFunctions(). (CVS 613) file: [3a4e5312] check-in: [74d297d9] user: drh branch: trunk, size: 26998
2002-05-23
13:15
Fix for ticket #50. (CVS 582) file: [6e53c49a] check-in: [82b74a49] user: drh branch: trunk, size: 26998
02:09
Fix some places where a malloc() failure would lead to a segfault. (CVS 580) file: [1b10b053] check-in: [01ad352c] user: drh branch: trunk, size: 26981
2002-05-19
23:43
Style fixes to triggers code in various *.c files (partial fix to ticket #39) (CVS 571) file: [3f0db74a] check-in: [8a4195c7] user: danielk1977 branch: trunk, size: 26891
2002-05-15
14:17
Fix for ticket #41: Better handling of CREATE TRIGGER in the sqlite_complete() function. (CVS 567) file: [de486c89] check-in: [f45c4b76] user: drh branch: trunk, size: 26887
11:44
Remove all tabs from the beginning of source code lines. Replace tabs with the appropriate number of spaces. (CVS 565) file: [9e9ba7d8] check-in: [690f9a16] user: drh branch: trunk, size: 25718
08:30
Added FOR EACH ROW triggers functionality (CVS 562) file: [6bc0b3dd] check-in: [794bf67b] user: danielk1977 branch: trunk, size: 25648
2002-05-10
13:14
Improvements to the SQLITE_MISUSE detection logic. Also added test cases for this logic, including the new test file "misuse.test". (CVS 559) file: [0a464366] check-in: [f42907ce] user: drh branch: trunk, size: 24752
05:44
Attempt to detect when two or more threads try to use the same database at the same time and return an SQLITE_MISUSE error. Also return this error if an attempt is made to use a closed database. (CVS 558) file: [a7041c9a] check-in: [a05fabd2] user: drh branch: trunk, size: 23627
2002-04-12
10:08
Fix for bug #15: Add the sqlite_changes() API function for retrieving the number of rows that changed in the previous operation. (CVS 526) file: [df43fe58] check-in: [6e71493b] user: drh branch: trunk, size: 22211
2002-03-06
22:01
Added the default_cache_size and default_synchronous pragmas. Added additional tests for pragmas. Added a new speedtest script. (CVS 421) file: [b2101908] check-in: [161c0c5f] user: drh branch: trunk, size: 21976
2002-03-05
01:11
Add the ability to turn of calls to fsync() using the "synchronous" pragma. Increased the default cache size from 100 to 2000 and made the "cache_size" pragma persistent. (CVS 418) file: [3015c23f] check-in: [414da4af] user: drh branch: trunk, size: 21937
2002-02-28
00:41
Completely remove the old SQL function system and replace it with the new user functions. The code currently compiles but it coredumps on the test suite. Do not use in its present state. (CVS 400) file: [56511465] check-in: [50797fee] user: drh branch: trunk, size: 21509
2002-02-27
19:00
Revise the API for user-defined functions. (CVS 398) file: [98f6c6f2] check-in: [633951f0] user: drh branch: trunk, size: 21530
01:53
The user-defined function routines failed to detect a malloc() failure. (CVS 397) file: [cbfa66d5] check-in: [085b0d67] user: drh branch: trunk, size: 21388
2002-02-24
01:55
Move the build-in function definitions into a new source file "func.c". (CVS 391) file: [69ba2340] check-in: [530b0f4f] user: drh branch: trunk, size: 21342
2002-02-23
23:45
Added support for user-defined normal functions. Support for user-defined aggregates is pending. (CVS 390) file: [0fa2298a] check-in: [c490a1ff] user: drh branch: trunk, size: 22044
2002-02-21
12:01
Change the SQLITE_MASTER format to version 2 in preparation for adding views. (CVS 386) file: [abc0732d] check-in: [b2a9807f] user: drh branch: trunk, size: 19387
2002-02-19
22:42
New ROWIDs are numbered sequentially. (CVS 383) file: [fada622b] check-in: [1686196a] user: drh branch: trunk, size: 17954
2002-02-18
18:30
Add support for CREATE TABLE AS. (CVS 377) file: [669cfd9a] check-in: [78a50971] user: drh branch: trunk, size: 17970
2002-02-02
15:01
Checkpoint code added to the pager. Regression tests work but the new APIs have not been tested yet. (CVS 361) file: [300320ba] check-in: [aaa53e11] user: drh branch: trunk, size: 17808
2002-01-31
15:54
Change to five conflict resolution algorithms: ROLLBACK, ABORT, FAIL, IGNORE, and REPLACE. This checkin is code only. Documentation and tests are still needed. Also, ABORT is not fully implemented. (CVS 360) file: [637582b8] check-in: [d0e7cf4a] user: drh branch: trunk, size: 17138
2002-01-16
21:00
Added the last_insert_rowid API function. Improved documentation of the random ROWID algorithm. (CVS 349) file: [0205771a] check-in: [f74d61aa] user: drh branch: trunk, size: 17110
2002-01-10
14:31
Fix a problem with the way temporary tables mask permanent tables. (CVS 345) file: [bdce5ed2] check-in: [ba89da60] user: drh branch: trunk, size: 16989
2002-01-09
03:19
Working on a bug: Dropping and recreating a table within a transaction causes an assertion failure. (CVS 342) file: [46c75271] check-in: [b3656a5c] user: drh branch: trunk, size: 16679
2002-01-06
17:07
Comment updates most. Also some small changes to the VDBE. (CVS 339) file: [567e472a] check-in: [9b0be4fc] user: drh branch: trunk, size: 16405
2001-12-21
14:30
Added support for the INTEGER PRIMARY KEY column type. (CVS 333) file: [00a9f560] check-in: [236a54d2] user: drh branch: trunk, size: 16219
2001-12-05
00:21
Bug fix: sqlite_exec() would sometimes return SQLITE_PROTOCOL when it should have returned SQLITE_BUSY. There was also a deadlock that the previous bug was masking. (CVS 322) file: [e5fa4773] check-in: [585ed5eb] user: drh branch: trunk, size: 16405
2001-11-23
00:24
Fix a bug in DROP TABLE that could cause SQLITE_MASTER table corruption. The root problem was that the sequence of BTree operations (Delete, Next) would not always leave the cursor pointing at the first entry after the entry that was deleted. A consequence of this error was that a DROP TABLE on a table with indices would not always remove every index associated with that table from the SQLITE_MASTER table. Subsequent attempts to open the database will fail when the index for the missing table was parsed. Changes have also been made to ignore extra indices in the SQLITE_MASTER table so that a database previously corrupted by this bug is once again readable. (CVS 316) file: [799bdaf3] check-in: [8a984667] user: drh branch: trunk, size: 16407
2001-11-07
16:48
New Next opcode and indexing style implemented. (CVS 304) file: [0b0e7244] check-in: [decbeb91] user: drh branch: trunk, size: 16414
2001-11-03
23:57
Added "const" to lots of "char*" parameters in the API. (CVS 298) file: [e2ae5e14] check-in: [1c448f1f] user: drh branch: trunk, size: 16447
2001-10-22
02:58
More changes for 2.0.7. (CVS 293) file: [47922699] check-in: [f8328a5f] user: drh branch: trunk, size: 16447
2001-10-12
17:30
Fix an assertion failure when the disk fills up. Add tests for a full disk situation. (CVS 285) file: [9a18e972] check-in: [0a7848b6] user: drh branch: trunk, size: 15928
2001-10-09
13:46
The sqlite_busy_timeout() function was interpreting its second argument as seconds, not milliseconds as advertised. This patch fixes the problem. (CVS 284) file: [ece73e5a] check-in: [abe5a25b] user: drh branch: trunk, size: 15928
2001-10-08
13:22
Support for temporary tables added. Still need more testing. (CVS 279) file: [87b2fca5] check-in: [9368c62e] user: drh branch: trunk, size: 15938
2001-10-06
16:33
Adding table column query capability to support ODBC. (CVS 278) file: [6db4ba7e] check-in: [b63b3f36] user: drh branch: trunk, size: 15414
2001-09-27
15:11
Fixed the support of UNIQUE and PRIMARY KEY. (CVS 268) file: [87cabd64] check-in: [116fdad0] user: drh branch: trunk, size: 14401
2001-09-23
20:17
RowIDs are now always expressed in native byte order. (CVS 263) file: [00ff61d8] check-in: [bb4313a9] user: drh branch: trunk, size: 14504
2001-09-22
18:12
Put in a generic hash table system in place of the various ad-hoc hash table scattered everywhere. Except, the page hash table in the pager is unchanged. (CVS 260) file: [49af06b7] check-in: [9114420d] user: drh branch: trunk, size: 14461
2001-09-19
13:22
Trying to get the OS abstraction layer to work. (CVS 256) file: [5e5794ee] check-in: [abff526d] user: drh branch: trunk, size: 14274
2001-09-17
20:25
Add a new column in the SQLITE_MASTER table to record the root page number of primary key indices. (CVS 252) file: [71ca839b] check-in: [602ea4f9] user: drh branch: trunk, size: 14332
2001-09-16
00:13
Disclaimed copyright. Preparing for release 2.0. (CVS 250) file: [1523c790] check-in: [4e926efe] user: drh branch: trunk, size: 13828
2001-09-15
00:57
Everything is working on Linux. This is release 2.0-Alpha-1. (CVS 246) file: [73be8d00] check-in: [14474fa1] user: drh branch: trunk, size: 14383
2001-09-14
16:42
Bug fixes and speed improvements. Delete is still slow. (CVS 244) file: [a2c14262] check-in: [7da856cd] user: drh branch: trunk, size: 13470
2001-09-13
21:53
Many problems fixed. Many problems yet to go. (CVS 242) file: [b72d2b03] check-in: [62c7bd11] user: drh branch: trunk, size: 13464
16:18
It runs. Simple tables can be created. INSERT and SELECT work. Much more testing is needed, however. (CVS 241) file: [1feb8e66] check-in: [9ac8399c] user: drh branch: trunk, size: 13400
15:21
The new Btree code runs, but it does not yet work. (CVS 240) file: [c5f89316] check-in: [991ce811] user: drh branch: trunk, size: 12975
14:46
The BTree changes are now integrated and the whole thing compiles and links. I have not yet tried to run it, though. (CVS 239) file: [b7a2da83] check-in: [a0a1e701] user: drh branch: trunk, size: 12953
13:46
The code is in place to replace GDBM with BTree. But I have not yet attempted to compile it. I am sure the code contains bugs. (CVS 238) file: [afdb7ecb] check-in: [6ecc8b20] user: drh branch: trunk, size: 12954
2001-04-28
16:52
:-) (CVS 214) file: [0a13c7a2] check-in: [73a1ed61] user: drh branch: trunk, size: 12659
2001-04-11
14:28
better handling of out-of-memory errors (CVS 207) file: [92ce30a8] check-in: [86b30cd0] user: drh branch: trunk, size: 12612
2001-04-06
16:13
Check for miscompiled Tcl (CVS 204) file: [fe5c2662] check-in: [735d8b5c] user: drh branch: trunk, size: 12365
2001-04-05
15:57
i18n changes (CVS 201) file: [d52a1c2a] check-in: [8390f652] user: drh branch: trunk, size: 12353
2001-02-11
16:56
Perpare to fork SQLite2.0 develop into a separate tree (CVS 183) file: [5afe29c4] check-in: [6adb6078] user: drh branch: trunk, size: 12122
2001-01-15
22:51
continued progress toward version 2.0 (CVS 177) file: [92fcd6d9] check-in: [c6ffb7ec] user: drh branch: trunk, size: 12124
2001-01-13
14:34
Changes to the DBBE. Moving toward having many more backend driver choices. (CVS 176) file: [340e5b04] check-in: [c0730217] user: drh branch: trunk, size: 12112
2000-12-10
18:23
speed tweaks and documentation updates (CVS 167) file: [52355458] check-in: [ced90c3f] user: drh branch: trunk, size: 12109
2000-10-19
01:49
Break out DBBE drivers into separate files. (CVS 157) file: [6686df1f] check-in: [979ef5d5] user: drh branch: trunk, size: 11637
2000-10-16
22:06
Added an interrupt capability (CVS 153) file: [47747315] check-in: [f7ea08b9] user: drh branch: trunk, size: 11638
2000-10-11
19:28
Misc cleanup. Notes on compiling for Win95. (CVS 152) file: [03ca6d76] check-in: [3f0f1fa1] user: drh branch: trunk, size: 11505
2000-08-22
13:40
:-) (CVS 139) file: [9a89579b] check-in: [67e2da38] user: drh branch: trunk, size: 11515
13:40
:-) (CVS 138) file: [6cd0bb4a] check-in: [c6b71d9b] user: drh branch: trunk, size: 11522
2000-08-02
13:47
file format change (CVS 122) file: [ba16b818] check-in: [b7b90237] user: drh branch: trunk, size: 11432
2000-07-31
13:38
patches to compile for WinNT (CVS 115) file: [c4b6678a] check-in: [47dfec3a] user: drh branch: trunk, size: 10227
2000-07-28
14:32