SQLite
Timeline
Not logged in

100 check-ins occurring around b078b588d6.

2010-04-08
17:35
Fix a typo in a comment. No changes to code. check-in: 332cb551 user: drh tags: trunk
17:28
Fix code coverage problems in where.c. check-in: b04a5282 user: drh tags: trunk
16:30
Additional automatic index tests. check-in: 99d8e325 user: drh tags: trunk
15:01
New test cases for automatic indices. New testcase() macros associated with column-used bitmasks. check-in: e1aa48ac user: drh tags: trunk
15:01
Fix the computation of the number of rows in a table during automatic index generation. check-in: edeab06a user: drh tags: trunk
14:38
Fix an integer overflow bug in the automatic index logic. The bug was detected by the testcase() macros added in the previous check-in. Also add some more testcase() macros, since this issue points up their importance. check-in: af97b488 user: drh tags: trunk
14:15
Add testcase() macros to the automatic index logic to insure that boundary cases are tested. check-in: 72865478 user: drh tags: trunk
11:35
Make sure F_OK, R_OK, and W_OK are defined in test_demovfs.c. Define them manually if they are not. This is necessary to get the module to compile on some systems. check-in: 7c8afc32 user: drh tags: trunk
01:16
Merge automatic index changes into the trunk. check-in: bf7b8d86 user: drh tags: trunk
00:40
When constructing automatic indices do not include the same column more than once. Closed-Leaf check-in: d067d9f7 user: drh tags: experimental
2010-04-07
20:32
Pull over the latest changes from the trunk. check-in: e388fe8b user: drh tags: experimental
20:29
When rolling back a savepoint to the beginning of the transaction, make sure to initialize the database size in the btree layer correctly even if the database size field of the header is zeroed. check-in: a3540c6a user: drh tags: trunk
19:32
Add an interface to the SQLITE_STMTSTATUS_AUTOINDEX status information to the TCL bindings. Add some simple automatic index test cases. check-in: 1f404412 user: drh tags: experimental
16:54
Wrap all automatic index changes inside SQLITE_OMIT_AUTOMATIC_INDEX. Add the automatic_index PRAGMA to turn it on and off. check-in: a811a47f user: drh tags: experimental
14:59
Make sure that all automatic indices are covering indices. Otherwise, the table and index might be used together in a query but the table could get out of sync with the automatic index through out-of-band changes. check-in: 23643131 user: drh tags: experimental
14:33
Enhance comments on the SrcList object definition to better explain the operation of the SrcList.a[].colUsed field. No changes to code. check-in: c0f67ea1 user: drh tags: experimental
14:32
Fix the trace output of the OP_Function opcode to show the correct register numbers. check-in: 064c283e user: drh tags: experimental
07:57
Add file test_demovfs.c, containing a simple VFS implementation that demonstrates how writes to the journal file may be safely buffered by the VFS layer to improve performance on some embedded systems. check-in: af3b72d9 user: dan tags: trunk
2010-04-06
22:33
Veryquick.test is now working. The SQLITE_STMTSTATUS_AUTOINDEX counter added. check-in: abbf16e5 user: drh tags: experimental
18:51
Runs quicktest without hitting an assert now. Some tests get unexpected results still and there is a memory leak. check-in: a8224448 user: drh tags: experimental
18:28
Progress toward getting automatic indices to work. Still failing in corner cases. check-in: ac6d0fba user: drh tags: experimental
15:57
Automatically generate transient indices for tables in joins that would otherwise have to use a full table scan. check-in: 1b2a0412 user: drh tags: experimental
2010-04-05
15:11
Minor comment changes to the OP_OpenEphemeral header. No changes to code. check-in: 8e1d7ef4 user: drh tags: trunk
2010-04-03
13:08
Silently abandon a rollback if the journal has been truncated. check-in: 7626f6c9 user: drh tags: trunk
2010-04-02
13:25
Check for a failure in the call to sqlite3PagerPagecount() from within sqlite3PagerWrite(). (Error discovered by valgrind.) check-in: d64d181c user: drh tags: trunk
12:55
Take care to avoid a buffer over-read when adding a KEYINFO structure to the P4 parameter of an opcode. check-in: 937b931a user: drh tags: trunk
12:46
If the size of the database according to the header is larger than the actual database file size, report that the database is corrupt. check-in: 8eb1f244 user: drh tags: trunk
03:39
Pager changes for code coverage testing. check-in: b04a45ea user: drh tags: trunk
2010-04-01
18:33
Disable the corruptE.test script when ENABLE_OVERSIZE_CELL_CHECK is on. check-in: 1dc4f9fe user: drh tags: trunk
16:15
Zero the filesize-in-header word for bigfile.tcl. Remove bigfile.tcl from the journaltest permutation. check-in: 63610c71 user: drh tags: trunk
13:41
Do not journal the content of freelist leaf pages. This restores an optimization that was accidently undone by check-in [12f7346c13] on 2009-01-20. check-in: b1e7a1a6 user: drh tags: trunk
02:47
Remove a NEVER in sqlite3PagerPagecount() that can in fact be true. check-in: 8f005337 user: drh tags: trunk
02:22
Restore the size information in the BtShared structure when a transaction rolls back. check-in: 802aeb30 user: drh tags: trunk
2010-03-31
23:20
Make sure an OOM error on sqlite3PagerPagecount() is detected and reported out to the interface. check-in: 8aecf302 user: drh tags: trunk
20:29
Report corruption if a database contains a reference that is out of range according to the filesize-in-header database size. check-in: a91db0b1 user: drh tags: trunk
17:47
Clarification of the implementation of SQLITE_STMTSTATUS_FULLSCAN_STEP. No logical code changes - just commenting and layout changes to improve readability. check-in: 06b9ca32 user: drh tags: trunk
15:02
Clear the column cache before populating aggregate accumulator registers. Fix fo r [883034dcb5]. check-in: ffc23409 user: dan tags: trunk
13:57
Documentation enhancements for the sqlite3_log() interface. No functional changes to code. check-in: ba13a111 user: drh tags: trunk
11:56
Include shell.c and sqlite3.def in the amalgamation ZIP archive. Ticket [e063139eb3f8] check-in: b51fcac9 user: drh tags: branch-3.6.23
11:52
Include shell.c and sqlite3.def in the amalgamation ZIP archive. Ticket [e063139eb3f8] check-in: 0077ed5c user: drh tags: trunk
02:31
Increase test coverage following the introduction of the new filesize-in-header logic. check-in: dbc2c3c0 user: drh tags: trunk
2010-03-30
22:58
Continuing refinements to the filesize-in-header enhancement. check-in: 79e22b95 user: drh tags: trunk
15:51
Add a NEVER macro around a test in btree.c that can not longer be true. check-in: c117f992 user: drh tags: trunk
12:40
Do not crash when compiling an "INSERT INTO tbl DEFAULT VALUES" when tbl has either BEFORE or INSTEAD OF triggers attached to it. Ticket [f3162063fd]. check-in: ca359a3e user: dan tags: trunk
11:57
Change an #if into an #ifdef. check-in: 371bab5d user: drh tags: trunk
2010-03-29
21:22
Pull the experimental file-size-in-header changes into the trunk. check-in: 0092b36c user: drh tags: trunk
21:13
The btree layer now tracks when a database is empty at the start of a transaction and rolls back to that state. Closed-Leaf check-in: 01ef6c19 user: drh tags: experimental
19:36
Fix issues with the io.test script. There is still a problem with a ROLLBACK TO not working on an initially empty database files. And much more testing is needed. check-in: 09786e2a user: drh tags: experimental
2010-03-27
17:12
Experimental changes that cause SQLite to use bytes 28..31 of the database header to determine the database size, rather than using the actual database size. This allows database space to be preallocated. check-in: b844ac6f user: drh tags: experimental
09:44
Increase the estimated cost of using a virtual table as the outer loop of a join when there exists an ORDER BY clause that is not satisfied by the virtual table. Fix for [775b39dd3c]. check-in: 9e075e70 user: dan tags: trunk
2010-03-26
22:28
Version 3.6.23.1 check-in: b078b588 user: drh tags: release, branch-3.6.23
21:53
Pull in other fixes from the trunk: check-ins [bea9258643], [f186b6a619], and [bb591802ff]. check-in: b1f342a6 user: drh tags: branch-3.6.23
21:48
Fix to the crash8.test test script. check-in: f18a129a user: drh tags: branch-3.6.23
17:42
Enhance FTS3 to take advantage of the MAX() optimization. Cherrypick of [b7e42ae774]. check-in: 4b65b480 user: drh tags: branch-3.6.23
17:40
Correctly handle strings with zero-length tokens in the FTS3 offsets() function. This is a cherrypick of [d37034f7fc]. check-in: ff6ae4f0 user: drh tags: branch-3.6.23
17:37
After any rollback that modifies the database file, sync the database before deleting the rollback journal. This is a cherry-pick merge of check-ins [b21b911f23] and [f2326dad4e] check-in: ca0bc2a2 user: drh tags: branch-3.6.23
01:54
Fix OOM error on ANALYZE with STAT2 enabled with zero-length data. Ticket [cbd054fa6b]. check-in: c33b38b5 user: shaneh tags: trunk
2010-03-24
15:57
Fix for [9861b74ab9]. Correctly handle strings with zero tokens in the fts3 offsets() function. check-in: d37034f7 user: dan tags: trunk
11:55
Attempt to suppress a warning from Borland Code Guard. check-in: be278979 user: drh tags: trunk
2010-03-23
18:24
More commenting and documentation enhancements in FTS3. check-in: 892e2867 user: drh tags: trunk
15:46
Fix up obsolete comments in FTS3 to conform to the latest nomenclature. Add new comments to better explain FTS3 operation. check-in: 3e4a0082 user: drh tags: trunk
15:29
Close the auxiliary database db2 at the end of the crash8.test script. check-in: 0fbdc431 user: drh tags: trunk
2010-03-22
23:55
Sync the database file after a rollback. This is a cherrypick merge of check-in [b21b911f23]. Leaf check-in: 82dd61fc user: drh tags: branch-3.6.22
17:38
Add an extra test case for crash recovery. check-in: f2326dad user: dan tags: trunk
17:13
After a rollback that writes or truncates the database file, sync the database file before invalidating the journal contents. Fix for [015d3820f2]. check-in: b21b911f user: dan tags: trunk
15:47
Disable the "init.test" test script when compiled with SQLITE_THREADSAFE=0. check-in: ad68fa65 user: drh tags: trunk
04:32
Change the formatting of the preprocessor macros surrounding the compileoption interface in sqlite.h.in. This is so the documentation produced by parsing this part of sqlite.h.in is formatted similarly to the docs for the deprecated interfaces (with the #ifndef visible on the webpage). check-in: 161958d1 user: dan tags: trunk
2010-03-19
19:23
Put an ALWAYS() around a condition in pcache.c that must always be true in the current implementation. check-in: 88810cd0 user: drh tags: trunk
19:02
Have the xUpdate() method of the rtree module virtual table implementation set the *pRowid output variable when inserting a row. Fix for [dd3ba6063a]. check-in: f31d2248 user: dan tags: trunk
16:55
Store the SQLite version number of the last writer in bytes 96..99 of the header. check-in: 146d4f5d user: drh tags: trunk
16:52
Make sure the in-journal boolean vector is cleared and released when ending a transaction. This fixes an obscure problem with the previous check-in. check-in: 69d749d9 user: drh tags: trunk
15:48
Do not create, open, or initialize the rollback journal until something actually needs to be written into the journal. That way, expensive filesystem operations are avoided if the transaction ends up being a no-op. check-in: b78e58ae user: drh tags: trunk
13:59
Rewrite a couple of queries used internally by FTS3 to take advantage of the "SELECT max(x) FROM ..." optimization. check-in: b7e42ae7 user: dan tags: trunk
2010-03-18
16:34
Mark internal routines as "static" in FTS3. Ticket [b1552d0fa7]. check-in: 39b34ac4 user: drh tags: trunk
2010-03-15
20:53
Improved error message when the right-hand operand of MATCH in FTS3 is not a valid search expression. Ticket [170872f1c3]. check-in: bea92586 user: drh tags: trunk
19:27
Fix FTS3 so that it does not run illegal SQL and cause a spurious log message. Ticket [42d45a693e6]. check-in: f186b6a6 user: drh tags: trunk
2010-03-13
02:15
Store the database size in pages in bytes 28..31 of the header. Currently this is for forensic use only, but it might be used in the future. check-in: 59f75bba user: drh tags: trunk
2010-03-12
16:32
Add assert()s to mem2.c (activated by SQLITE_MEMDEBUG) which verify that memory alloctions that might have come from lookaside are always freed using a lookaside-aware free routine. check-in: c2af2164 user: drh tags: trunk
2010-03-10
23:13
Move the ctime.c source module near the beginning of the list of files inserted into the amalgamation so that #defines that are overridden in other modules will not effect the values returned by sqlite3_compiletime_used(). check-in: bb591802 user: drh tags: trunk
21:42
Add the SQLITE_DBSTATUS_CACHE_SIZE verb for sqlite3_db_status(). The highwater mark does not yet work on this verb. check-in: 418c6d81 user: drh tags: trunk
20:06
Remove the "experimental" markings on most interfaces that have been around for multiple releases. check-in: d670e8bd user: drh tags: trunk
14:06
Fix typo in a comment in the sqliteInt.h. No changes to code. check-in: 1716821d user: drh tags: trunk
2010-03-09
19:31
Version 3.6.23 check-in: 4ae453ea user: drh tags: trunk, release
15:10
Fix a test script issue affecting the TCL backup tests under Windows. check-in: 20c400e7 user: shaneh tags: trunk
14:41
Version 3.6.23 release candidate 4 check-in: 3445eda0 user: shaneh tags: trunk
14:41
Minor changes to silence compiler warnings on various MSVC builds. check-in: 115c978b user: shaneh tags: trunk
13:12
Version 3.6.23 release candidate 3 check-in: 747baea5 user: drh tags: trunk
13:02
Check-in [87a6a9970b] did not completely disable FTS4. This check-in aims to finish the job. check-in: 0259b629 user: drh tags: trunk
12:35
Version 3.6.23 release candidate 2 check-in: 73f4d292 user: drh tags: trunk
12:35
Disable FTS4 (which is incomplete and not ready for publication) to prevent accidental use. check-in: 87a6a997 user: drh tags: trunk
05:01
Version 3.6.23 release candidate 1 check-in: 30e9f966 user: drh tags: trunk
2010-03-08
21:40
Add NEVER and assert macros and explanatory comments for unreachable conditions. check-in: ffb6596e user: drh tags: trunk
15:17
Correct an assert() in mem2.c (test code only). check-in: 1a88e31b user: dan tags: trunk
10:32
Do not run the stmt.test script as part of the inmemory_journal permutation. check-in: 049cadf9 user: dan tags: trunk
2010-03-05
20:17
Make sure the dbFileVers field in the Pager object is properly initialized even if there is an I/O error while reading its content off of disk. check-in: 81ff698f user: drh tags: trunk
18:46
Change a condition in sqlite3VdbeMemShallowCopy() to avoid accessing an unitialized variable (doing so was not dangerous, but caused a valgrind error). check-in: 4793c381 user: dan tags: trunk
17:27
Fix a one byte buffer overread in fts3. check-in: 6e3e014a user: dan tags: trunk
16:32
Modify the vdbe so that the comparison operator opcodes do not modify the data type of operands. Fix for [aa92c76cd4]. check-in: 8858042f user: dan tags: trunk
13:53
Adjustments to #ifdefs so that the #include of <sys/mount.h> is not included twice, because that confuses the amalgamation builder. check-in: 27413fc8 user: drh tags: trunk
13:41
Adjust some #ifdefs so that the build works on Mac both with and without SQLITE_ENABLE_LOCKING_STYLE. check-in: 0cc981f1 user: drh tags: trunk