Exploratory SQLite Changes

Timeline
Login

Timeline

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

50 most recent check-ins

2007-11-07
22:23
Merge with the latest CVS changes. No synced with version 3.5.2. Leaf check-in: 6a1be9c926 user: drh tags: trunk
13:03
Update to CVS version 4533. check-in: 4b7ef9d972 user: drh tags: trunk
2007-11-01
14:57
Added a working "Heap" memory allocator. Works in the sense that it does not segfault when used in place of Linear. Might have other problems, though. check-in: e1ae0cc591 user: drh tags: trunk
2007-10-30
23:48
Incremental check-in of changes to malloc.c in order to transfer code to a different machine. This version does not compile. check-in: a64c689447 user: drh tags: trunk
17:51
Merge in CVS changes through check-in 4518. check-in: 5a4a1af4cb user: drh tags: trunk
17:48
Sync against CVS version 4518. check-in: 6e7d26c3bf user: drh tags: trunk
10:32
Fix a memory leak that could occur after malloc() failure in main.c. Change some test instrumentation code in printf.c to work with memory pools. check-in: 75c81155c2 user: dan tags: trunk
09:46
Fix some asserts in vdbeapi.c that are no longer correct. check-in: a421fc2b95 user: dan tags: trunk
09:15
Fix an error in the previous commit. check-in: 1e8386b620 user: dan tags: trunk
08:47
Modify MemContext pointers when moving arrays of Mem objects between vdbes in sqlite3VdbeSwap(). check-in: fe49b8e5ca user: dan tags: trunk
07:50
When transfering bindings between two statements, make sure the MemContext pointers always point to the vdbe that owns the sqlite3_value structure. check-in: cb1b0bc4e9 user: dan tags: trunk
07:26
Change the db-pool allocator so that it always returns NULL when the sqlite3.mallocFailed flag is set. This matches the old sqlite3DbMalloc() behaviour. check-in: d73e0834ab user: dan tags: trunk
02:39
Combine the sqlite3* pointer and MPool* pointer on each Mem into a single pointer to a structure (MemContext) holding these values in the sqlite3_stmt object. This saves 4 bytes on each Mem object. check-in: a784fd82ca user: drh tags: trunk
01:02
Do more sqlite3_stmt allocations using the P3Pool memory pool. check-in: 03b1433b26 user: drh tags: trunk
2007-10-29
19:48
Passes all tests on mem1 and mem3. Mem2 still segfaults. check-in: 19078b5855 user: drh tags: trunk
19:25
The quick.test runs to completion with no segfaults. A single error is reported. check-in: cd525b6b8a user: drh tags: trunk
19:05
More tests pass. Still seeing segfaults. check-in: 494d080f5e user: drh tags: trunk
17:39
Runs a few tests successfully. check-in: 07fe8ef6e5 user: drh tags: trunk
16:19
Compiles but quickly segfaults on a test. check-in: 34c6d325f9 user: drh tags: trunk
15:38
Another incremental checkin. Still does not compile, but getting closer. check-in: 3bd23bbac9 user: drh tags: trunk
15:26
First pass at installing the MPool functionality. Have not even attempt to compile it yet. This is just an incremental check-in. check-in: 6f51909596 user: drh tags: trunk
13:06
Updates to the malloc.c file to add new interfaces. Add for memory pools to sqlite3 and Parse structures in sqliteInt.h. check-in: 7157de426f user: drh tags: trunk
2007-10-27
18:30
Add the sqlite3MemsysFree() and sqlite3MemsysIsValid() functions to mem*.c. Changed names of functions to sqlite3MemsysSetTitle() and sqlite3MemsysDump() in accordance with Memory Allocation spec. check-in: 661fddc629 user: drh tags: trunk
2007-10-26
02:16
Changes mem3.c again so that the lower order bits of the two previous 32-bit words are always set. Thus an allocation can never be preceded by a valid pointer. check-in: 90fe6e26c3 user: drh tags: trunk
01:45
Modify the header format of mem3.c. A checked-out block is signified by a low-order bit in the previous 32-bit word. check-in: 69f123a4de user: drh tags: trunk
2007-10-25
20:05
Many changes toward adding memory pools. But now I want to back up and go in a slightly different direction. This check-in saves the state of the changes in case I decide to return to this branch later. Leaf check-in: 85dd7c694c user: drh tags: trunk
2007-10-24
21:15
Work-in-progress check-in to facility file transfer between computers. check-in: 8195179a69 user: drh tags: trunk
2007-10-23
23:19
More use of memory pools for P3 values. check-in: 45195d4856 user: drh tags: trunk
17:38
Making more use of memory pools for P3 values. This is an incremental check-in. There is much more work to do. check-in: 6bb0e4e899 user: drh tags: trunk
17:00
Merge with the CVS 4509 changes of [acb1141f45]. check-in: 40bb1be9ce user: drh tags: trunk
16:58
Sync against CVS version 4509. check-in: acb1141f45 user: drh tags: trunk
02:01
Add an mprintf implementation for memory pools. check-in: 4dec2b3c79 user: drh tags: trunk
01:02
Begin adding a memory pool allocator. Infrastructure is coming into place. Very little is currently allocated using memory pools, though. check-in: 63e9efb4f7 user: drh tags: trunk
2007-10-22
13:01
Added the mpool-notes.txt file. No code changes. check-in: f97f91087e user: drh tags: trunk
12:59
Comment changes in vdbe.c to describe a hypothetical 3-address machine implementation. No code changes. Current thinking is that this will be a dead-end branch. Leaf check-in: b541bdc3ab user: drh tags: trunk
2007-10-20
21:10
Sync the substr() changes of CVS check-in 4499. check-in: b6edbefcb1 user: drh tags: trunk
20:56
Sync against CVS version 4498. check-in: 3e9e53d7dc user: drh tags: trunk
12:34
Fix a mutex leak in mem3.c. Sync with CVS checkin 4494. check-in: 931a368575 user: drh tags: trunk
11:22
Synchronize against CVS check-in 4493 check-in: f7ad0e3931 user: drh tags: trunk
2007-10-19
17:23
More bug fixes with mem3.c. check-in: 395ef1b6a0 user: drh tags: trunk
16:57
Added distinct small chunk and large chunk reuse changes. Other cleanup. check-in: 22ebbb863c user: drh tags: trunk
13:33
Enhancements to the sqlite3_memdebug_dump() interface. check-in: 1f984e689a user: drh tags: trunk
2007-10-18
01:57
Bug fix. We are not about 7% faster than system malloc on speed1.test. check-in: 3191e73faf user: drh tags: trunk
01:48
Go back to a simpler allocator. Working somewhat but still shows bugs. check-in: 17965240d1 user: drh tags: trunk
2007-10-17
22:34
Print out a memory dump when we run out of memory. check-in: 36a1645a6a user: drh tags: trunk
20:35
Memory allocation algorithm using best fit. check-in: 6eca36b93c user: drh tags: trunk
15:20
Attempt to graft in dlmalloc and use it for memory allocation. Does not work. Strange internal errors within dlmalloc. Leaf check-in: 5f75303060 user: drh tags: trunk
13:47
A new memory allocation strategy. This one is fast, but it fragments badly. check-in: 032e6826d4 user: drh tags: trunk
03:05
Enhanced algorithm for mem3.c. Hopefully faster. check-in: b0f4f26281 user: drh tags: trunk
2007-10-16
21:38
Fix byte count tracking in mem3.c. check-in: d669c03544 user: drh tags: trunk