SQLite
Timeline
Not logged in

200 most recent check-ins occurring on or after 2010-12-07 07:57:50.

2011-03-06
21:54
Another minor simplification brought to light by clang. check-in: 3bfbf026 user: drh tags: trunk
21:28
Remove dead code identified by the clang static analyzer. check-in: 01a79d5a user: drh tags: trunk
2011-03-05
21:41
Simplifications to the overflow-free multiplier. Also remove some commented-out code that was left in that subroutine by mistake on the previous check-in. check-in: 55fc25fd user: drh tags: trunk
20:59
Fix all known instances of signed-integer overflow. Within SQL expressions, integer overflow now forces coercion to floating point. The shift operators work with any integer right-hand operand with negative values reversing the direction of the shift. check-in: abf21394 user: drh tags: trunk
13:54
Fix an instance of signed arithmetic overflow and an one bit-shift overflow. Mark six other signed arithmetic overflow locations that need fixing. check-in: 04abab71 user: drh tags: trunk
2011-03-04
15:43
Handle EINTR errors from open(). Closed-Leaf check-in: a7d176b2 user: drh tags: syscall-override
01:23
Backport the query planner enhancement of [952f5e8c69904] to the 3.7.2 branch. check-in: 440d9956 user: drh tags: branch-3.7.2
00:56
Do a better job of choosing the join table order when the tables having very different numbers of rows. check-in: 952f5e8c user: drh tags: trunk
2011-03-03
20:06
Add the experimental sqlite3_transaction_hook() API. check-in: 093d8cd8 user: dan tags: sessions
2011-03-02
22:07
Fix quoting of the result in rtreeB.test. check-in: c6532b35 user: drh tags: trunk
19:06
Add additional VFS methods to retrieve system call pointers and to get a list of all changeable system calls. check-in: 38558363 user: drh tags: syscall-override
18:01
Add more system calls to the set that can be overridden in os_unix.c. Also merge in recent fixes from trunk. check-in: 80fac2a6 user: drh tags: syscall-override
17:54
Fix bugs in [7b6e30e6a7] that only show up on Mac. check-in: ec55e8c6 user: drh tags: trunk
15:44
Make sure the rtreenode() testing and analysis routine in the RTREE extension can handle 64-bit rowids. This fix is in response to a message on the mailing list. check-in: 24602557 user: drh tags: trunk
15:09
Proof-of-concept prototype for the proposed xSetSystemCall extension method on the VFS. check-in: 92b5a76a user: drh tags: syscall-override
02:08
Log all error from close() in os_unix.c to sqlite3_log() but do not attempt to report errors back up to the application. Update the unix error logging to put the most important information earlier in the message. check-in: 7b6e30e6 user: drh tags: trunk
2011-03-01
18:42
Add the experimental sqlite3_preupdate_hook() API. check-in: 6145d7b8 user: dan tags: sessions
2011-02-25
03:25
Comment out some code in os_unix.c that only runs on MacOSX with SQLITE_ENABLE_LOCKING_STYLE. check-in: 4e50b036 user: drh tags: trunk
2011-02-24
21:10
Fix a typo in a comment. No changes to code. check-in: af475618 user: drh tags: trunk
2011-02-23
22:39
Reserve a range of bits in the SQLITE_OPEN_xxxx bit vector for future expansion. check-in: 9b904654 user: drh tags: trunk
14:33
Automatically retry system calls that fail with EINTR. This is a backport of the changes from [b9d29ea385bafc] and [af9ba2a6d2c379]. Leaf check-in: 8609a15d user: drh tags: branch-3.7.4
14:05
Backport the os_unix.c error logging enhancements from check-in [01076528a43b61a]. check-in: a4333b15 user: drh tags: branch-3.7.4
14:00
Fix a typo in the robust_flock() macro for systems without EINTR. check-in: af9ba2a6 user: drh tags: trunk
13:53
The robust_flock() fix that accidently included some unrelated, though harmless changes. I should follow my own checklist! Closed-Leaf check-in: e701efbd user: drh tags: mistake
13:33
Retry selected system calls on unix when they fail with EINTR. check-in: b9d29ea3 user: drh tags: trunk
2011-02-22
03:34
When a stale schema-cookie is seen, expire only the one statement that encountered the bad cookie, not every statement on the database connection. Ticket [b72787b1a7cea1f] check-in: 1bca0a7e user: drh tags: trunk
2011-02-21
17:49
Fix a problem with "EXPLAIN QUERY PLAN SELECT count(*) FROM tbl". check-in: 9f9f3288 user: dan tags: trunk
11:46
Have os_unix.c call sqlite3_log() following errors in certain system calls. check-in: 01076528 user: dan tags: trunk
2011-02-20
21:03
Pull in the fix to STAT2 processing from check-in [70a3d81742f]. check-in: 692aafb1 user: drh tags: branch-3.7.4
03:40
Do not report the database corruption if the the db size header field is greater than the file size on disk unless the two change-counter header fields are identical. Fix for ticket [89b8c9ac54]. Backport by cherrypick of [00c4596f0b270]. check-in: e2616004 user: drh tags: branch-3.7.4
03:32
Make sure the change-counter and SQLite-version fields of the header are set correctly even after vacuuming. This is a backport of changes [0be92a7576] and [04fa1e1690] to address ticket [5d863f876ee]. check-in: 442be135 user: drh tags: branch-3.7.4
03:27
Do not raise an SQLITE_CORRUPT error in Recoverymode if the database size in the header is larger than the physical file size. This is a cherrypick of checkin [114640d920e16c8] check-in: 7701b077 user: drh tags: branch-3.7.4
03:22
Backport the sqlite3.h generator fix so that it works with newer versions of Fossil. See [3513bf6ee090d9b] for the original. check-in: 29597a71 user: drh tags: branch-3.7.4
03:20
Backport the changes of checkin [cf86affcb7d308949] ("Make wal_checkpoint a no-op if a prior checkpoint has already copied all WAL content into the database.") to the 3.7.4 release. check-in: e6e540ab user: drh tags: branch-3.7.4
03:11
Backport the SQLITE_PROTOCOL fix and the extra defensive measure to version 3.7.4. check-in: bcc22c4b user: drh tags: branch-3.7.4
2011-02-19
23:18
An SQLITE_PROTOCOL error counts as a locking error for verification purposes. check-in: e87d499a user: drh tags: trunk
17:02
Change a testcase() added by the previous checkin into an assert(). check-in: 6f3dad32 user: drh tags: trunk
16:51
Add testcase macros to verify that all return values from walTryBeginRead() are tested. check-in: 262b6fca user: drh tags: trunk
15:22
Changes to make WAL more robust against SQLITE_PROTOCOL errors. check-in: fd578a32 user: drh tags: trunk
14:19
Changes which attempt to address an obscure SQLITE_PROTOCOL error. Leaf check-in: 1725aa75 user: drh tags: wal-trace-375
2011-02-18
17:23
Fix the sqlite3ValueFromExpr() routine so that it returns SQLITE_NOMEM on an OOM when trying to extract a NULL. check-in: 1061e94f user: drh tags: trunk
2011-02-17
15:58
Remove a no-op code path from sqlite3ExprIsInteger(). Replace it with an assert() that proves it always does nothing. check-in: 7af66d1b user: drh tags: trunk
13:52
Remove an assert() that was made redundant by the previous checkin. check-in: 21db7191 user: drh tags: trunk
13:33
Add an ALWAYS() around a always-true test in where.c. check-in: 8123283e user: drh tags: trunk
2011-02-16
23:32
Fix harmless compiler warnings in the query planner. check-in: 31fc4ba6 user: drh tags: trunk
01:23
Add "do_not_use_codec" logic to some of the TCL based test cases that read/write directly to the DB. check-in: edd27669 user: shaneh tags: trunk
2011-02-14
03:49
Skip some tests in capi3e.test when compiled with SQLITE_OMIT_UTF16. check-in: b04304b9 user: shaneh tags: trunk
2011-02-12
14:23
Fix the expected output on tests so that it corresponds to the new query planner results. All of veryquick.test is now passing with SQLITE_ENABLE_STAT2. check-in: f2a8b5cc user: drh tags: branch-3.7.2
05:34
Fix problems in the backport, reducing the number of errors in the TCL tests to just a few dozen. Most of the remaining errors seem to be real and desirable changes of behavior. check-in: 9d2b0af2 user: drh tags: branch-3.7.2
01:59
This is the beginning of an attempt to backport recent query planner enhancements to version 3.7.2. The code in this version builds and runs and seems to give correct answers, but it generates suboptimal query plans and hence many of the test cases fail. The test script gives up after 1000 errors. check-in: e72cf118 user: drh tags: branch-3.7.2
2011-02-11
22:54
Add a NEVER() around a test that is believed to always be false. check-in: f7e2ea33 user: drh tags: trunk
20:52
Skip flattening if subquery has LIMIT and outer query is DISTINCT. Fix for ticket [752e1646fc]. check-in: 55973999 user: shaneh tags: trunk
06:59
Fix a bug in the new WHERE-clause processing that tries to use an index to resolve IS NOT NULL constraints when SQLITE_ENABLE_STAT2 is defined. The bug could cause memory overruns and segfaults. The bug was new to the code and has not appeared in an official release. Found during structural testing. check-in: a5c36b9f user: drh tags: trunk
03:56
Allow an index paired with an IS NULL constraint to be used for sorting under the condition that the index be treated as a non-unique index. check-in: d78949fc user: drh tags: trunk
02:43
Disable unused NULL tests when SQLITE_ENABLE_STAT2 is not in use. check-in: 5ecd1178 user: drh tags: trunk
2011-02-10
21:08
Add .testctrl option to CLI. check-in: f85afa0e user: shaneh tags: trunk
18:56
Split the documentation for sqlite3_wal_checkpoint_v2() and its constants onto separate pages. No changes to code. check-in: 0ef8ffd1 user: drh tags: trunk
17:46
Prevent a segfault when automatic indices try to use a column with an unknown collating function. Ticket [77aa3b1e6592582e38605d36]. This check-in also removes some stray \r characters unrelated to the problem. check-in: f01030a0 user: drh tags: trunk
01:49
This is a version of the SQLite 3.7.5 release with Apple's changes for MacOS. check-in: 55d2e55b user: drh tags: apple-osx
00:08
Refactor the cost function in the query planner. Give extra cost (thus reduce likelihood of selection) to full table scans. check-in: 878da276 user: drh tags: trunk
2011-02-09
19:55
Make sure code *compiles* with each OMIT and ENABLE option. Mostly changes to test modules. check-in: 7cc515ed user: shaneh tags: trunk
18:19
Do not report corruption if the the db size header field is greater than the file size on disk unless the two change-counter header fields are identical. Fix for ticket [89b8c9ac54]. check-in: 00c4596f user: dan tags: trunk
15:25
Update Makefile.in for fts3_aux changes. check-in: 38b7cb33 user: shaneh tags: trunk
03:04
Use macros to define the relative costs of search and seek operations when computing costs in the query planner. Current constants seems wrong and need to be fixed, but doing so will alter test results. Need more experimentation to determine accurate relative costs. check-in: 5f2ec44b user: drh tags: trunk
03:03
Simplifications to the sqlite3_wal_checkpoint_v2() logic. check-in: 652b8835 user: drh tags: trunk
2011-02-07
23:56
Cleanup to the OP_Checkpoint opcode. check-in: f611a5a8 user: drh tags: trunk
16:24
Fix some test cases in walfault.test. Extend one test case to restore code coverage. Add wal5.test to the "coverage-wal" permutation. check-in: f83b07ac user: dan tags: trunk
15:12
Change blocking-checkpoint tests so that they run once using "PRAGMA wal_checkpoint" and once using calls to sqlite3_wal_checkpoint_v2(). Also fix edge cases surrounding the output variables set by wal_checkpoint_v2(). check-in: 5a4b6652 user: dan tags: trunk
2011-02-05
15:47
Ensure fts4aux can handle a table name in single or double quotes as a constructor argument. check-in: 929d62e4 user: dan tags: trunk
14:37
Add test cases for fts4aux. Fix a bug affecting fts3 tables with multiple columns. check-in: dc511e60 user: dan tags: trunk
2011-02-04
18:56
Change fts4aux to (additionally) report on term frequency in individual columns of an fts table. check-in: 3996f92a user: dan tags: trunk
14:28
Significant changes have occurred since the 3.7.5 release so go ahead and increase the version number to 3.7.6. check-in: 999c915a user: drh tags: trunk
06:36
Merge the stat2 query planner enhancements into the trunk. check-in: 499edcbc user: drh tags: trunk
05:47
If a deferred foreign key constraint fails on a statement that is not part of a larger transation, make sure that the statement fully ends so that subsequent invocations of the same statement will not pass the constraint because they think the transaction is not closed. This is a merge of the deferred-fk-quirk branch together with a test case. check-in: 2f94d462 user: drh tags: trunk
00:51
Fix the ATTACH command so that the filename argument can be any expression and so that if authorizer callback gets a NULL pointer for the filename if the filename argument is anything other than a string literal. Ticket [9013e13dba5b58c7] check-in: e64e1453 user: drh tags: trunk
2011-02-03
12:48
Extra tests for fts4 compress/uncompress hooks. Fix some minor problems with the same. check-in: 80225abe user: dan tags: trunk
10:56
Extra tests for the fts4aux module. check-in: cfc47569 user: dan tags: trunk
01:26
Fix a superlock test case to conform to the new wal_checkpoint returns. check-in: 8bf2d51b user: drh tags: trunk
2011-02-02
19:17
Fix minor problems with the output of "PRAGMA wal_checkpoint". In both code and tests. check-in: aef61036 user: dan tags: trunk
17:30
Optimize handling of equality and range constraints on the "term" column of an fts4aux table. check-in: 386701de user: dan tags: trunk
16:34
Merge in the blocking-checkpoint enhancement, including the new sqlite3_wal_checkpoint_v2() interface and the PRAGMA wal_checkpoint(full) statement. check-in: bac7342c user: drh tags: trunk
04:40
Merge fts4aux branch. check-in: c6d9f7d8 user: dan tags: trunk
04:26
Add missing file fts3_aux.c. Closed-Leaf check-in: 0147d973 user: dan tags: fts4aux
2011-02-01
18:59
Remove extra instances of the text "checked out." from sqlite.h.in. Also add new file fts3_aux.c to mksqlite3c.tcl. check-in: 9897da22 user: dan tags: fts4aux
18:00
Fix a problem causing builds with SQLITE_OMIT_WAL defined to fail. check-in: b9b48dd8 user: dan tags: fts4aux
17:55
Fix a case in fts4 where a corrupt %_stat table could lead to a crash. check-in: 4ade96ce user: dan tags: fts4aux
16:34
Add virtual table module "fts4aux", used to inspect the full-text index of an fts4 table directly. Also add the "compress" and "uncompress" fts4 options. check-in: b010ddcc user: dan tags: fts4aux
00:04
Version 3.7.5 check-in: ed759d5a user: drh tags: trunk, release, version-3.7.5
2011-01-28
17:02
Bogus release candidate. Closed-Leaf check-in: 38ca1daa user: drh tags: mistake
16:45
Add test script pagerfault3.test. No changes to code or existing tests. check-in: 682fe41e user: dan tags: trunk
15:46
Change pager_truncate() to a different method for extending files while also ensuring that writes are page-size and page-aligned. check-in: 874bc884 user: drh tags: trunk
15:07
When extending a database file, do so by writing one or more page-size chunks of data to the file, instead of just a single byte to the end. check-in: 58577135 user: dan tags: trunk
03:13
Reactivate the analyze5.test script. Closed-Leaf check-in: a2a9f640 user: drh tags: stat2-enhancement
01:57
Change the weighting of binary searches on tables to 1/10th the cost of a search on an index. Change the assumed reduction in search space from a indexed range constraint from 1/3rd to 1/4th. Do not let the estimated number of rows drop below 1. check-in: 4847c6cb user: drh tags: stat2-enhancement
2011-01-27
18:48
Pull in all the changes from trunk up through the version 3.7.5 release candidate 1. check-in: 09d6c91d user: drh tags: apple-osx
14:35
SQLite version 3.7.5 release candidate 1 check-in: 35ac78f5 user: drh tags: trunk
2011-01-26
19:46
Update all built-in VFSes to return SQLITE_OK for the SQLITE_FCNTL_SYNC_OMITTED file-control operation. Also change the xFileControl methods to return SQLITE_NOTFOUND for unrecognized operation codes. check-in: 6f2c72a0 user: drh tags: trunk
15:23
Update test file mutex1.test to account for [e3b500fb5d]. check-in: c86e46f4 user: dan tags: trunk
13:28
More mutexes around another sqlite3StatusAdd() call. check-in: e3b500fb user: drh tags: trunk
13:24
Add a mutex around an sqlite3StatusAdd() call to prevent the pagecount overflow measurements from getting off in multithreaded applications. check-in: 3d8b298d user: drh tags: trunk
07:25
Update mutex1.test so that it works with the memsubsys1 permutation (pagecache memory). Change a few instances of SQLITE_MUTEX_STATIC_LRU2 in comments and test code to STATIC_PMEM. check-in: 456bd5c6 user: dan tags: trunk
06:13
Changes to exclusive2.test to make it more deterministic. check-in: 84b0c2bc user: dan tags: trunk
00:07
Rename the PCache1.mxPinned field to n90pct (since it is 90% of nMax) in order to distinguish it from PGroup.mxPinned. Fix the computation of n90pct so that it does not overflow adversely on excessively large cache sizes. check-in: c85202ba user: drh tags: trunk
2011-01-25
18:30
Fix new compiler warnings in pcache1.c that were introduced by the recent performance enhancement patches of [e14649301138b684]. check-in: c17703ec user: drh tags: trunk
18:19
Add a missing call to sqlite3PagerSync() removed by [ce552d975] to the backup code. check-in: 1965b853 user: dan tags: trunk
16:48
Make sure the return code from doing an xSync is correctly initialized so that a valid return code is produced regardless of the path taken through the logic. check-in: f12b5d76 user: drh tags: trunk
16:20
Change the name of SQLITE_FCNTL_SYNC to SQLITE_FCNTL_SYNC_OMITTED and only send it when PRAGMA synchronous=OFF. Add better documentation to explain what that file-control opcode is used for. check-in: 64914980 user: drh tags: trunk
13:43
Fix a couple of typos in comments. No changes to actual code. check-in: 9167fdb3 user: dan tags: trunk
11:33
Fix a broken assert() in pager.c. check-in: 13108ce1 user: dan tags: trunk
09:54
Fix a problem in memsubsys1.test. Modifications to test code only. check-in: 7ef3f7cb user: dan tags: trunk
04:34
Shave a few cycles so that performance is better than 3.7.4 in speed tests. check-in: e1464930 user: drh tags: trunk
2011-01-24
20:18
Modify the test_quote.c demonstration shim so that it works when SQLITE_THREADSAFE=0 is defined. check-in: b70bccca user: drh tags: trunk
19:45
Fix a typo in the documentation for sqlite3_snprintf(). No changes to code. check-in: 8d106541 user: drh tags: trunk
19:14
Fix a harmless compiler warning (a shadowed local variable) in analyze.c. check-in: a1ad7fb3 user: drh tags: trunk
17:46
Restructuring and generalizing analyze5.test. The whole script is currently disabled and will need to be reenabled prior to merging with trunk. check-in: 31fcc706 user: drh tags: stat2-enhancement
16:00
Ensure that if a deferred FK constraint is violated by a statement that creates its own implicit transaction, the statement is not an "active-write" after sqlite3_step() returns. Closed-Leaf check-in: 8063197e user: dan tags: deferred-fk-quirk
15:11
Change the cost estimator in the query planner to take into account the logN rowid lookup cost when going from an index to a table. check-in: b442525b user: drh tags: stat2-enhancement
2011-01-22
13:32
Modify the trace callback mechanism so that SQL commands executed from within virtual table or user function callbacks are passed to the trace callback without parameter expansion and enclosed in SQL comments. check-in: a764915b user: dan tags: trunk
00:10
Add the ability to use indices for constraints of the form "x IS NOT NULL" when sqlite_stat2 is available and most entries for column x are NULL. check-in: 5d5bddd2 user: drh tags: stat2-enhancement
2011-01-21
18:25
Change sqlite3StrAccumAppend() to use realloc instead of malloc. check-in: 380f61df user: dan tags: trunk
18:18
Adjustments to the result row estimator for the IN operator so that it gives the same estimates as the equivalent OR operator. Test cases for the same. check-in: c82cb9c0 user: drh tags: stat2-enhancement
16:27
Make use of histogram data to make better estimates for the number of rows that will be returned from "x IN (v1,v2,v3,...)" constraints. check-in: fd3977a2 user: drh tags: stat2-enhancement
15:52
Add options to test command [do_faultsim_test] to support testing VFS implementations. check-in: 503ad889 user: dan tags: trunk
14:37
Add the ability to use indices when a range contraint is bounded on the lower end by NULL. check-in: f73a167b user: drh tags: stat2-enhancement
2011-01-20
20:36
Update ANALYZE test cases to check out the use of histograms for equality constraints. check-in: c7b59afa user: drh tags: stat2-enhancement
16:52
Use histogram data to improve the row-count estimates on equality constraints. check-in: 6bfc5c69 user: drh tags: stat2-enhancement
02:56
The first of a planned series of enhancements to the query planner that enable it to make better use of sqlite_stat2 histograms when the table has many repeated values. check-in: 2cd374cd user: drh tags: stat2-enhancement
2011-01-19
21:58
Comment improvements in pcache1.c. No changes to code. check-in: 9660a0a2 user: drh tags: trunk
2011-01-18
17:34
Pull over all the latest trunk changes. check-in: ca86d04b user: drh tags: wal-trace-375
17:03
Do not use mutexes in the pcache implementation unless SQLITE_ENABLE_MEMORY_MANAGMENT is defined. This is a performance enhancement. A side effect is that pcaches will not steal pages from one another unless ENABLE_MEMORY_MANAGEMENT is set, or unless SQLITE_THREADSAFE=0. check-in: e5ca59e6 user: drh tags: trunk
16:13
Get all test cases working with the mutex-free-pcache implementation. Closed-Leaf check-in: 2dc98d29 user: drh tags: mutex-free-pcache
15:17
Do not use SQLITE_MUTEX_STATIC_MEM2 since it has been reused as STATIC_OPEN. Instead, create a new static mutex STATIC_PMEM which is an alias for the unused STATIC_LRU2. check-in: f1cf02ef user: drh tags: mutex-free-pcache
2011-01-17
21:32
Here is a completely new implementation of the mutex-free-pcache. This one uses a common code base and automatically selects whether or not to use mutexes depending on compile-time and start-time options. check-in: d094a1bf user: drh tags: mutex-free-pcache
18:30
Fix a typo in the documentation for sqlite3_stmt_readonly(). check-in: 56417a33 user: drh tags: trunk
17:42
Add the SQLITE_OMIT_AUTORESET compile-time option which if enabled causes the sqlite3_step() routine to return SQLITE_MISUSE if it is called after it has previously returned anything other than SQLITE_ROW, SQLITE_BUSY, or SQLITE_LOCKED. check-in: 053ce76d user: drh tags: trunk
02:24
Add back an ALWAYS() to regain full test coverage. check-in: b93f6f3e user: drh tags: trunk
2011-01-16
22:37
On a backup from a smaller to a larger page size, do not begin committing the transaction until the source pages after the pending byte have been copied. check-in: 612e2599 user: drh tags: trunk
00:56
Make sure the change-counter and SQLite-version fields of the header are set correctly even when doing a VACUUM with locking_mode=EXCLUSIVE. Ticket [5d863f876ee9561b]. check-in: 04fa1e16 user: drh tags: trunk
2011-01-15
21:42
Make sure the change counter and SQLite version numbers in the header are set correctly, even when running in WAL mode and when VACUUMing in WAL mode. Ticket [5d863f876ee9561b9]. check-in: 0be92a75 user: drh tags: trunk
18:11
Fix the change-counter increment for WAL pages so that it works even when invoked from xStress. Ticket [5d863f876ee9561b95e2]. Closed-Leaf check-in: 228e7c34 user: drh tags: bug-5d863f87
17:12
Increment the change counter and update the SQLite version number whenever page 1 is added to the WAL. Ticket [5d863f876ee9561b9] check-in: c1e0d09c user: drh tags: bug-5d863f87
16:52
Add a test case demonstrating the problem described by ticket [5d863f876e]. check-in: af54963f user: dan tags: trunk
2011-01-14
16:43
Rerun autoconf to bring the configure script up-to-date. check-in: 14217464 user: drh tags: trunk
16:12
Provide an alternative and experimental pcache implementation that avoids the use of mutexes at the expense of using more memory. Closed-Leaf check-in: 2ea5bd12 user: drh tags: mutex-free-pcache
15:17
Fix comments, including some documentation comments, in the page cache logic. No code changes. check-in: c80e9c1a user: drh tags: trunk
11:51
Fix a bug in test code (test_vfs.c). check-in: 772a3845 user: dan tags: trunk
2011-01-13
16:10
Fix a typo on the sqlite3_open_v2() documentation. check-in: b0add45a user: drh tags: trunk
11:20
Fix a couple of crashes in fts3 that can occur if the database contents are inconsistent. check-in: 811e12cd user: dan tags: trunk
10:58
Fix a segfault that can occur in matchinfo if an fts4 table contains mostly zero-length documents. Specifically, if the table contains more rows than it does bytes of text. check-in: fe904766 user: dan tags: trunk
2011-01-12
17:56
Do not raise an SQLITE_CORRUPT error in Recoverymode if the database size in the header is larger than the physical file size. This facilitates recovery of a database in which the database size field has been corrupted. check-in: 114640d9 user: drh tags: trunk
2011-01-11
17:40
Merge accidentally created fork. check-in: b7d080b8 user: dan tags: trunk
17:39
Add the SQLITE_FCNTL_SYNC file-control. check-in: b3f2f465 user: dan tags: trunk
17:38
Change the page size of the destination database in a backup, if it is changeable, prior to starting the backup. check-in: a5e4e0ca user: drh tags: trunk
16:09
If a rollback is attempted in journal_mode=off mode, force SQLite to discard the contents of the pager cache before processing any subsequent queries. check-in: ece7efce user: dan tags: trunk
12:46
Fix the sqlite3.h generator script so that it generates the correct SQLITE_SOURCE_ID string with the latest versions of Fossil that include fractional seconds on the date/time stamp. check-in: 3513bf6e user: drh tags: trunk
01:42
A proposed change to the sqlite3_step() API such that it will only auto-reset following an SQLITE_BUSY or SQLITE_LOCKED error. Calls after any other result other than SQLITE_ROW will return SQLITE_MISUSE. Closed-Leaf check-in: d1b3c54f user: drh tags: step-autoreset
2011-01-10
21:01
Update pager requirements to account for the ZIPVFS extension. check-in: d94e59b5 user: drh tags: trunk
2011-01-07
02:50
Reorder the fields in private structures in an effort to reduce alignment gaps and thus make the structures smaller, and to put frequently accessed fields first. Also update some obsolete comments. Valgrind shows a very slight performance improvement. check-in: 378a1d13 user: drh tags: trunk
2011-01-06
15:51
Enhance the showdb tool to show overflow page pointers at the end of overflow cells. check-in: cda5eab1 user: drh tags: trunk
01:26
Enhance the showdb tool to show a btree page layout. Add limit checks so that overflow content does not overflow the buffer. check-in: 57ffa07e user: drh tags: trunk
2011-01-05
21:46
Fix a bug in the showdb utility: the serial types for BLOB and TEXT where reversed. check-in: 65a13faf user: drh tags: trunk
21:20
Enhancements to the "showdb" debugging tool. Add the ability to display the content of a cell. check-in: e9023a4e user: drh tags: trunk
13:43
Increment the version number to 3.7.5. check-in: 9ec3896e user: drh tags: trunk
13:07
Cherrypick the WAL error logging from the pre-3.7.5 line into a branch for version 3.7.2. Include the sqlite3_vsnprintf() interface. This checkin is intended for debugging and not for release. Leaf check-in: 6549e767 user: drh tags: wal-trace-372
12:50
Add detailed error logging to WAL in an effort to track down an obscure SQLITE_PROTOCOL problem. This code is intended for debugging and not for release. check-in: 2c2afdd0 user: drh tags: wal-trace-375
12:20
Add the sqlite3_vsnprintf() interface. check-in: fc67adea user: drh tags: trunk
2011-01-04
20:06
Fix a null-pointer dereference that can occur on an OOM error while running ANALYZE with SQLITE_ENABLE_STAT2. check-in: 73128d4e user: drh tags: trunk
19:01
Fix the ANALYZE command so that it takes collating sequences into account when gathering index statistics. check-in: a5867cfc user: drh tags: trunk
17:57
The ANALYZE command now counts at all rows of an index, even those containing NULL values. A valid sqlite_stat1 entry is created even if the index contains nothing but NULLs. check-in: 824c8dd3 user: drh tags: trunk
2010-12-29
18:24
Have testfixture invoke C routine Zipvfs_Init() when creating a new interpreter if SQLITE_ENABLE_ZIPVFS is defined. check-in: 430635da user: dan tags: trunk
10:49
Fix some off-by-one errors in the comments for API functions create_function() and value_blob(). No changes to code or tests. check-in: 7ded90ba user: dan tags: trunk
2010-12-24
15:49
Reduce the number of calls to sqlite3_realloc() made by fts3 when querying for position information of a term prefix. check-in: 7088d945 user: dan tags: trunk
2010-12-22
21:48
Do not include <sys/mmap.h> if SQLITE_OMIT_WAL is defined. check-in: b82e85ec user: drh tags: trunk
2010-12-21
21:28
Add test cases for the new lookaside hit and miss status outputs. Add the output of lookaside hit and miss to the command-line shell statistics. check-in: b0888047 user: drh tags: trunk
20:36
Merge into the trunk the experimental enhancements to sqlite3_db_status() for measuring lookaside memory allocator performance. check-in: 8c3b06c2 user: drh tags: trunk
00:20
Remove the obsolete compile-time option SQLITE_THREAD_OVERRIDE_LOCK from the autoconf makefile. Needed only for LinuxThreads, which we no longer support. check-in: 09f6c053 user: drh tags: trunk
00:16
Rearrange a variable declaration in the proxy locking code to avoid a harmless compiler warning on recent MacOS versions. check-in: 39bbd355 user: drh tags: trunk
2010-12-20
17:00
Clarify the documentation of the SQLITE_STATUS_MALLOC_COUNT parameter to sqlite3_status(). check-in: 3b41bcc3 user: drh tags: trunk
15:51
Add additional DBSTATUS options for measuring the hit and miss rates against the lookaside memory pool - information useful in tuning the lookaside size. Currently experimental pending analysis of performance impact. Closed-Leaf check-in: 34613f1d user: drh tags: experimental
2010-12-17
14:03
Add the "-heap" option to the command-line shell - to allocate a fixed heap for use with SQLITE_ENABLE_MEMSYS5. check-in: 74fff692 user: drh tags: trunk
01:00
Fix minor typos in the sqlite3_backup documentation. check-in: df430be5 user: drh tags: trunk
2010-12-16
20:35
Improvements to the documentation for sqlite3_backup. No code changes. check-in: f83609f4 user: drh tags: trunk
19:52
Fix an assertion fault that can only occur if SQLITE_ENABLE_STAT2 is defined and the constant folding optimization is disabled using sqlite3_test_control(). Problem introduced by [ad8bc68197f2b4] but we missed it prior to the 3.7.4 release due to taking shortcuts and skipping tests in the release checklist. check-in: 70a3d817 user: drh tags: trunk
02:06
Make wal_checkpoint a no-op if a prior checkpoint has already copied all WAL content into the database. This prevents a concurrent write to the database from resetting the wal-index out from under the WalIterator of the checkpoint as it is initializing. check-in: cf86affc user: drh tags: trunk
2010-12-15
21:02
Enhanced comments in wal.c and declare some procedure parameters "const". No changes to the generated code. check-in: d0e4375b user: drh tags: trunk
18:54
When registering the built-in LIKE and GLOB functions, make sure that they are tagged with SQLITE_UTF8 so that if other application-defined LIKE and GLOB implementations are provided for UTF16, then the appropriate function will be selected. check-in: e1660764 user: drh tags: trunk
2010-12-10
17:06
Fix a performance regression in matchinfo(). check-in: fa37d8eb user: dan tags: trunk
2010-12-09
19:15
Add support for the SQLITE_DEFAULT_FOREIGN_KEYS compile-time option. check-in: c959945a user: drh tags: trunk
18:55
Mention the SQLITE_DEFAULT_WAL_AUTOCHECKPOINT compile-time option in the documentation for the sqlite3_wal_autocheckpoint() interface. check-in: 5a52dd59 user: drh tags: trunk
2010-12-08
18:30
Update the sqlite3_stmt_readonly() interface so that its output is well-defined for all prepared statements, and so that it gives the correct result for VACUUM. check-in: 9c19b7ae user: drh tags: trunk
03:28
The command-line shell ignore errors in sqlite3_close() when shutting down. check-in: 925332c3 user: drh tags: trunk
00:02
Changes to the shell which should, in theory, allow it to work with libeditline as an alternative to libreadline. check-in: e474fd9e user: drh tags: trunk
2010-12-07
23:24
Improved documentation for SQLITE_FCNTL_FILE_POINTER. check-in: 43935548 user: drh tags: trunk
20:14
Version 3.7.4 check-in: a586a4de user: drh tags: trunk, release, version-3.7.4
17:12
Work around restriction in Windows file locking. check-in: fe441df9 user: shaneh tags: trunk
16:39
Fix a bug in the demo "superlock" code preventing locks from being released in some circumstances. check-in: 65c39379 user: dan tags: trunk
15:49
Merge in all changes to the trunk through version 3.7.4rc3. check-in: d2ccf7fc user: drh tags: apple-osx
14:59
Version 3.7.4 release candidate 3 check-in: 11c74c0d user: drh tags: trunk
14:32
Run some of the existing test scripts with optimizations disabled as part of all.test. check-in: b0634d2f user: dan tags: trunk
07:57
Add tests to tkt-80ba201079.test. check-in: c370338c user: dan tags: trunk