SQLite4
Timeline
Not logged in

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

50 descendants and 50 ancestors of [b66a99f023]

2012-07-21
19:35
Further progress towards multiple processes. check-in: 2e04c147f3 user: dan tags: multi-process
2012-07-20
20:27
Changes towards supporting multiple processes. This branch crashes at the moment. check-in: b20504a93b user: dan tags: multi-process
2012-07-16
00:03
Fix errors in the examples of numeric encoding on the key-encoding wiki page. check-in: 10befd97f8 user: drh tags: trunk
2012-07-07
19:52
Merge trunk changes. check-in: d8523ddd93 user: dan tags: multi-process
19:43
Store the checkpoint id associated with each free-list entry in the checkpoint itself. check-in: fe3cca104b user: dan tags: multi-process
15:51
Store the append-point list in the checkpoint. Limit it to a maximum of 4 entries. check-in: 4241ba7584 user: dan tags: multi-process
12:21
minor doc update. check-in: 3ffef65b7c user: stephan tags: trunk
11:44
merged in lsm_env-xsize branch. check-in: 3dd0037efb user: stephan tags: trunk
11:43
Added license header to test_mem.c Closed-Leaf check-in: 1eb4aaa4c2 user: stephan tags: lsm_env-xsize
11:30
Updates to test_mem.c. Add the "mtv.tcl" script to the tool/ directory. check-in: 4c5516a180 user: dan tags: lsm_env-xsize
01:48
removed unused var. check-in: bc9838094b user: stephan tags: lsm_env-xsize
01:47
Removed unused variables. check-in: a65e92209c user: stephan tags: lsm_env-xsize
01:44
removed a .PHONY which caused too many automatic runs of "test". check-in: 015bf0d87b user: stephan tags: lsm_env-xsize
2012-07-06
22:38
Minor internal doc correction. check-in: 2ee70dc7a3 user: stephan tags: trunk
22:13
Minor cleanups to the previous commit. check-in: 1f710b8de6 user: stephan tags: lsm_env-xsize
22:00
Added lsm_env::xSize() for Posix. Added initial memory-tracking bits to tclsqlite per request from Dan. check-in: bd2e6627f8 user: stephan tags: lsm_env-xsize
21:58
Create new branch named "lsm_env-xsize" check-in: 6d31a9d20c user: stephan tags: lsm_env-xsize
17:42
Add file "shm.wiki" with notes regarding shared memory contents. check-in: daac1c7c4e user: dan tags: multi-process
2012-07-04
09:44
Remove unused variable. check-in: 28a10397d1 user: dan tags: trunk
2012-07-03
18:59
Add OOM test cases. check-in: e5f3a7f3bb user: dan tags: trunk
2012-07-02
20:30
Move some elements of struct "Snapshot" into struct "Database". check-in: bb5e2480d9 user: dan tags: trunk
17:41
Fix bug that could occasionally cause reverse scans to visit deleted keys. check-in: 68cf8c4224 user: dan tags: trunk
15:28
Fix a bunch of warnings. Add const to lsm.h functions where required. Add declaration for lsm_delete_range(). check-in: aa6a7a1405 user: dan tags: trunk
14:43
Fix the build for Mac. check-in: de69df8f21 user: drh tags: trunk
14:38
Add extra crash simulation test. check-in: 32a1ec497d user: dan tags: trunk
13:01
Removed "struct" in some decls where it is not necessary due to typedefing of the struct. check-in: 72d8d2c1a3 user: stephan tags: trunk
11:49
Update power-failure simulation tests. Run these along with all other tests as part of the "lsmtest test" command instead of via "lsmtest crash". check-in: 14ebedd379 user: dan tags: trunk
2012-07-01
12:56
Added "more comfortable" GNUmakefile.linux (symlink it to GNUmakefile) to simplify pre-configuration of the build on linux. This one forces re-build of the major headers if any makefile changes. check-in: 022ebd696a user: stephan tags: trunk
12:54
TCC now defaults to BCC (which the comments suggest it should). Changed more vars use ?= assignments. check-in: 2600364e5d user: stephan tags: trunk
12:26
Reverted inadvertent TCL_FLAGS changes in Makefile.linux-gcc (now points back to drh). check-in: 3778d30fed user: stephan tags: trunk
12:14
minor optimization to rowsetAllocateChunk(), replacing a static with a local enum (less stack space). check-in: c7aae3142c user: stephan tags: trunk
11:54
Added a missing "else" which, under certain invalid Mem::flags conditions, would lead to the illegal reading of two different members from the Mem::u union. check-in: c8400e4a56 user: stephan tags: trunk
11:12
Refactored rowsetAllocChunk() to be grokkable in a single reading, drop an unneeded cast and one unneeded address-of operator. Efficiency "should be" better by one address-of op. check-in: f1d0e9ec1a user: stephan tags: trunk
09:45
added -fPIC flags to gcc (needed in order to link libsqlite4 with clients on some platforms). check-in: a7ea695809 user: stephan tags: trunk
08:42
Changed TOP dir to . for consistency with other makefiles. Added "?=" assignments to TCC/BCC to allow us to selectively override them from a local GNUmakefile. check-in: 646e0ff83a user: stephan tags: trunk
08:40
moved FTS3_OBJ into its own variable so that i can disable it for tcc builds (where it does not compile). check-in: 9fb002dc3e user: stephan tags: trunk
2012-06-30
21:49
Update main.mk so that the Makefile.linux-gcc builds out of the box. The extra OPTS parameters in main.mk will need to be removed, eventually. check-in: 8f2a15eba2 user: drh tags: trunk
19:29
Test that a crash during database checkpoint does not cause data loss. Fix the same. check-in: 7eb384bf3a user: dan tags: trunk
17:18
Fix some errors in lsm OOM tests. check-in: dcb644174f user: dan tags: trunk
15:44
s/sqlite_(u)int64/sqlite4_(u)int64/g. v3 and 4 now compile/link together with downstream apps provided the v3/v4 sources/amalgamations are each in separate compilation units (the have static/internal symbols which collide, but no public ones). check-in: 1b1bc882cc user: stephan tags: trunk
14:58
Repaired freeing of Db::pSchema in sqlite4_close() (was apparently broken by porting-related changes). check-in: b1b19786f8 user: stephan tags: trunk
12:22
Added a compatibility crutch to lsmStringVAppendf() for C89 and vsnprintf() (which is not C89, but most platforms have it). It will not _link_ on a pure C89 platform (with no vsnprintf()), but it now compiles on such platforms. sqlite4_vsnprintf() behaves differently and causes test failures if used here. check-in: 61f3dc58ad user: stephan tags: trunk
11:23
Added a memset() ifndef NDEBUG to hide an uninitialized write() memory access in debug builds (to avoid poluting the valgrind log). check-in: 2da2944388 user: stephan tags: trunk
11:02
sqlite4_initialize/shutdown() doc additions, based on the current embedded docs. check-in: 8ad7a840c1 user: stephan tags: trunk
09:39
Added makefile stub src src so (x)emacs can build with the conventional keystrokes. check-in: c56ca2860f user: stephan tags: trunk
01:01
Uplifted Xyz_item classes to XyzItem for consistency. check-in: f08dc93314 user: stephan tags: trunk
2012-06-29
23:58
minor doc/style touch-up. check-in: 1c5e0a68e4 user: stephan tags: trunk
23:56
Uplifted AggInfoCol and AggInfoFunc (formerly AggInfo_col/func, renamed for consistency). check-in: 60277542c8 user: stephan tags: trunk
23:15
re-located a mis-located sqlite4::init member doc comment. check-in: cd7f47bf33 user: stephan tags: trunk
23:02
moved Parse::aColCache/yColCache type into ParseYColCache. check-in: ee4cd98515 user: stephan tags: trunk
22:49
merged in [3abadc2e11ef] (approved by drh). check-in: b66a99f023 user: stephan tags: trunk
22:42
"uplifted" sqlite4::init to Sqlite4InitInfo typedef. Closed-Leaf check-in: 3abadc2e11 user: stephan tags: stephan
21:40
"Uplifted" KVFactory::xFactory's type to typedef KVFactory_factory_f. check-in: 995c17a6f1 user: stephan tags: trunk
21:38
va_arg function ptr conversion changed to a typedef for portability (tcc). The tcc guys claim (with references) that the syntax fault is sqlite's here. check-in: db19977f62 user: stephan tags: trunk
19:30
Second round of portability/compliance fixes. A few more casts than i would care for, but nothing too unsettling. check-in: 50900a38be user: stephan tags: trunk
18:46
First round of compliance/portability touchups. No functional changes, just removal of dead code, un-staticing a few as-yet-unused functions, and the like. make test has the same 5 failures before/after this change. check-in: 223fc19acd user: stephan tags: trunk
17:01
added an extra ifdef for LSM_DEBUG to please gcc when LSM_DEBUG is -Defined via CLI args. check-in: b6cd91bb50 user: stephan tags: trunk
15:58
Fix some minor compiler warnings. check-in: 2aa05e9008 user: drh tags: trunk
15:43
Updates to the porting guide. check-in: 4d248c2b0e user: drh tags: trunk
15:39
Change all "SQLITE_" prefixes on preprocessor macros to "SQLITE4_" to avoid name collisions with SQLite3. check-in: da13c446be user: drh tags: trunk
12:03
Avoid writing a new top-level segment when it is unnecessary. In auto-work mode, perform some merging work each time the in-memory tree is flushed. check-in: 3f38af19aa user: dan tags: trunk
09:29
Fix widget packing in lsmview.tcl so that the window can be resized. check-in: 94d6e18da7 user: dan tags: trunk
09:08
Fix a problem causing a crash when two checkpoints are run in a row. check-in: 77e1df0f54 user: dan tags: trunk
2012-06-28
20:23
Updates to the lsmheader.c utility to handle the latest file format changes. check-in: 96b94e76b4 user: drh tags: trunk
20:16
Fix the header comment in lsm_ckpt.c. check-in: 2976bd261e user: dan tags: trunk
19:57
Add pragmas: lsm_flush, lsm_checkpoint, and lsm_merge=N. check-in: 982be24021 user: drh tags: trunk
19:37
Fix a problem with very large keys. check-in: e66821dd2b user: dan tags: trunk
19:04
Update the lsmheader.c utility to work with the new file format. check-in: 8e67b5db18 user: drh tags: trunk
18:38
When possible, store the freelist in the db header instead of the top-level segment. This changes the file format. check-in: 3b3fb3c3c8 user: dan tags: trunk
17:58
In lsmview.tcl, how additional information about levels on mouse-over. check-in: 262705a2e8 user: drh tags: trunk
14:57
Minor corrections and clarifications to the checkpoint description in the header comment of lsm_ckpt.c. check-in: f105bf9ee9 user: drh tags: trunk
14:52
Add a simple utility program to display the content of the LSM header in a human-readable format. check-in: 7c99fd7b7e user: drh tags: trunk
14:00
Remove several obsolete files from the tools/ subdirectory. check-in: 8deabec80b user: drh tags: trunk
08:15
Disable mmap() on 32-bit hosts. check-in: 3a4aa407a7 user: dan tags: trunk
01:09
Add a makefile target for the "varint" command-line tool that converts integers into varints and varints into integer for debugging. check-in: 1a65f02fae user: drh tags: trunk
2012-06-27
22:36
Display a hex dump of the row content of each page in lsmview.tcl. Add the "Export" button to lsmview.tcl. check-in: 13d59a9f43 user: drh tags: trunk
21:46
Correction to the usage comment on the "show" command of "lsmtest". check-in: 6b2b23de4f user: drh tags: trunk
20:28
Move tdb_lsm_config_str and test_lsm_config_str out of the "#ifdef LSM_MUTEX_PTHREADS" block. check-in: c1e0b6a7e8 user: dan tags: trunk
18:31
Update the lsmview.tcl script to work with embedded b-trees. check-in: fdf301afe7 user: dan tags: trunk
16:34
Merge embedded-btree branch with trunk. check-in: 5eed33bc57 user: dan tags: trunk
16:10
Remove a broken assert from lsm_sorted.c. Leaf check-in: 50e87e23bb user: dan tags: embedded-btree
16:02
Testing finds no cases where separator runs are faster than embedded btrees. So discard the separator runs related code. check-in: afcbe561ff user: dan tags: embedded-btree
13:56
Purge talk of sqlite4_prepare_v2() from the documentation. Also attach the original SQL to a prepared statement, even for internally generated statements. check-in: bd2216554b user: drh tags: trunk
12:28
Fixes to the amalgamation in order to enable a fossil4 build. check-in: 4539458ce3 user: drh tags: trunk
10:22
Ensure that "expensive-assert" code only runs when LSM_DEBUG_EXPENSIVE is defined. check-in: 2be9bac408 user: dan tags: embedded-btree
2012-06-26
20:39
Merge trunk changes. check-in: 209c12ae0b user: dan tags: embedded-btree
20:17
Updates to the design and storage documents. check-in: f19a93d9f9 user: drh tags: trunk
19:45
Fix a bug causing an infinite loop if there are open cursors when the in-memory tree is flushed to disk. check-in: d409cd8c8a user: dan tags: embedded-btree
18:47
Remove more traces of SQLITE_WSD. Everything is in pEnv now, with the except of the global state of the alternative memory allocators mem3 and mem5. check-in: 859a51036f user: drh tags: trunk
18:24
Add a stack of named storage engines, with the ability to push or pop storage engines using sqlite4_env_config(). check-in: 5df080a1aa user: drh tags: trunk
18:10
Fix another problem with mmap and using a background thread. check-in: ec39163b79 user: dan tags: embedded-btree
15:43
Add LSM_CONFIG_NMERGE parameter. Add code to lsmtest so that lsm configurations can be specified in string form. check-in: 0fcabb513b user: dan tags: embedded-btree
14:51
Add version information to the start of the sqlite4_kv_methods object. Begin adding documentation on adding external storage engines. check-in: 568d9dca50 user: drh tags: trunk
00:05
Expose the sqlite4_kvstore object and its relatives in the public interface. check-in: 26f71bad46 user: drh tags: trunk
2012-06-25
23:17
Update the porting guide to include sqlite4_log() and sqlite4_randomness() in the set of functions requiring an sqlite4_env object. check-in: 7dcd06d12a user: drh tags: trunk
23:15
Add the sqlite4_env parameter to sqlite4_log(). check-in: e8814a06a8 user: drh tags: trunk
22:52
Make the initialization of the global built-in function table threadsafe. check-in: 366e83e3d7 user: drh tags: trunk
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