SQLite
Timeline
Not logged in

100 check-ins occurring around 64989904d4.

2007-08-22
18:54
Fix a bug in the logic for journaling pages when the device sector-size is greater than the page size. (CVS 4270) check-in: b6399dff user: danielk1977 tags: trunk
11:41
Get the quick.test script running with SQLITE_THREADSAFE enabled. (CVS 4269) check-in: 1f28b7e4 user: drh tags: trunk
11:22
Add code for the atomic-write optimisation. Disabled by default. (CVS 4268) check-in: 581fadfe user: danielk1977 tags: trunk
02:57
Remove a debugging btree_breakpoint from vtab1.test. (CVS 4267) check-in: 6cc8641e user: drh tags: trunk
02:56
A complete run of quick.test with mutex debugging enabled. (CVS 4266) check-in: 783e07d5 user: drh tags: trunk
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) check-in: 1914044b user: drh tags: trunk
2007-08-21
20:25
All mutexing and locking appears to be in place. Now we just have to test it and make it all work. (CVS 4264) check-in: 0f7941ae user: drh tags: trunk
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) check-in: 92872761 user: drh tags: trunk
16:15
Adding more thread locking code. This is an incremental check-in. (CVS 4262) check-in: 7428732b user: drh tags: trunk
15:13
Readded the sqlite3_open_v2() interface. No test cases yet. Additional progress toward adding mutexes to all interfaces. (CVS 4261) check-in: 3787563e user: drh tags: trunk
14:27
Delay opening temporary pager files until they are first written. (CVS 4260) check-in: 3fb97a63 user: danielk1977 tags: trunk
13:51
Remove the obsolete static mutexes. Use only the lastest static mutex code. (CVS 4259) check-in: 6225cd46 user: drh tags: trunk
13:30
Add the tests that go with the previous commit. (CVS 4258) check-in: a87f32e1 user: danielk1977 tags: trunk
13:11
Avoid journalling an extra page when a btree insert operation uses the 'quick-balance' trick. (CVS 4257) check-in: 0da48209 user: danielk1977 tags: trunk
13:07
Fix some problems in the crash-test backend. (CVS 4256) check-in: 5bced239 user: danielk1977 tags: trunk
10:44
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) check-in: fbbd5bda user: drh tags: trunk
2007-08-20
23:50
The quick test runs again with a handfull of errors after adding the mutex locks to btree, the VFS registration interfaces, and FTS3. (CVS 4254) check-in: 6cf725d2 user: drh tags: trunk
22:48
Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253) check-in: 1315bd8e user: drh tags: trunk
17:53
Oops - a random fts2 test I had abandoned slipped into the fts3 batch. (CVS 4252) check-in: 709f2aa1 user: shess tags: trunk
17:38
Replicate the fts2*.test files as fts3a*.test, and convert fts2 to fts3 in the text of the files. (CVS 4251) check-in: 24739f14 user: shess tags: trunk
17:37
Add support for building with fts3. (CVS 4250) check-in: 95ef9632 user: shess tags: trunk
17:37
Copy fts2 to fts3, renaming, and replacing references to fts2 with fts3, including capitalization variants. (CVS 4249) check-in: 216c91d2 user: shess tags: trunk
16:07
Call sqlite3OsSleep() with an argument in microseconds, not milliseconds. (CVS 4248) check-in: 91779041 user: danielk1977 tags: trunk
14:23
Changes to crash-test io backend (test6.c) so that it works with the sqlite3_vfs interface. (CVS 4247) check-in: 40f66ada user: danielk1977 tags: trunk
13:14
Bug fix in BTree shared cache locking code. (CVS 4246) check-in: 399d3e75 user: drh tags: trunk
11:12
Get main.c to compile when HAVE_USLEEP is 0. (CVS 4245) check-in: b27f022f user: drh tags: trunk
06:44
Update the locking-style code in os_unix.c. The updates are as yet untested. (CVS 4244) check-in: 41f2175b user: danielk1977 tags: trunk
05:36
Fix full_fsync() related functionality broken as part of the migration to sqlite3_vfs. (CVS 4243) check-in: cb24cda1 user: danielk1977 tags: trunk
2007-08-18
10:59
Further progress on migration to sqlite3_vfs. (CVS 4242) check-in: a258c4ec user: danielk1977 tags: trunk
2007-08-17
16:50
Remove some old OsFile and IoMethod related code. Add the sqlite3OsLockState function. (CVS 4241) check-in: 08a0f480 user: danielk1977 tags: trunk
15:53
Begin migration to using sqlite3_vfs interface. (CVS 4240) check-in: af3e3c7a user: danielk1977 tags: trunk
01:14
Begin adding mutexes. Compiles without SQLITE_OMIT_SHARED_CACHE but we get an assertion fault on the shared cache testing. (CVS 4239) check-in: 4c1e9ffe user: drh tags: trunk
2007-08-16
19:40
Change the design of the mutex interface to allow for both "fast" and "recursive" mutexes. (CVS 4238) check-in: 160593dc user: drh tags: trunk
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) check-in: 3d60c14a user: drh tags: trunk
12:24
Combine sqlite3DbOfVdbe() and sqlite3VdbeDb() into a single function. (CVS 4236) check-in: ba80ee59 user: drh tags: trunk
11:36
Fix some more small problems introduced by recent refactoring. (CVS 4235) check-in: 5e2795d0 user: danielk1977 tags: trunk
10:36
Replace a few sqlite3_malloc() calls that should be sqlite3MallocZero(). (CVS 4234) check-in: 384d0ca9 user: danielk1977 tags: trunk
10:09
More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233) check-in: 77b16713 user: danielk1977 tags: trunk
04:39
Add a test for malloc() failure when compiling a trigger step of the form "INSERT INTO ... SELECT ...". Currently causes a segfault. (CVS 4232) check-in: 161643a6 user: danielk1977 tags: trunk
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) check-in: deb7ecd6 user: drh tags: trunk
2007-08-15
20:41
Enhancements and smoke testing of the new memory allocation subsystem. Have not yet cut it over to the core, though. (CVS 4230) check-in: 1dad2c0a user: drh tags: trunk
19:16
Test infrastructure for the new memory subsystem. (CVS 4229) check-in: 9e506656 user: drh tags: trunk
17:08
Modify the crash-recovery test code in test6.c for 3.5. Also change some other code to use the new sqlite3_io_methods interface. Lots of things are broken now. (CVS 4228) check-in: af9503da user: danielk1977 tags: trunk
17:07
Add a debugging memory allocator. (CVS 4227) check-in: 8d2d1c4f user: drh tags: trunk
13:04
Add initial implementations of mutex and memory subsystem modules. (CVS 4226) check-in: c0fa3769 user: drh tags: trunk
11:28
Revisions to the interface design for 3.5. (CVS 4225) check-in: 174116f7 user: drh tags: trunk
2007-08-14
18:03
Clarify documentation on sqlite3_interrupt(). (CVS 4224) check-in: 0b5b526c user: drh tags: trunk
17:42
Add comments describing upcoming changes to crash-test module (test6.c). No code changes. (CVS 4223) check-in: 63631c17 user: danielk1977 tags: trunk
13:20
Back-port critical soft heap limit fixes to version 3.3.17. The following check-ins were back-ported: (4031), (4037), (4097), (4202), (4203), (4207), (4208), (4214). (CVS 4222) Leaf check-in: f0029da3 user: drh tags: branch_3_3_17
01:58
Add a first cut at the new version 3.5 interface definitions to sqlite.h.in. (CVS 4219) check-in: 0a57f3dd user: drh tags: trunk
2007-08-13
20:31
Version 3.4.2 (CVS 4218) check-in: 64989904 user: drh tags: trunk, release
16:15
Update version number of documentation in preparation for version 3.4.2. (CVS 4217) check-in: 1ed51e3c user: drh tags: trunk
15:28
Invalidate prepared SQL statements when rolling back a transaction that includes schema modifications. (CVS 4216) check-in: a07143fc user: danielk1977 tags: trunk
15:18
Disable tests that require 80-bit long doubles when the host only provides 64-bit long doubles. Ticket #2570. (CVS 4215) check-in: 4f4f8ef4 user: drh tags: trunk
14:56
Fix a page leak in btree balance routines that follows a malloc failure. This problem detected by the new soft-heap-limit testing. (CVS 4214) check-in: bad661bb user: drh tags: trunk
14:41
When loading a database schema, do not clear the SQLITE_InternChanges flag. This fixes the problem illustrated by (4211). (CVS 4213) check-in: 540a7b28 user: danielk1977 tags: trunk
12:58
Fix the test labels in mallocC.test. (CVS 4212) check-in: 7d4cdff4 user: drh tags: trunk
12:39
Add a new test cases for a problem with malloc failure during the parsing of CREATE TABLE statements in autovacuum mode. (CVS 4211) check-in: be50387e user: drh tags: trunk
11:10
Remove a memory allocation from sqlite3VdbeIOTraceSql(). This means that when doing I/O tracing, the text of an SQL statement is truncated to the first 1000 characters. But it also means tracing works in an out-of-memory situation. (CVS 4210) check-in: 578da247 user: drh tags: trunk
2007-08-12
20:07
Updates to test scripts for better support of soft-heap-limit testing. (CVS 4209) check-in: 990f621f user: drh tags: trunk
2007-08-11
00:26
Backout check-in (4206) and replace it with a much better and more general fix for the problem identified in ticket #2565. (CVS 4208) check-in: 7961a738 user: drh tags: trunk
2007-08-10
23:56
Fix some incorrect asserts() in the pager - problems brought to light by the new soft-heap-limit testing apparatus of check-in (4202). (CVS 4207) check-in: 51f3e01b user: drh tags: trunk
23:54
Fix the corruption problem of ticket #2565 as demonstrated by the test added in (4204). There may yet be other instances of similar problems lurking in the code. (CVS 4206) check-in: 7ed2f59e user: drh tags: trunk
23:47
Convert fts2 to use sqlite3_prepare_v2() to prevent certain logic errors around SQLITE_SCHEMA handling. This also allows sql_step_statement() and sql_step_leaf_statement() to be replaced with sqlite3_step().    Also fix a logic error in flushPendingTerms() which was clearing the term table in case of error. This was wrong in the face of SQLITE_SCHEMA. Even though the change to sqlite3_prepare_v2() should cause us not to see SQLITE_SCHEMA any longer, it was still a logic error... (CVS 4205) check-in: 16730cb1 user: shess tags: trunk
19:46
Add a test case to reproduce the database corruption problem reported by ticket #2565. (CVS 4204) check-in: f267ce80 user: drh tags: trunk
19:46
Update tests so that they work properly even if the soft-heap-limit is set low. (CVS 4203) check-in: e01eb99e user: drh tags: trunk
16:41
Add the --soft-heap-limit=N option to the test scripts. Set this value to enforce a soft heap limit across all tests. This changes exposes several new bugs. (CVS 4202) check-in: 8be84598 user: drh tags: trunk
2007-08-09
00:00
Fix documentation typos. Tickets #2168 and #2560. (CVS 4201) check-in: 4333b231 user: drh tags: trunk
2007-08-08
12:11
More tweaking of linkage. Ticket #2554. (CVS 4200) check-in: 3759a38f user: drh tags: trunk
01:04
Additional refinements on the amalgamation: Give a couple of constants file scope and add the SQLITE_API prefix to some interfaces that need it. Ticket #2554. (CVS 4199) check-in: c09ec102 user: drh tags: trunk
2007-08-07
17:13
Remove all tabs from source code files. Ticket #2556. (CVS 4198) check-in: 7550dd1d user: drh tags: trunk
17:04
Revise the amalgamation so that all symbols have file scope except those that begin with "sqlite3_". Ticket #2554. (CVS 4197) check-in: 73db5452 user: drh tags: trunk
2007-08-05
23:52
Fix some compiler warnings. (CVS 4196) check-in: 6cc15409 user: drh tags: trunk
2007-08-03
08:18
Change some (English language) grammar in faq.tcl. Ticket #2480. No code changes. (CVS 4195) check-in: e526817f user: danielk1977 tags: trunk
07:33
Avoid reloading the schema when an expired statement is finalized or reset. This is only necessary when the in-memory schema does not match the file-system schema. (CVS 4194) check-in: 61de5b52 user: danielk1977 tags: trunk
2007-07-30
23:02
Fix a typo in limits.html. (CVS 4193) check-in: c709140b user: drh tags: trunk
20:41
Make excess output from the CLI appear inside SQL comments so as not to interfere with generated SQL. Ticket #2544. (CVS 4192) check-in: 49a2e855 user: drh tags: trunk
18:55
Fix ticket #2439: the FTS1 and FTS2 extensions use the non-standard, unportable and highly deprecated <malloc.h> header on all platforms except Apple Mac OS X. The <malloc.h> actually is never required on any OS with an at least partly POSIX-conforming API as the malloc(3) & friends functions officially live in <stdlib.h> since over 10 years. Under some platform like FreeBSD the inclusion of <malloc.h> since a few years even causes an "#error" and this way a build failure. So, just get rid of the bad <malloc.h> usage in FTS1 and FTS2 extensions at all and stick with <stdlib.h> there only. (CVS 4191) check-in: 3f9a6661 user: rse tags: trunk
18:31
"extern" declarations inside function bodies are not every compiler's favorite, so move to global scope. Additionally, at least under Unix environment use <unistd.h> to get the proper prototype instead of using a K&R-style own declaration. (CVS 4190) check-in: 5955a77d user: rse tags: trunk
18:26
Get rid of the following compile-time warnings: tool/mkkeywordhash.c:353: warning: array subscript has type 'char' tool/mkkeywordhash.c:354: warning: array subscript has type 'char' (CVS 4189) check-in: c01d7944 user: rse tags: trunk
18:24
Get rid of the following compile-time warning: "src/shell.c:112: warning: 'iotracePrintf' defined but not used" (CVS 4188) check-in: 271e27fd user: rse tags: trunk
14:40
Fix a bug with explicit collation sequences attached to a column reference expression that is on the right-hand-side of a binary comparison operator. (CVS 4187) check-in: 7b699686 user: danielk1977 tags: trunk
2007-07-26
10:16
Test that an explicit collation sequence overrides an implicit one attached to a 'new' reference (it does). No code changes. (CVS 4186) check-in: a443b07e user: danielk1977 tags: trunk
06:50
Fix two obscure memory leaks that can follow a malloc() failure in sqlite3_set_auxdata(). Ticket #2534. (CVS 4185) check-in: b88af182 user: danielk1977 tags: trunk
2007-07-25
00:56
Implement xRename() for fts1 so that it is possible to rename fts1 tables. See http://www.sqlite.org/cvstrac/chngview?cn=4143 (CVS 4184) check-in: febf75f0 user: shess tags: trunk
00:38
Replicates http://www.sqlite.org/cvstrac/chngview?cn=4151 which modified fts2:    Modify handling of SQLITE_SCHEMA in fts2 code. An SQLITE_SCHEMA error may cause SQLite to reload the internal schema, deleting and recreating v-table objects. So the sqlite3_vtab structure can be deleted out from under a v-table implementation. (CVS 4183) check-in: f9020cff user: shess tags: trunk
00:28
Sorry, previous check-in included a last-minute "Did it really work?" change :-). (CVS 4182) check-in: 5db25e36 user: shess tags: trunk
00:25
Apply change 4095 to fts1. Fix snippet generation when the left-most column of an fts table is used in the MATCH clause. Fix for ticket #2429. (CVS 4181) check-in: c2ba3cc0 user: shess tags: trunk
2007-07-24
10:22
Remove the comment in the documentation that says that incremental vacuum mode is not persistent because as of 3.4.1 it is persistent. Ticket #2528. (CVS 4180) check-in: 6c404094 user: drh tags: trunk
2007-07-23
22:51
Detect nested aggregate functions even if the inner aggregate function is aliased using an AS clause. Ticket #2526. (CVS 4179) check-in: de000280 user: drh tags: trunk
19:39
The REPLACE conflict resolution falls back to FAIL when on a CHECK constraint violation. Ticket #2525. (CVS 4178) check-in: b213614a user: drh tags: trunk
19:31
Move prototypes for LEMON-generated parser functions into sqliteInt.h. Ticket #2521. (CVS 4177) check-in: bc02c7f1 user: drh tags: trunk
19:26
Check the return value of sqlite3PagerWrite() when autovacuuming. Ticket #2524. (CVS 4176) check-in: b4a5c62b user: drh tags: trunk
19:12
Rework the UTF8 reader logic in order to avoid the use of malloc(). Ticket #2523. (CVS 4175) check-in: 9a059cb6 user: drh tags: trunk
2007-07-22
19:10
Fix a bad sizeof in vdbe.c. Ticket #2522. (CVS 4174) check-in: 77ebc3fe user: drh tags: trunk
2007-07-21
19:41
Work around a bug in GCC. Ticket #2469. (CVS 4173) check-in: 1924ba52 user: drh tags: trunk
2007-07-20
20:25
Work around an AFP file system byte-range locking error caused by opening and closing a second file descriptor on the database file as RDWR which clears the exclusive byte-range lock and results in an fcntl error when the AFP locking code attempts to clear it afterwards. This error is caused by the test harness and isn't a flaw in the sqlite or its implementation of AFP file locking. (CVS 4172) check-in: b2ba3e81 user: aswift tags: trunk
13:42
Updates to build scripts. Added scripts for building FTS2 shared libraries. (CVS 4171) check-in: e269f6e9 user: drh tags: trunk
10:56
Version 3.4.1 (CVS 4170) check-in: 81a4dd07 user: drh tags: trunk
10:48
Keep sqlite3ext.h backwards compatible. This really should have been part of the previous check-in. (CVS 4169) check-in: 7cf15a5f user: drh tags: trunk