SQLite4
Timeline
Not logged in

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

50 check-ins occurring around 2d7bf1c174d407d5.

2012-06-25
19:46
Complete removal of sqlite4_config(). All code now uses sqlite4_env_config() instead. check-in: 33bf91ee7c user: drh tags: trunk
19:34
Merge the sqlite4_env api changes onto trunk. There is still a lot of work to be done, but it at least now passes most tests. check-in: 4192f826d1 user: drh tags: trunk
19:28
Fixes to the kvwrap test interface. At this point, most tests pass, though there are still massive memory leaks. Major unresolved issues: (1) the global function. (2) API for substituting new storage engines. Leaf check-in: dee2172b52 user: drh tags: sqlite4_env
19:16
Fix another remapping related problem. check-in: 3e50bb0a22 user: dan tags: embedded-btree
18:53
Initialize the random number generator in sqlite4_initialize(). check-in: a34def59f7 user: drh tags: sqlite4_env
18:40
Fix a problem with stale pointers after remapping a file. check-in: 49cfd9043b user: dan tags: embedded-btree
10:02
Fix various glitches to do with iterating through b-tree structures. check-in: a983d57868 user: dan tags: embedded-btree
2012-06-23
20:22
Scan the embedded b-trees instead of the separator runs when merging in separator keys from a lower level. check-in: 90c0d5d8fe user: dan tags: embedded-btree
17:26
Tests run to completion now - no more assertion faults. But still lots of errors and memory leaks. check-in: 272ebdd8c0 user: drh tags: sqlite4_env
10:04
Add untested functions to save and restore b-tree cursor positions. check-in: cc0b45d17e user: dan tags: embedded-btree
2012-06-22
20:29
Continuing work on sqlite4_env and getting it to be used everywhere. The changes here are mostly having to do with mutexes. They compile, but there are errors. This is an incremental check-in so that I can change to work on another project where an issue has just come up. check-in: 1d65209131 user: drh tags: sqlite4_env
18:06
Merge trunk changes. check-in: df818c275b user: dan tags: embedded-btree
17:57
Add functions to iterate through b-tree keys. Also a complex assert statement to check that b-trees are correct with respect to the main run content. check-in: 29d761c438 user: dan tags: embedded-btree
16:55
Modify sqlite4_mem_methods to remove xRoundup, add the Benign methods, and for all methods to take an environment pointer as their first argument. check-in: 949cb749fe user: drh tags: trunk
14:58
Add the sqlite4_env parameter to sqlite4_threadsafe(). check-in: d3fa91fcba user: drh tags: trunk
14:38
Update sqlite4_snprintf() documentation to conform to the implementation. Add the sqlite4_env pointer to sqlite4_randomness(). check-in: 3d9d348099 user: drh tags: trunk
14:11
Add sqlite4_env pointers to BenignMalloc() interfaces. check-in: 1d55f52a68 user: drh tags: trunk
13:55
Hash objects track and use the sqlite4_env environment object. check-in: 51ce2f2c5a user: drh tags: trunk
13:41
Update the KVStore and KVCursor objects so that they track and use the run-time environment in which they were created. check-in: dfb7327a6b user: drh tags: trunk
13:07
Add (incomplete) notes on porting an application from SQLite3 to SQLite4. check-in: 4d0c4d3194 user: drh tags: trunk
13:02
Refactor the sqlite4_snprintf() interface to be closer to (but not exactly the same as) the design of snprintf() from the standard library. Make the StrAccum object aware of sqlite4_env. check-in: 8f6298ae15 user: drh tags: trunk
10:31
The same errors seen in the malloc-refactor branch are also on trunk, so go ahead and merge the malloc-refactor changes back into trunk. The errors were not caused by the refactoring, apparently. check-in: 91ba00572b user: drh tags: trunk
10:26
"make test" now runs to completion. But there are 5 errors and a big memory leak. Leaf check-in: 4360e4fcf7 user: drh tags: malloc-refactor
02:37
Begin refactoring the memory allocation logic to always require an environment pointer. This code will compile but does not run. check-in: 196691d50e user: drh tags: malloc-refactor
2012-06-21
20:22
Experimentally try embedding b-tree pages in sorted runs instead of creating an external separators run. This slows down the rate at which blocks can be cycled during incremental merging, but also makes database writes more contiguous. check-in: 97fe6585f1 user: dan tags: embedded-btree
19:13
Get the amalgmation build working. check-in: 2d7bf1c174 user: drh tags: trunk
2012-06-20
18:44
Do not crash if a NULL pointer is passed to lsm_work(). check-in: 9c5b3be405 user: dan tags: trunk
18:12
Fix errors in log1.test. check-in: e68d4c19fc user: dan tags: trunk
18:08
Avoid creating the first page of a separators run until the first key is actually ready. check-in: 370c91e3fb user: dan tags: trunk
15:21
Fix another issue to do with non-default page sizes. check-in: 081b0b60d9 user: dan tags: trunk
15:06
Make the page-size and block-size of a database read-only after the database has first been opened (even if it is has not been written to). check-in: d3bdb27143 user: dan tags: trunk
09:02
Fix a crash that can occur if there are multiple clients and one calls lsm_work() on an empty database. check-in: f148e2d69e user: dan tags: trunk
2012-06-19
20:13
Fix an issue with opening a database with a page-size other than the default. check-in: a3bb493051 user: dan tags: trunk
19:20
Fix typo in lsm.h. check-in: eac6a6e736 user: dan tags: trunk
19:18
Add OOM tests. check-in: af626f504f user: dan tags: trunk
17:12
Fix a memory leak. And a crash that can follow an OOM condition. check-in: 0b88b3e607 user: dan tags: trunk
15:49
Fix a bug in saving the free-list. check-in: 1b963352fc user: dan tags: trunk
11:06
Add the lsm_env.xFullpath method. check-in: a44d3a0079 user: dan tags: trunk
09:33
Add the lsm_env.xFileid method. check-in: 2c1cb6d1df user: dan tags: trunk
2012-06-18
11:58
Add an option to lsmtest to log all writes and syncs to a file. And a mode to play back the writes and syncs in a log file. check-in: 3ac27ad615 user: dan tags: trunk
09:49
Sometimes (quite infrequently), SQLite will call OP_Next or OP_Prev on a cursor that points at EOF (usually because it has been opened but not positioned). SQLite expects SQLITE_NOTFOUND here, but lsm considers this a misuse. Add a workaround to catch this case in kvlsm.c. check-in: 33f7f3d0ca user: dan tags: trunk
2012-06-16
20:17
Use LSM_SEEK_LEFAST to allocate rowids and table numbers. check-in: 17cbef9640 user: dan tags: trunk
17:57
Fix a typo in key_encoding.txt. check-in: 16087468ca user: dan tags: trunk
15:15
Wiki-ify more of the design document. check-in: 2918b534a9 user: drh tags: trunk
01:51
Largely replace sqlite4_config() and sqlite4_status() with sqlite4_env_config() and sqlite4_env_status(). Hold status information in the sqlite4_env object. The old sqlite4_config() interface is still used by test_storage2.c. check-in: 069df232c7 user: drh tags: trunk
00:52
Expand the sqlite4_env_config() functionality, moving it towards becoming a replacement for sqlite4_config(). check-in: bc03d8b6ae user: drh tags: trunk
2012-06-15
19:45
The sqlite4_initialize() and sqlite3_shutdown() routines now apply to a specific sqlite4_env object, not to the entire process. check-in: 816caf4560 user: drh tags: trunk
19:25
Remove LSM_INFO_CKPT. check-in: 265f78a59f user: dan tags: trunk
19:15
Remove the sqlite4_temp_directory global variable. check-in: 621d0959d3 user: drh tags: trunk
18:44
Add a link to env.wiki to the homepage. check-in: a9320cba9e user: drh tags: trunk