SQLite

Timeline
Login

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

100 events occurring around 7af66d1bd53fd597.

2011-03-05
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
20:39 Edit [6145d7b89f835003|6145d7b8]: Change branch background color to "#b1d3a8". artifact: 2bcca2a6 user: drh
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:02 Edit [e701efbd1ddfa329|e701efbd]: Edit check-in comment. artifact: a050017a user: drh
14:00
Fix a typo in the robust_flock() macro for systems without EINTR. check-in: af9ba2a6 user: drh tags: trunk
13:57 Edit [e701efbd1ddfa329|e701efbd]: Move to branch mistake. Change background color to "#ffc0d0". Mark "Closed". artifact: 9f964f00 user: drh
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
05:24 Ticket [b72787b1] Expiry mechanism causes incorrect collateral damage status still Fixed with 1 other change artifact: 0994e864 user: rogerb ... 1 similar event omitted.
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
18:41 Ticket [eebb8a28] Inconsistent amalgamation zip archive file names status still Closed with 1 other change artifact: 5bcf3567 user: rogerb
17:49
Fix a problem with "EXPLAIN QUERY PLAN SELECT count(*) FROM tbl". check-in: 9f9f3288 user: dan tags: trunk
15:36 Closed ticket [eebb8a28]: Inconsistent amalgamation zip archive file names plus 3 other changes artifact: 8310d634 user: dan ... 1 similar event omitted.
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:44 Ticket [eebb8a28] Inconsistent amalgamation zip archive file names status still Open with 3 other changes artifact: 7fc11d5b user: rogerb ... 1 similar event omitted.
21:03
Pull in the fix to STAT2 processing from check-in [70a3d81742f]. check-in: 692aafb1 user: drh tags: branch-3.7.4
09:28 New ticket [b72787b1] Expiry mechanism causes incorrect collateral damage. artifact: 2db988da user: rogerb
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:33 Edit [442be1358e7dff17|442be135]: Edit check-in comment. artifact: 10b2bd49 user: drh
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
14:11 Edit [a586a4deeb253300|a586a4de]: Add tag "version-3.7.4". artifact: f422ba09 user: drh
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
00:14 Edit [42537b60566f2881|42537b60]: Add tag "version-3.7.2". artifact: e7912fe2 user: drh
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:55 Edit [559739998833643f|55973999]: Edit check-in comment. artifact: d5dfee6c user: shane
20:54 Fixed ticket [752e1646]: Wrong result if DISTINCT used on subquery which uses ORDER BY. plus 2 other changes artifact: 3c1f4b42 user: shane
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:58 Edit [d78949fc93077e1a|d78949fc]: Edit check-in comment. artifact: 7d2ceb35 user: drh
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:18 New ticket [752e1646] Wrong result if DISTINCT used on subquery which uses ORDER BY.. artifact: bbc2da4f user: shane
21:08
Add .testctrl option to CLI. check-in: f85afa0e user: shaneh tags: trunk
19:24 Fixed ticket [89b8c9ac]: False reports of corruption after writing db with two different versions (3.7 and 3.6). plus 1 other change artifact: 4ff25986 user: drh
19:23 Fixed ticket [77aa3b1e]: Segfault on automatic index using unknown collating function plus 2 other changes artifact: 9cd45649 user: drh
19:23 Edit [756589ad6e286a89|756589ad]: Mark "Closed". Edit check-in comment. artifact: eb23827f user: drh
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
17:26 New ticket [77aa3b1e] Segfault on automatic index using unknown collating function. artifact: 9b5b954a user: drh
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:39 Ticket [89b8c9ac] False reports of corruption after writing db with two different versions (3.7 and 3.6). status still Open with 3 other changes artifact: 58f6afac user: drh ... 1 similar event omitted.
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
18:08 New ticket [89b8c9ac] False reports of corruption after writing db with two different versions (3.7 and 3.6).. artifact: c3bfe79f user: dan
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:48 Edit [8063197ef141c0c6|8063197e]: Mark "Closed". artifact: ce29cf58 user: drh
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:53 Fixed ticket [9013e13d]: ATTACH authorization fails when database name is not a literal plus 2 other changes artifact: 6ae935d5 user: drh
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
15:42 New ticket [9013e13d] ATTACH authorization fails when database name is not a literal. artifact: 967b0455 user: drh