/ Timeline
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

100 descendants and 100 ancestors of [e059152a]

2011-04-07
01:14
Fix typos in documentation comments. No changes to code. check-in: 9c64b5a9 user: drh tags: trunk
2011-04-06
23:40
Add a missing "extern C" terminator to the end of sqlite3session.h. check-in: 29090b69 user: drh tags: sessions
23:39
Fix VC++ compiler warnings. check-in: 7b7c8d36 user: drh tags: sessions
22:33
Merge in the latest changes from the trunk. check-in: 435b57dc user: drh tags: sessions
22:05
Fix a performance regression: Keep two btree masks in each prepared statement; one for btrees used and another for btrees that require locks. Only try to lock the btrees identified by the second mask. check-in: 614de91a user: drh tags: trunk
19:15
Fix a benign inaccuracy in the os_unix.c SQLITE_FCNTL_SIZE_HINT code. check-in: 61a6ccbe user: dan tags: trunk
17:54
Changes to support building with various SQLITE_OMIT_XXX options defined. check-in: 2039ed95 user: dan tags: trunk
12:38
Update a comment in sqliteLimit.h. No changes to code or tests. check-in: b7296fd3 user: dan tags: trunk
12:37
Add configurations featuring the -ftrapv switch and large values for SQLITE_MAX_ATTACHED to releasetest.tcl. check-in: 989588ab user: dan tags: trunk
2011-04-05
22:13
Merge the latest trunk changes into the sessions branch. check-in: 45f20261 user: drh tags: sessions
22:10
Merge the latest trunk changes into the apple-osx branch. check-in: c77a767c user: drh tags: apple-osx
22:08
Suppress many harmless compiler warnings, mostly signed/unsigned comparisons within asserts or unused parameters in extensions. check-in: 3eeb0ff7 user: drh tags: trunk
19:27
Simplifications to the sqlite3BtreeEnterAll() and LeaveAll() routines. Just have them call BtreeEnter and BtreeLeave() repeatedly rather than trying to be clever. check-in: 51039b35 user: drh tags: trunk
19:26
Simplifications to the sqlite3ResetInternalSchema() logic to eliminate unreachable branches. check-in: a4c3ac98 user: drh tags: trunk
18:34
Remove dead code from the OP_JournalMode opcode in the VDBE. This code seems to have been useless since [f88c6367d2] on 2010-08-07. check-in: a89f24e2 user: drh tags: trunk
17:31
Remove the mutex counter and the logic that attempts to verify that btree mutexes are held continuously. We are not making that assumption at this time. check-in: 242ce7cf user: drh tags: trunk
16:09
When committing a WAL transaction, do not write any pages to the WAL file with page numbers greater than the size of the database image in pages. check-in: 311d0b61 user: dan tags: trunk
14:22
Fix a documentation typo. check-in: d25c17ef user: drh tags: trunk
13:38
Pull the latest changes from trunk (and hence from schema-parse-refactor) into the apple-osx branch. check-in: 8e885dde user: drh tags: apple-osx
13:27
Pull the latest trunk changes (and hence the schema-parse-refactor changes) into the sessions branch. check-in: 03ca8342 user: drh tags: sessions
13:12
Merge the scheme-parse-refactor changes into trunk: (1) added sqlite3SchemaMutexHeld() asserts, (2) Use -1 instead of 0 to mean "all" in sqlite3ResetInternalSchema(), and other cosmetic changes. check-in: 5db4511d user: drh tags: trunk
12:25
Fix the P4_TRANSIENT constant so that it works correct - so that it really makes a copy of the string for the P4 argument. Use P4_TRANSIENT wherever appropriate. Change P4_STATICs of schema names to P4_TRANSIENT. check-in: bf664b20 user: drh tags: trunk
11:26
Improved comment on the sqlite3SrcListLookup function. check-in: bcbc9ff5 user: drh tags: trunk
02:33
Added ifcapable wal to some test scripts; check-in: 6b270381 user: shaneh tags: trunk
02:21
Added ifcapable utf16 to a few test cases; check-in: 57e0919b user: shaneh tags: trunk
2011-04-04
23:08
Add a comment to the VACUUM implementation explaining when all schemas are reset and not just the "main" schema. Closed-Leaf check-in: 2aff1b0c user: drh tags: schema-parse-refactor
21:48
Changes for consistent use of SQLITE_OS_UNIX and removal of legacy OS_UNIX from testfixture source; check-in: 78b6eee2 user: shaneh tags: trunk
21:25
Additional schema mutex checks for sqlite3RootPageMoved(). Reduce the scope of sqlite3ResetInternalSchema() in a few places. check-in: 39c00907 user: drh tags: schema-parse-refactor
20:40
Minor comment typo corrections. Simplify an assert. No functional changes. check-in: 82c23162 user: drh tags: schema-parse-refactor
18:22
Add a description of access rules for the Schema object and lots of asserts to verify that the access rules are followed. check-in: ae8374af user: drh tags: schema-parse-refactor
15:38
Add the "--start=[permutation:][testfile]" option to tester.tcl. For starting quick.test or all.test at the nominated permutation and/or test file. check-in: a97e8505 user: dan tags: trunk
14:05
Merge test_syscall.c fix from the trunk. check-in: 1e1a23cc user: dan tags: schema-parse-refactor
14:03
Have test_syscall.c include "sqliteInt.h". Otherwise the SQLITE_OS_UNIX symbol may not be defined correctly. check-in: fda8fadd user: dan tags: trunk
13:40
Rename sqlite3SchemaFree() to sqlite3SchemaClear() to more accurately reflect its function. check-in: 71d74400 user: drh tags: schema-parse-refactor
13:19
Merge the latest changes of trunk into the session branch. check-in: 95d53c44 user: drh tags: sessions
13:11
Merge in the latest changes from trunk. check-in: 6d78a25d user: drh tags: apple-osx
13:07
Merge in the latest changes from trunk. check-in: 47b79c40 user: drh tags: schema-parse-refactor
12:29
Move the expired-statement test for OP_Function until after all memory has been freed. The test is still commented out, however. check-in: 425e3edb user: drh tags: trunk
07:05
Changes to oserror.test and syscall.test so that they work with the in-memory journal permutation test. check-in: 4e996f36 user: dan tags: trunk
03:27
Suppress unused parameter warnings in sqlite3VdbeEnter() and related routines. check-in: f8e98ab3 user: drh tags: trunk
00:14
Remove the BtreeMutexArray object - use the Vdbe.btreeMask field to accomplish the same result. Add a generation counter to btree mutexes in order to assert that mutexes are never temporarily dropped over a range of instructions in order to do deadlock avoidance in some subroutine. Lock all btrees in any Vdbe program that uses OP_ParseSchema. check-in: d81708f7 user: drh tags: trunk
2011-04-03
18:19
Make sure that the constant 1 is cast to yDbType before shifting to create an attached database mask. This check-in is a follow-up and fix to the [7aaf8772274422] change that increases the maximum number of attached databases from 30 to 62. check-in: e2a09ea7 user: drh tags: trunk
02:41
Fix typos in comments. No changes to code. check-in: 28c5f12e user: drh tags: trunk
2011-04-02
20:08
Merge in the latest changes from trunk. check-in: 0d99229a user: drh tags: schema-parse-refactor
20:01
Change the name of the "tAttachMask" datatype to "yDbMask". check-in: 3d6f2e82 user: drh tags: trunk
17:00
Avoid returning SQLITE_NOTFOUND when the unix xSetSystemCall interface is invoked with NULL passed as the second argument, even if all the default system calls are already installed. check-in: 3b91eaaa user: dan tags: trunk
16:50
When resetting any non-TEMP schema, also reset the TEMP schema since it might be holding references to the non-TEMP schema that just got reset. check-in: 211d5dde user: drh tags: schema-parse-refactor
16:28
Begin a series of changes designed to reduce the scope and frequency of invalidating schemas. Design goals are that the internal schema should never be deleted out from under a prepared statement that is running and that all prepared statements should be expired if the schema is invalidated. At the same time, minimize the number of schema invalidations. This change merely revises the sqlite3ResetInternalSchema() function to use -1 as the wildcard for "all" rather than 0, so that we can reset the main schema independently of all the others. check-in: 6a8ad6e3 user: drh tags: schema-parse-refactor
09:44
Fix a race condition in OP_ParseSchema. check-in: 71a799b0 user: dan tags: trunk
09:25
Do not attempt to run tests that use the 'wholenumber' virtual table if the build does not support virtual tables. check-in: 20afd81a user: dan tags: trunk
06:44
Fix additional test cases so that they work with DEFAULT_AUTOVACUUM. check-in: 139bc565 user: dan tags: trunk
2011-04-01
23:49
Add the "wholenumber" virtual table module to the test suite - useful in populating tables with many rows of content prior to a test. check-in: 975dff15 user: drh tags: trunk
20:54
Fix up the Makefile.in so that the configuration script works for "make test". check-in: 2e03830c user: drh tags: trunk
20:47
Merge the word-fuzzer branch into trunk. check-in: f77609d4 user: drh tags: trunk
20:28
Add additional test data and documentation to the fuzzer virtual table. Closed-Leaf check-in: a6a81d4f user: drh tags: word-fuzzer
19:14
Changes to wal tests so that they work with DEFAULT_AUTOVACUUM defined. check-in: b477852f user: dan tags: trunk
18:39
Merge the multiplexer enhancements back into the trunk. check-in: 2c125710 user: drh tags: trunk
18:12
Add a script that will break the amalgamation source file up into 4 or 5 smaller source files, each 32K lines or fewer, and a single "sqlite3-all.c" source file that #includes the others. check-in: 5d34e64d user: drh tags: trunk
17:53
Change analyze7.test so that it works without SQLITE_ENABLE_STAT2 defined. check-in: 9415201c user: dan tags: trunk
16:50
When simulating an error in the close() system call, close the file descriptor anyway. Otherwise long running tests leak too many file-descriptors and crash. check-in: 81ddbf43 user: dan tags: trunk
15:43
Merge latest trunk changes. check-in: d184cf00 user: dan tags: sessions
15:30
If the sessions module is being built as part of the amalgamation, do not try to include sqliteInt.h and vdbeInt.h. check-in: f87bfe6e user: dan tags: sessions
15:15
Ensure that it is not possible to add a column to a system table using ALTER TABLE. check-in: d9707ef8 user: dan tags: trunk
14:26
Merge the ANALYZE-index enhancement into trunk. check-in: 7e237aea user: drh tags: trunk
14:04
Test cases for ANALYZE-index. Closed-Leaf check-in: 365896cb user: drh tags: analyze-idx
13:29
Move a variable declaration inside an #ifdef to avoid a compiler warning. check-in: 7a6d05df user: drh tags: trunk
11:56
In os_unix.c, do not return SQLITE_BUSY to SQLite following an error in fcntl(F_UNLCK), regardless of the value of errno. check-in: ff6dfe6e user: dan tags: trunk
09:04
Fix some problems in os_unix.c when compiled with ENABLE_LOCKING_STYLE on OSX. Also some minor issues with test scripts. check-in: 8088031b user: dan tags: trunk
02:26
Fix two compiler errors associated with non-standard compile-time options. check-in: e3bf2d5c user: drh tags: trunk
01:38
Fix a compiler warning and an unreachable branch. Restore 100% branch test coverage. check-in: 4dc148bb user: drh tags: trunk
2011-03-31
02:03
Change the ANALYZE command so that it will accept an index name as its argument and only reanalyze that one index. A quick smoke-test works. Need to study the implications to the query planner and test corner cases. check-in: c8f9edd9 user: drh tags: analyze-idx
2011-03-30
21:04
Add the SQLITE_ENABLE_PREUPDATE_HOOK compile-time option. check-in: 66345214 user: drh tags: sessions
19:08
Further tests for os_unix.c. check-in: a84f7711 user: dan tags: trunk
17:25
Disable the truncate optimization if there is a preupdate hook. check-in: d051694e user: drh tags: sessions
17:07
Add documentation to the sqlite3_preupdate_hook() interface and its relatives. check-in: 8180f288 user: drh tags: sessions
14:54
Do not generate sqlite_stat1 entries for empty tables when running ANALYZE. Ticket [83ea97620bd31016451] check-in: 3a27af5b user: drh tags: trunk
02:03
Merge in all the latest changes from trunk. check-in: b11d941e user: drh tags: sessions
01:43
Move to an O(NlogN) algorithm for the priority queue. An insertion sort was way too slow. check-in: 7958cbba user: drh tags: word-fuzzer
2011-03-29
23:41
Add support for rowid. check-in: 2cf4158f user: drh tags: word-fuzzer
18:28
Add tests to syscall.test and sysfault.test. check-in: 3d2de011 user: dan tags: trunk
18:21
The first simple test-case appears to be working now. check-in: dd41155b user: drh tags: word-fuzzer
15:40
Fix a problem whereby following an IO error in CommitPhaseTwo() of a multi-file transaction the b-tree layer could be left in TRANS_WRITE state, causing problems later on. check-in: dbe569a0 user: dan tags: trunk
15:00
If the keyword "unordered" appears at the end of the SQLITE_STAT1.STAT column for an index, then use that index for equality lookups only, never for range queries or sorting. Closed-Leaf check-in: 3b964155 user: drh tags: unordered-index-hack
14:08
Further improvements to the fuzzer. It still is not quite working. Pausing to work on other things.... check-in: 5f2f2fce user: drh tags: word-fuzzer
10:04
Fix a problem in the unix VFS implementation of xNextSystemCall(). Also some typos that prevent compilation when HAVE_POSIX_FALLOCATE is defined. check-in: bc6cce81 user: dan tags: trunk
01:47
Fix the documentation for the sqlite3_column_*_name() functions to describe that the information can be invalidated when a prepared statement is reprepared by the first invocation of an sqlite3_step() for a particular execution cycle. check-in: 7270f80a user: drh tags: trunk
2011-03-28
19:10
Add test infrastructure (and some tests) to inject faults into os_unix.c using the new xSetSystemCall interface. check-in: 0e1d20df user: dan tags: trunk
2011-03-26
19:04
Added most of the logic. Simple test runs without segfaulting but does not give the correct answer. check-in: fb4c31ea user: drh tags: word-fuzzer
15:05
Skeleton code for the word-fuzzer virtual table. check-in: ea3a4ee1 user: drh tags: word-fuzzer
2011-03-25
19:06
Improve coverage of session module a bit more. check-in: 4255a9f6 user: dan tags: sessions
10:52
Improve coverage of session module code. check-in: 666123c8 user: dan tags: sessions
2011-03-24
17:43
Minor change to sqlite3Utf8Read() to make consistent with READ_UTF8() usage and avoid implementation defined usages of <<. Added some additional UTF-8 test cases. check-in: 7173b392 user: shaneh tags: trunk
17:37
Fix problem with tableapi.test on Windows. check-in: 69fe0c87 user: shaneh tags: trunk
16:53
Fix handling of schema changes mid-session. check-in: 76d2d2ad user: dan tags: sessions
16:04
Fix handling of schema mismatches in sqlite3session.c so that it matches the docs in sqlite3session.h. check-in: 506a0d7a user: dan tags: sessions
11:22
Store primary key definitions for modified tables in changesets. Add the sqlite3changeset_pk() API to extract this data from a changeset iterator. check-in: 54298ee5 user: dan tags: sessions
01:34
The changes to fix [f7b4edece25c9948] mean that the schema is always loaded whenever a prepared statement is running. This means that a couple of branches can be eliminated and one operand of OP_ParseSchema can be removed. check-in: b6e268fc user: drh tags: trunk
2011-03-23
22:54
Fix a signed/unsigned comparison compiler warning. check-in: c81da6f9 user: drh tags: trunk
22:51
Update the test_vfstrace.c shim to conform to the new VFS interface for xSetSystemCall and xGetSystemCall. check-in: ad4dc7b9 user: drh tags: trunk
22:48
Merge in all the latest changes from the trunk, and especially the interface changes to the SystemCall methods of the VFS. check-in: 9c3a6e47 user: drh tags: sessions
22:02
Change the xSetSyscall methods of the VFS so that they do not cast object pointers into function pointers. Fix other unrelated compiler warnings. check-in: e059152a user: drh tags: trunk
18:22
Increase the upper bound on SQLITE_MAX_ATTACHED from 30 to 62. check-in: 7aaf8772 user: drh tags: trunk
17:10
Fix a bug in fts4 to do with matchinfo and deferred tokens. check-in: 30d42dc6 user: dan tags: trunk
11:16
In the shell, make sure the ".log" command has at least one argument. check-in: 1ed5e361 user: drh tags: trunk
10:52
Fix a numbering issue in rtree6.test. Add a couple of extra tests. check-in: 0b7668a7 user: dan tags: trunk
10:38
Change the rtree module to support queries with multiple comparison operators (i.e. > or <) of the same type on a single column. check-in: 387b55aa user: dan tags: trunk
2011-03-21
17:15
Add the ability to enable and disable foreign key constraints and triggers using calls to sqlite3_db_config(). check-in: 09e167f9 user: drh tags: trunk
2011-03-19
02:04
Add a test case to verify that ticket [f7b4edece25c994857] is fixed. check-in: eedbcf0a user: drh tags: trunk
2011-03-18
21:55
Add a generation counter to the Schema object and enhance OP_VerifySchema to also check the Schema generation. Fix for ticket [f7b4edece25c99]. check-in: 36c04dd1 user: drh tags: trunk
2011-03-17
16:45
Update the implementation of ".testctrl" in the command-line shell to use a look-up table rather than a long sequence of if-elses. Shorten source code lines of shell.c to 80 characters or less. check-in: 54bacb95 user: drh tags: trunk
01:58
Comment enhancement to better explain the logic in the "x IS NULL" optimization. check-in: 869f8947 user: drh tags: trunk
01:34
Enhances to the query planner such that "x IS NULL" constraints take the STAT2 statistics into account, just like "x=VALUE" constraints. check-in: 23531768 user: drh tags: trunk
2011-03-16
18:54
Additional interpretation of flags and constants in the VFS trace output. check-in: 3e984195 user: drh tags: trunk
17:05
Add the -vfstrace option to the usage error message in the shell. check-in: baca45c5 user: drh tags: trunk
16:56
Add the VFS-trace shim. check-in: f49a9ef3 user: drh tags: trunk
2011-03-15
19:08
Make the "unix-excl" VFS work exactly like "unix" if the database file is read-only. check-in: d9846834 user: drh tags: trunk
18:35
Fix an out-of-order variable declaration in shell.c. check-in: 72570846 user: drh tags: trunk
02:55
Fix cut-and-paste typo in debugging print statement in winMutexTry(). check-in: def98fd2 user: shaneh tags: trunk
2011-03-14
13:54
Merge the unix-excl VFS into the trunk. This merge also adds the -vfs option to the command-line shell. check-in: 3934b004 user: drh tags: trunk
2011-03-12
18:10
In the "unix-excl" VFS, use the heap for shared memory, since only a single process is able to read or write the database. Closed-Leaf check-in: a05a6d40 user: drh tags: unix-excl
17:02
Add the new optional "unix-excl" VFS. This VFS grabs an exclusive lock on the database preventing other processes from accessing it, but continues to allow other database connections from the same process. check-in: 00051c32 user: drh tags: unix-excl
04:58
More tests for SQLITE_OMIT_UNIQUE_ENFORCEMENT and minor change to implementation. check-in: b8699943 user: shaneh tags: trunk
2011-03-11
16:15
Remove an unused field from the unix sqlite3_file object. check-in: f957f23a user: drh tags: trunk
2011-03-10
21:48
Simplification of tests and more added for SQLITE_OMIT_UNIQUE_ENFORCEMENT tests. check-in: 75a38411 user: shaneh tags: trunk
21:13
Skip unique constraint enforcement if compiled with SQLITE_OMIT_UNIQUE_ENFORCEMENT. check-in: ba85bf8c user: shaneh tags: trunk
03:54
Minor clean-up of previous mem5 allocator fix. check-in: 36438423 user: shaneh tags: trunk
2011-03-09
21:36
Fix issue with mem5 allocator when min request size is larger thatn 2^30. check-in: d7dae06f user: shaneh tags: trunk
21:02
Omit unnecessary OP_Next and OP_Prev operators when uniqueness constraints guarantee that the code will only make one pass through the loop. check-in: f000c9b2 user: drh tags: trunk
11:04
Updates to the OS/2 implementation from Rich Walsh. check-in: dc46156a user: drh tags: trunk
2011-03-08
16:39
Merge the syscall-override changes into trunk. check-in: 36d79e6f user: drh tags: trunk
14:05
Unix errno integer can vary from one system to the next. So do not depend on specific errno values in test cases. check-in: ddb747d3 user: drh tags: trunk
13:06
Fix two compiler warnings. No functional code changes. check-in: c829868a user: drh tags: trunk
02:38
Fix additional cases of possible signed integer overflow, especially with regard to negation. check-in: 2d5800bd user: drh tags: trunk
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
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-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-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:00
Fix a typo in the robust_flock() macro for systems without EINTR. check-in: af9ba2a6 user: drh tags: trunk
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-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
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-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
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