SQLite

Timeline
Login

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

100 check-ins occurring around 88c51b9f15.

2008-09-15
04:20
Check if error code ENOTSUP is supported before using it. Ticket #3375. (CVS 5697) check-in: c32cb106 user: danielk1977 tags: trunk
2008-09-13
01:20
Fix issues with bizarrely quoted column names. Tickets #3370, #3371, and #3372. (CVS 5696) check-in: ced6bbd2 user: drh tags: trunk
2008-09-12
18:25
Fix the NEAR connector in FTS3 so that it can take ranges in excess of 9. The maximum range is now 32767. (CVS 5695) check-in: 8e9b9553 user: drh tags: trunk
16:03
Declare the isInterrupted field of the sqlite3 structure to be volatile. Ticket #3369. (CVS 5694) check-in: 414da4eb user: drh tags: trunk
10:22
Add a case to permutations.test to run tests with the IOCAP_SAFEAPPEND property set. (CVS 5693) check-in: 80bdaafa user: danielk1977 tags: trunk
2008-09-11
11:28
Add a couple of (fconfigure) commands to configure the incremental blob channels used by test file incrblob.test. This is required so that the tests work on windows and other platforms that have a default -translation mode other than 'lf'. (CVS 5692) check-in: 753caa20 user: danielk1977 tags: trunk
10:29
Fix a couple of problems with variable initializations picked up by stricter compilers. (CVS 5691) check-in: f4293d14 user: danielk1977 tags: trunk
2008-09-10
17:53
Fix some trivial cases where database corruption was causing an error code other than SQLITE_CORRUPT to be returned. (CVS 5690) check-in: 89fda074 user: danielk1977 tags: trunk
14:45
Fix for handling database files corrupted in such a was as to make a b-tree page a direct or indirect descendant of itself. (CVS 5689) check-in: 93545861 user: danielk1977 tags: trunk
13:09
Documentation updates: Describe recursion capabilities for the various callbacks. (CVS 5688) check-in: edd80811 user: drh tags: trunk
11:28
Avoid deleting a file while it is still open in corrupt2.test. Not all platforms support this. (CVS 5687) check-in: 099adfd3 user: danielk1977 tags: trunk
10:57
Fix some test script details so that the test suite runs with an SQLITE_DEFAULT_AUTOVACUUM=2 build. (CVS 5686) check-in: 300a64b7 user: danielk1977 tags: trunk
2008-09-09
18:28
Add fuzz3.test. For testing the library's response to corrupted database files. (CVS 5685) check-in: 7fd4dd95 user: danielk1977 tags: trunk
12:31
Calling sqlite3_create_function with nArg==(-1) does not override prior calls on the same function name with nArg>=0. Ticket #3345. Add the new -argcount option to the "function" method in the TCL interface. (CVS 5684) check-in: 5aa5b804 user: drh tags: trunk
2008-09-08
15:35
Fix a C++ism in pager.c (variable useAtomicWrite not declard at the top of its scope). (CVS 5683) check-in: a6dee85b user: danielk1977 tags: trunk
11:07
Fix a bug in r-tree related to internal nodes with one or more dimensions of size zero. Ticket #3363. (CVS 5682) check-in: 8b600ed0 user: danielk1977 tags: trunk
09:06
If the 'rootpage' column of the sqlite_master table contains a NULL value, return SQLITE_CORRUPT to the caller. (CVS 5681) check-in: a7b7b126 user: danielk1977 tags: trunk
08:08
Add header file sqliteicu.h to the ICU extension. This is analogous to the rtree.h and fts3.h headers used by other extensions to declare their entry points. Fix for ticket #3361. (CVS 5680) check-in: 79364b96 user: danielk1977 tags: trunk
2008-09-06
14:19
Deallocate a temp register allocated by codeEqualityTerm() in where.c. If it is not deallocated, its value may be reused by the column-cache mechanism. However, by the time it is used, the value may have been clobbered by a sub-routine that also uses the same temp register. Fix for #3357. (CVS 5679) check-in: 7c0f638e user: danielk1977 tags: trunk
2008-09-05
05:29
Change pcache.test so that it works if sqlite is configured to create auto-vacuum databases by default. (CVS 5678) check-in: 55e67756 user: danielk1977 tags: trunk
05:02
Fix a problem in btree.c preventing an OOM error from being propagated up to the caller. (CVS 5677) check-in: 0b8ee83f user: danielk1977 tags: trunk
2008-09-04
17:17
Add support for the SQLITE_THREADSAFE=2 and SQLITE_DEFAULT_MEMSTATUS compilation options. (CVS 5676) check-in: 85c2a589 user: danielk1977 tags: trunk
12:03
Missing implementation for sqlite3TransferBindings(). (CVS 5675) check-in: 56d61895 user: shane tags: trunk
06:22
If SQLITE_ENABLE_LOCKING_STYLE is defined, have the os_unix.c module offer the following extra VFS implementations for explicitly selecting a locking-style: "unix-none", "unix-afp", "unix-posix", "unix-flock" and "unix-dotfile". (CVS 5674) check-in: 6e8fb646 user: danielk1977 tags: trunk
05:53
Temporarily revert to using sqlite3_transfer_bindings() internally. (CVS 5673) check-in: 690ff385 user: danielk1977 tags: trunk
04:32
Modified core to not call deprecated functions sqlite3_memory_alarm() and sqlite3_transfer_bindings() by adding sqlite3MemoryAlarm() and sqlite3TransferBindings(). sqlite3_memory_alarm() and sqlite3_transfer_bindings() are now simple wrappers for the new functions. In prep for adding SQLITE_OMIT_DEPRECATED. (CVS 5672) check-in: 821c387d user: shane tags: trunk
2008-09-03
17:11
Work around an issue with the WINSCW compiler. (CVS 5671) check-in: e333c3f4 user: drh tags: trunk
01:08
Make the default threading mode multithread (-nomutex) in the TCL interface. (CVS 5670) check-in: d9e82694 user: drh tags: trunk
00:43
Add support for SQLITE_OPEN_FULLMUTEX. (CVS 5669) check-in: f2f361a5 user: drh tags: trunk
00:08
If a rollback fails, mark the database as corrupt. (CVS 5668) check-in: c8b24bd1 user: drh tags: trunk
2008-09-02
21:35
API documentation updates for threading mode. (CVS 5667) check-in: fa237c14 user: drh tags: trunk
17:52
Explicitly initialize at least the first field of every struct. This is to work around compilers that don't like the syntax "struct XXX { ... } yyy = {};". (CVS 5666) check-in: 88bfdc87 user: danielk1977 tags: trunk
17:18
Fix the position of the SQLITE_WSD macro in the declaration of global variable vfsList. (CVS 5665) check-in: e8694461 user: danielk1977 tags: trunk
16:22
Fine tune the hard-coded values passed to sqlite3_init_wsd(). (CVS 5664) check-in: af5763eb user: danielk1977 tags: trunk
15:44
Add an extra 'const' qualifier to two arrays (in func.c and pragma.c) to ensure that they do not consume space in the data segment of the compiled object files. (CVS 5663) check-in: 43f757c9 user: danielk1977 tags: trunk
14:07
Move the sqlite3SharedCacheEnabled global and the inProgress static variable (function sqlite3_initialize()) into the global sqlite3Config structure. This is required for the OMIT_WSD feature to work on some platforms. (CVS 5662) check-in: 88c82759 user: danielk1977 tags: trunk
11:05
Add a 'const' to the opcodeProperty array in vdbe.c. (CVS 5661) check-in: 29c9a802 user: danielk1977 tags: trunk
10:22
Change some more global variables to work with OMIT_WSD. (CVS 5660) check-in: 46acaf58 user: danielk1977 tags: trunk
09:38
Modify pcache.c to work with OMIT_WSD. (CVS 5659) check-in: 44def90d user: danielk1977 tags: trunk
00:52
Continuing work on adding full support for the SQLITE_OMIT_WSD compile-time option. (CVS 5658) check-in: ef26ea5c user: drh tags: trunk
2008-09-01
22:15
Add define for INVALID_FILE_ATTRIBUTES if it is not already defined, as some older Windows compilers do not define it. (CVS 5657) check-in: e0461f87 user: shane tags: trunk
22:06
Added (_MSC_VER>1200) to SQLITE_DEPRECATED and SQLITE_EXPERIMENTAL defines since __declspec(deprecated) isn't supported by VC 6 or earlier. Ticket #3347. (CVS 5656) check-in: 4bcaed08 user: shane tags: trunk
21:59
Omit prototype for and calls to sqlite3MaterializeView() if !defined(SQLITE_OMIT_VIEW) && !defined(SQLITE_OMIT_TRIGGER). (CVS 5655) check-in: 9cf484fc user: shane tags: trunk
20:38
Converted strcasecmp to sqlite3StrICmp. Test code only. (CVS 5654) check-in: bdeefe37 user: shane tags: trunk
19:14
Modify the aBuiltinFunc array in func.c to use the WSD macros. (CVS 5653) check-in: 846fff5f user: danielk1977 tags: trunk
18:34
Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables still need wrappers added to them. (CVS 5652) check-in: 573d92ab user: danielk1977 tags: trunk
17:23
Remove an unused function declaration from a header file. Ticket #3349. (CVS 5651) check-in: 7a577428 user: drh tags: trunk
15:52
Defer deleting Table objects associated with flattened subqueries until all code has been generated, in case some expression node still references the Table object. Ticket #3346. (CVS 5650) check-in: d04d7033 user: drh tags: trunk
12:47
Have the rtree module set the estimatedCost output variable. Ticket #3312. (CVS 5649) check-in: 483932c4 user: danielk1977 tags: trunk
2008-08-31
00:29
Changed to used sqlite3_snprintf instead of snprintf (test code only). (CVS 5648) check-in: d68791e3 user: shane tags: trunk
2008-08-30
16:34
Version 3.6.2 (CVS 5647) check-in: 88c51b9f user: drh tags: trunk, release
16:07
Run permutation subtests in sorted order. (CVS 5646) check-in: 4cd1bdf3 user: drh tags: trunk
13:25
Add some code to permutations.test to make sure no test file modifies the shared-cache setting. (CVS 5645) check-in: 8565b7c6 user: danielk1977 tags: trunk
09:10
Make sure thread003.test waits for all spawned threads to finish before continuing. (CVS 5644) check-in: 87c7e82f user: danielk1977 tags: trunk
2008-08-29
18:42
remove private declaration of sqlite3_snprintf() in sqliteInt.h as there is already a public declaration in sqlite3.h (CVS 5643) check-in: 4113e778 user: rse tags: trunk
18:40
remove a doubled function declaration (the second just is just two lines below) (CVS 5642) check-in: e5793110 user: rse tags: trunk
17:56
Move a call to sqlite3_mutex_leave() to protect calls to sqlite3StatusAdd() related to scratch (SQLITE_CONFIG_SCRATCH) memory. (CVS 5641) check-in: 4e011ddf user: danielk1977 tags: trunk
15:54
Modify tclsqlite.test so that it works reliably with tcl 8.5.4. (CVS 5640) check-in: 790d329f user: danielk1977 tags: trunk
12:00
In permutations.test, disable tests that depend on soft-heap-limit functionality when running the memsubsys2 variant. It disables the soft-heap-limit. (CVS 5639) check-in: 047c7bdb user: danielk1977 tags: trunk
09:10
If a page is made eligible for recycling when more than the configured maximum number of pages are allocated, free it immediately instead of adding it to the LRU list. (CVS 5638) check-in: 4b12922d user: danielk1977 tags: trunk
02:14
Avoid reevaluating WHERE and ORDER BY expressions that alias terms in the result set. Ticket #3343. Note that aliased GROUP BY expressions are still evaluated twice. (CVS 5637) check-in: ab0292ca user: drh tags: trunk
2008-08-28
18:35
Fix ioerr5.test so that it works with the new pcache module. (CVS 5636) check-in: 83e6a75e user: danielk1977 tags: trunk
17:46
Partial fix for a bug in recovery from xStress failures in pcache. (CVS 5635) check-in: 44193b92 user: drh tags: trunk
13:55
Avoid using (clock seconds) in thread003.test. It is not available if testfixture is linked to tcl 8.5. (CVS 5634) check-in: b606263d user: danielk1977 tags: trunk
13:15
Use ckfree() instead of sqlite3_free() to free an allocation made by ckalloc() in test_thread.c (test code only). (CVS 5633) check-in: 677ac144 user: danielk1977 tags: trunk
11:12
Fix mutex related bug in pcache.c to do with handling IO errors. (CVS 5632) check-in: 5e304fed user: danielk1977 tags: trunk
10:21
Enable the disabled asserts added by (5629). Add extra tests to thread003.test. And the required modifications to pcache.c. (CVS 5631) check-in: 473c09fa user: danielk1977 tags: trunk
08:31
Fix a threads/mutex problem in pcache.c. (CVS 5630) check-in: 1928f15b user: danielk1977 tags: trunk
02:26
Miscellaneous cleanup in the new pcache code. (CVS 5629) check-in: da177725 user: drh tags: trunk
2008-08-27
19:01
If any error occurs during sqlite3_open(), move the database handle into "sick" state. When in the sick state the user can use sqlite3_errcode() and sqlite3_errmsg(), but not much else. (CVS 5628) check-in: ce9c74ea user: danielk1977 tags: trunk
18:56
Add the trans2.test script designed to stress statement rollback and no-write optimizations on large transactions with a small cache. (CVS 5627) check-in: 39c34e22 user: drh tags: trunk
18:03
Do not mark pages as clean when doing a statement journal rollback. (CVS 5626) check-in: 9d7722f4 user: drh tags: trunk
16:38
Modifications to malloc5.test to account for the fact that sqlite3_release_memory() no longer reclaims dirty pages. (CVS 5625) check-in: b01c65b0 user: danielk1977 tags: trunk
16:14
Clear the $result variable prior to using it in corrupt2.test. (CVS 5624) check-in: 12f2d24f user: drh tags: trunk
15:21
In the test logic: load the md5sum() SQL function as a separate autoloaded extension. (CVS 5623) check-in: d4438251 user: drh tags: trunk
15:16
Use a bitvec object to store the set of pages with the 'always-rollback' property for a transaction. (CVS 5622) check-in: 9e932599 user: danielk1977 tags: trunk
13:31
Remove obsolete file: md5.c. This file had been removed years ago. It is unclear how it got back into the repository. (CVS 5621) check-in: 45fc70bd user: drh tags: trunk
09:44
Remove unreachable branches from pcache.c. (CVS 5620) check-in: 7de32498 user: danielk1977 tags: trunk
2008-08-26
23:08
Fix an issue with the permutation test script. (CVS 5619) check-in: 2e12aa3e user: drh tags: trunk
21:33
In the TCL interface, disable the authorizer when during a BEGIN, COMMIT, or ROLLBACK associated with the transaction method. Ticket #3336. (CVS 5618) check-in: 7e1032ab user: drh tags: trunk
21:07
All the page_size pragma to change the page size on a new :memory: database, but not a vacuumed :memory: database. Ticket #3335 (CVS 5617) check-in: 226a9056 user: drh tags: trunk
19:08
Disable some very expensive asserts in pcache.c that are too slow for all.test. (CVS 5616) check-in: 555dad90 user: danielk1977 tags: trunk
18:05
Simplify the pcache module by only recycling clean pages from 'other' caches. This commit causes errors in test files ioerr5.test and malloc5.test because they test recycling dirty pages from other caches. (CVS 5615) check-in: 9e511e16 user: danielk1977 tags: trunk
14:42
Implement a "counter" SQL function that can be used to insert a sequence number each row of a result set. Currently in the test harness only, but a candidate to move into the core. (CVS 5614) check-in: c84d46c7 user: drh tags: trunk
12:56
Do not flatten subqueries where the subquery has a LIMIT and the outer query has a WHERE clause. Ticket #3334. (CVS 5613) check-in: 4995a1d1 user: drh tags: trunk
2008-08-25
21:23
Add the SQLITE_OPEN_FULLMUTEX definition to sqlite3.h. It currently is not valid for anything. This is merely to reserve the number. (CVS 5612) check-in: 3b6ffb44 user: drh tags: trunk
19:09
Fix obscure permutation test problems. (CVS 5611) check-in: aa92a1be user: drh tags: trunk
17:23
Fix bug in the premutation testing that was causing many permutations from begin skipped. There are now 16 errors reported by the permutation test. (CVS 5610) check-in: 4ad096bd user: drh tags: trunk
14:49
Pick up a small performance increase by eliminating the pcacheRef() function. (CVS 5609) check-in: e3840fbf user: danielk1977 tags: trunk
12:14
Additional coverage testing in the new name resolver module. (CVS 5608) check-in: 0d61960a user: drh tags: trunk
12:08
Two if statements should be asserts. GCC was silently ignoring them, hence the problem did not show up in coverage testing. Ticket #3333. (CVS 5607) check-in: 635933b1 user: drh tags: trunk
11:57
Fix a segfault that can occur when running integrity_check on a corrupt db. (CVS 5606) check-in: eae959ed user: danielk1977 tags: trunk
07:12
If the sector size is greater than the database page size, SQLite journals all pages that lie within a sector before writing to any of them. This change ensure that a journal sync does not occur halfway through journalling the set of pages that belong to a single sector. (CVS 5605) check-in: 16f612d6 user: danielk1977 tags: trunk
2008-08-23
18:53
Instead of marking a page as clean when sqlite3PagerDontWrite() is called, set a dedictated flag - PGHDR_DONT_WRITE. (CVS 5604) check-in: a323bd29 user: danielk1977 tags: trunk
16:17
Do not incorrectly detect corruption when an auto-vacuum database is converted to a non-auto-vacuum database within a vacuum. Ticket #3332. (CVS 5603) check-in: cb869946 user: danielk1977 tags: trunk
2008-08-22
18:41
quieting compiler warning about pointer/int conversion size mismatch (CVS 5602) check-in: f8a70501 user: aswift tags: trunk
17:34
Remove dead code. (CVS 5601) check-in: 6de9c084 user: drh tags: trunk
17:28
add legacy.lo back (in alphabetical order) (CVS 5600) check-in: a861aa73 user: pweilbacher tags: trunk
17:09
Relinquish the pcache mutex before calling an xStress callback. This ensures that the pcache mutex is never held while IO is performed. (CVS 5599) check-in: 8fe234b2 user: danielk1977 tags: trunk
16:29
Enhanced test coverage. (CVS 5598) check-in: cc36b4e0 user: drh tags: trunk