]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
16 years agoA subquery in the result set of a SELECT should be able to look into outer
drh [Tue, 9 Dec 2008 13:04:29 +0000 (13:04 +0000)] 
A subquery in the result set of a SELECT should be able to look into outer
queries to find variable references.  But a subquery in the FROM clause
should not be able to do this.  Ticket #3530. (CVS 5998)

FossilOrigin-Name: be03fa0543044dc46952695e963d9b82afed892b

16 years agoRemoved some harmless compiler warnings and converted some "double" ops to "int"...
shane [Tue, 9 Dec 2008 04:59:00 +0000 (04:59 +0000)] 
Removed some harmless compiler warnings and converted some "double" ops to "int" in date.c. (CVS 5997)

FossilOrigin-Name: 5eb648a0b599c83504b892e2a5cefe6a837d6017

16 years agoGet rid of more silly compiler warnings. (CVS 5996)
drh [Tue, 9 Dec 2008 03:55:14 +0000 (03:55 +0000)] 
Get rid of more silly compiler warnings. (CVS 5996)

FossilOrigin-Name: 59ae0020683766993c38e2b76a436d78d3e4bd63

16 years agoSuppress more silly compiler warnings. (CVS 5995)
drh [Tue, 9 Dec 2008 02:51:23 +0000 (02:51 +0000)] 
Suppress more silly compiler warnings. (CVS 5995)

FossilOrigin-Name: 1522c2c6677b97edfa09dd64b4f9ed139aeb5bec

16 years agoFix compiler warnings in where.c and in the TCL test harness. (CVS 5994)
drh [Tue, 9 Dec 2008 01:32:03 +0000 (01:32 +0000)] 
Fix compiler warnings in where.c and in the TCL test harness. (CVS 5994)

FossilOrigin-Name: 680755dbf01e20569b87068b1515b144903c566e

16 years agoSome minor name refactoring in where.c. Avoid declaring variables before
drh [Mon, 8 Dec 2008 21:37:14 +0000 (21:37 +0000)] 
Some minor name refactoring in where.c.  Avoid declaring variables before
initializing them in the amalgamation because VC++ doesn't like that. (CVS 5993)

FossilOrigin-Name: 6ed696e7c03351514278338fa986539cf0fac178

16 years agoFix a bug in win32 command-line client introduced during efforts to reduce
drh [Mon, 8 Dec 2008 18:27:31 +0000 (18:27 +0000)] 
Fix a bug in win32 command-line client introduced during efforts to reduce
the number of harmless compiler warnings (check-in (5982).) (CVS 5992)

FossilOrigin-Name: 6c0b2e7579ee5504617831a5e8bb6193e283ad30

16 years agoThe amalgamation now compiles cleanly on GCC with options
drh [Mon, 8 Dec 2008 18:19:17 +0000 (18:19 +0000)] 
The amalgamation now compiles cleanly on GCC with options
-pedantic-errors -Wno-long-long. (CVS 5991)

FossilOrigin-Name: 73c7302c5f76a2f61ecd75f8bda69bb500d3119c

16 years agoFix two unused-parameter warnings in the parser. (CVS 5990)
drh [Mon, 8 Dec 2008 16:01:12 +0000 (16:01 +0000)] 
Fix two unused-parameter warnings in the parser. (CVS 5990)

FossilOrigin-Name: cf419d0b01c0144b752f4283ba9668747339b218

16 years agoFix a segfault associated with the column cache that occurs on nested VIEWs.
drh [Mon, 8 Dec 2008 13:42:36 +0000 (13:42 +0000)] 
Fix a segfault associated with the column cache that occurs on nested VIEWs.
Ticket #3527. (CVS 5989)

FossilOrigin-Name: 490138a2012fcb4c859e1cf12a35e314ec1060d2

16 years agoMake sure a memory allocation error did not prevent UTF16 to UTF8 conversion
drh [Sat, 6 Dec 2008 16:46:13 +0000 (16:46 +0000)] 
Make sure a memory allocation error did not prevent UTF16 to UTF8 conversion
prior to doing a string comparison. (CVS 5988)

FossilOrigin-Name: 9d061e20d885bee7ac7875500a0e7c238b540a63

16 years agoMake sure the KeyInfo object attached to a transient table used for
drh [Sat, 6 Dec 2008 16:10:42 +0000 (16:10 +0000)] 
Make sure the KeyInfo object attached to a transient table used for
sorting records the sqlite3 object used for memory allocation, so that
memory allocation failures on UTF16 to UTF8 conversion can be recorded. (CVS 5987)

FossilOrigin-Name: 76246d9f0d4e995f6be6fbd1fa2bcabc1b9566ae

16 years agoMark the hash table enlargement in pcache1.c as a benign-failure malloc. (CVS 5986)
drh [Sat, 6 Dec 2008 14:34:33 +0000 (14:34 +0000)] 
Mark the hash table enlargement in pcache1.c as a benign-failure malloc. (CVS 5986)

FossilOrigin-Name: 5c0fe63a6374abe98e45c11ada54c064c19bbab8

16 years agoMake the minimum allocate size for RowSet objects large enough to accommodate
drh [Fri, 5 Dec 2008 23:40:22 +0000 (23:40 +0000)] 
Make the minimum allocate size for RowSet objects large enough to accommodate
8-byte pointers. (CVS 5985)

FossilOrigin-Name: b74885e0856c46412f7cf4dca4cafb740cb9a28b

16 years agoFix integrity check so that it always reports memory allocation errors that
drh [Fri, 5 Dec 2008 22:40:08 +0000 (22:40 +0000)] 
Fix integrity check so that it always reports memory allocation errors that
it encounters. (CVS 5984)

FossilOrigin-Name: 2a3f5ce14c050b135ab9d2247aee84ca37882c4b

16 years agoMake sure the nOverflow flag in MemPage is reset to zero after every insert. (CVS...
drh [Fri, 5 Dec 2008 20:01:43 +0000 (20:01 +0000)] 
Make sure the nOverflow flag in MemPage is reset to zero after every insert. (CVS 5983)

FossilOrigin-Name: bfde3dae0c7b97308344519ca06cd4b290e8cf47

16 years agoFix harmless compiler warnings. Improved comments in the query optimizer. (CVS 5982)
drh [Fri, 5 Dec 2008 17:17:07 +0000 (17:17 +0000)] 
Fix harmless compiler warnings.  Improved comments in the query optimizer. (CVS 5982)

FossilOrigin-Name: adedd697b475dadaa2eeae0d0413603195c955cf

16 years agoMake use of sqlite3DbMallocSize to maximize the size of growable buffers
drh [Fri, 5 Dec 2008 15:24:15 +0000 (15:24 +0000)] 
Make use of sqlite3DbMallocSize to maximize the size of growable buffers
after each reallocation.  Added new comments and testcase() macros to
where.c. (CVS 5981)

FossilOrigin-Name: 46f2d08959423e130a5b346138311649d92f0fde

16 years agoVariable name changes in the query optimizer for disambiguation and
drh [Fri, 5 Dec 2008 02:36:33 +0000 (02:36 +0000)] 
Variable name changes in the query optimizer for disambiguation and
clarification.  Clear space in boolean vectors for new bit values to
encode new query plan templates. (CVS 5980)

FossilOrigin-Name: 81bd0b5ce8a1cf057064c44e9b5371502cb8c58c

16 years agoExpand table.* properly on a USING or a NATURAL join. Ticket #3522. (CVS 5979)
drh [Fri, 5 Dec 2008 00:00:07 +0000 (00:00 +0000)] 
Expand table.* properly on a USING or a NATURAL join.  Ticket #3522. (CVS 5979)

FossilOrigin-Name: 06d206ef7d5e433ccde347d63dfcd2177545e1fd

16 years agoFix a segfault that can occur in the RowSet object following a malloc
drh [Thu, 4 Dec 2008 22:17:55 +0000 (22:17 +0000)] 
Fix a segfault that can occur in the RowSet object following a malloc
failure. (CVS 5978)

FossilOrigin-Name: cb0f1658d3db7ccf80843d66fa85af8de44710d0

16 years agoReplace the VDBE Fifo object with the new RowSet object. (CVS 5977)
drh [Thu, 4 Dec 2008 20:40:10 +0000 (20:40 +0000)] 
Replace the VDBE Fifo object with the new RowSet object. (CVS 5977)

FossilOrigin-Name: 39a0750b49cf55e9c0927169ca47db909f5c16ea

16 years agoMake sure dot-lock is fully enabled when SQLITE_ENABLE_LOCKING_STYLE is
drh [Thu, 4 Dec 2008 12:34:15 +0000 (12:34 +0000)] 
Make sure dot-lock is fully enabled when SQLITE_ENABLE_LOCKING_STYLE is
disabled.  Fix compiler warnings when SQLITE_ENABLE_LOCKING_STYLE is
disabled. (CVS 5976)

FossilOrigin-Name: 4697249fcc6041ba7d2fb89589c855a8bec71eb2

16 years agoFix a memory leak in the shell that occurs when a ".import" command fails.
drh [Thu, 4 Dec 2008 12:26:00 +0000 (12:26 +0000)] 
Fix a memory leak in the shell that occurs when a ".import" command fails.
Ticket #3517 (CVS 5975)

FossilOrigin-Name: cb9c15431c53b13b70d006d8c47741ebc1caaca3

16 years agoAlways enable the OP_Blob opcode in the VDBE even when
drh [Thu, 4 Dec 2008 12:17:30 +0000 (12:17 +0000)] 
Always enable the OP_Blob opcode in the VDBE even when
SQLITE_OMIT_BLOB_LITERAL is defined, since that opcode is used for other
purposes as well.  Ticket #3518. (CVS 5974)

FossilOrigin-Name: 760333de65328281137e02423904f860df572391

16 years agoAllow the entire FROM clause of a SELECT statement to be in parentheses. (CVS 5973)
drh [Wed, 3 Dec 2008 23:23:40 +0000 (23:23 +0000)] 
Allow the entire FROM clause of a SELECT statement to be in parentheses. (CVS 5973)

FossilOrigin-Name: 72ebc8cbe00f77f7864146de7c0954c4f1c59b8d

16 years agoFix a missing forward declaration that is needed when
drh [Wed, 3 Dec 2008 22:48:32 +0000 (22:48 +0000)] 
Fix a missing forward declaration that is needed when
SQLITE_PREFER_PROXY_LOCKING is defined. (CVS 5972)

FossilOrigin-Name: 24235300b3f64f0396e1016afbe31aec9ea69b62

16 years agoReorganize the proxy-locking method in os_unix.c. Additional cleanup. (CVS 5971)
drh [Wed, 3 Dec 2008 22:32:44 +0000 (22:32 +0000)] 
Reorganize the proxy-locking method in os_unix.c.  Additional cleanup. (CVS 5971)

FossilOrigin-Name: 31f6090e22b54d657afc8c23171d000d47850205

16 years agoMake os_unix compile with SQLITE_ENABLE_PROXY_LOCKING (CVS 5970)
aswift [Wed, 3 Dec 2008 21:26:19 +0000 (21:26 +0000)] 
Make os_unix compile with SQLITE_ENABLE_PROXY_LOCKING (CVS 5970)

FossilOrigin-Name: 3efedac6aa4f544d40c2f782109d4e1795e449a0

16 years agoContinue with the cleanup of os_unix.c. (CVS 5969)
drh [Wed, 3 Dec 2008 19:34:47 +0000 (19:34 +0000)] 
Continue with the cleanup of os_unix.c. (CVS 5969)

FossilOrigin-Name: 215d36ea89078036fb66b5154f054613b735dab3

16 years agoFully initialize the unused bytes of the buffer that will become the journal
drh [Sat, 29 Nov 2008 22:49:23 +0000 (22:49 +0000)] 
Fully initialize the unused bytes of the buffer that will become the journal
file header, in order to silence a complaint from valgrind. (CVS 5968)

FossilOrigin-Name: 2822cbb960dbef9d30586ee112d74f9f566309fa

16 years agoContinuing to refactor os_unix.c. This is an incremental check-in. (CVS 5967)
drh [Sat, 29 Nov 2008 02:20:26 +0000 (02:20 +0000)] 
Continuing to refactor os_unix.c.  This is an incremental check-in. (CVS 5967)

FossilOrigin-Name: c13df0311ef4f6a510f42105293f7c53c323fda8

16 years agoContinuing work on the os_unix.c refactoring. Removed all of the
drh [Sat, 29 Nov 2008 00:56:52 +0000 (00:56 +0000)] 
Continuing work on the os_unix.c refactoring.  Removed all of the
LOCKING_STYLE_* constants and instead pass around pointers to the
underlying sqlite3_io_method objects. (CVS 5966)

FossilOrigin-Name: 1017d2fb1935a278ef442030bf7bdf5e112c566a

16 years agoFirst step in refactoring os_unix.c. This is work in progress. The code
drh [Fri, 28 Nov 2008 15:37:20 +0000 (15:37 +0000)] 
First step in refactoring os_unix.c.  This is work in progress.  The code
compiles and runs on Linux and MacOSX (as long as SQLITE_ENABLE_LOCKING_STYLE
is turned off), but there are a few test failures. (CVS 5965)

FossilOrigin-Name: 7825cd63e5cb390a9c2c05957ebc9b189612f04a

16 years agoAdd 19 new assert() statements in btree.c that attempt to detect writing to
drh [Thu, 27 Nov 2008 02:22:10 +0000 (02:22 +0000)] 
Add 19 new assert() statements in btree.c that attempt to detect writing to
a cache page which is not writeable. (CVS 5964)

FossilOrigin-Name: f9c7359065829b016d8cd04304c02509c254fe05

16 years agoexpected error message has trailing space (CVS 5963)
pweilbacher [Wed, 26 Nov 2008 20:09:14 +0000 (20:09 +0000)] 
expected error message has trailing space (CVS 5963)

FossilOrigin-Name: 165bc2d7658e14eda8b375329e4286dc4d048f3a

16 years agoremove warning in os2Sync() with SQLITE_NO_SYNC set (CVS 5962)
pweilbacher [Wed, 26 Nov 2008 20:03:21 +0000 (20:03 +0000)] 
remove warning in os2Sync() with SQLITE_NO_SYNC set (CVS 5962)

FossilOrigin-Name: 68a51f67afd54f1c423206a92b36a33af071d5e1

16 years agomake os2Randomness() act the same as other platforms with SQLITE_TEST (all zeroed...
pweilbacher [Wed, 26 Nov 2008 19:56:48 +0000 (19:56 +0000)] 
make os2Randomness() act the same as other platforms with SQLITE_TEST (all zeroed buffer) (CVS 5961)

FossilOrigin-Name: 5d189df39a3a5e99372826f87f9f20bbd92f1565

16 years agoFix the test condition for the test cases added to prevent regressions of
drh [Wed, 26 Nov 2008 13:44:30 +0000 (13:44 +0000)] 
Fix the test condition for the test cases added to prevent regressions of
ticket #3508. (CVS 5957)

FossilOrigin-Name: 4e94aa3bedc6dba003a2a4ecbba9c11c465eab4f

16 years agoFix an obscure memory leak that can follow an IO error. (CVS 5956)
danielk1977 [Wed, 26 Nov 2008 07:40:30 +0000 (07:40 +0000)] 
Fix an obscure memory leak that can follow an IO error. (CVS 5956)

FossilOrigin-Name: 8271229c66c72c344ad7afb901b88d9cdaaa6f43

16 years agoFix a couple of assert() failures provoked by running with a small default cache...
danielk1977 [Wed, 26 Nov 2008 07:25:52 +0000 (07:25 +0000)] 
Fix a couple of assert() failures provoked by running with a small default cache-size (64 pages). (CVS 5955)

FossilOrigin-Name: 1a66481a37dd9a21673c0ffb3df2be0614fe9f63

16 years agoMove the definition of function transferOwnership() in os_unix.c to below the static...
danielk1977 [Tue, 25 Nov 2008 12:07:40 +0000 (12:07 +0000)] 
Move the definition of function transferOwnership() in os_unix.c to below the static functions it calls. (CVS 5954)

FossilOrigin-Name: 622cb59791ab9f61c2e5131cb6ece5e75cdc9fae

16 years agoAdded cast to PAGE_TO_PGHDR1 macro to remove warning. It looks like despite the...
shane [Mon, 24 Nov 2008 20:05:38 +0000 (20:05 +0000)] 
Added cast to PAGE_TO_PGHDR1 macro to remove warning.  It looks like despite the warning, the compiler (tested with VS2005 and GCC on Windows) was doing the right thing.  Ticket #3510. (CVS 5953)

FossilOrigin-Name: e93cec0a72c7c330e63d38d683f4c8b63e0f8070

16 years agoFixed some spelling errors in sqliteInt.h. Ticket #3509. (CVS 5952)
shane [Mon, 24 Nov 2008 20:01:32 +0000 (20:01 +0000)] 
Fixed some spelling errors in sqliteInt.h.  Ticket #3509. (CVS 5952)

FossilOrigin-Name: 7e134a5c1a9f103abd9d655483ad54cffae7e3ef

16 years agoAdded test case to in4.test to try and duplicate crash reported on the mailing list...
shane [Mon, 24 Nov 2008 15:32:00 +0000 (15:32 +0000)] 
Added test case to in4.test to try and duplicate crash reported on the mailing list. (CVS 5951)

FossilOrigin-Name: 8502fba37bb13c019252d0a65973a78982ec44aa

16 years agofix the compile warnings on OS/2 (CVS 5950)
pweilbacher [Sat, 22 Nov 2008 19:50:53 +0000 (19:50 +0000)] 
fix the compile warnings on OS/2 (CVS 5950)

FossilOrigin-Name: b7d0ec838b806e7b2532bef1d59279c32fb206d3

16 years agoMake sure the error message handler is able to deal with NULL expression
drh [Sat, 22 Nov 2008 18:28:50 +0000 (18:28 +0000)] 
Make sure the error message handler is able to deal with NULL expression
spans. Ticket #3508. (CVS 5949)

FossilOrigin-Name: ce36b6474a62f0a5b8d82968ca9a171f7143ae31

16 years agoFix testfixture linking problem by marking unix-only symbol as such. (CVS 5944)
pweilbacher [Fri, 21 Nov 2008 23:35:02 +0000 (23:35 +0000)] 
Fix testfixture linking problem by marking unix-only symbol as such. (CVS 5944)

FossilOrigin-Name: 2ca8b82247277baf3b81b5111988305ad5f67701

16 years agoFactor out and simplify the canonical pathname logic in the VxWorks OS
drh [Fri, 21 Nov 2008 22:21:50 +0000 (22:21 +0000)] 
Factor out and simplify the canonical pathname logic in the VxWorks OS
interface. (CVS 5943)

FossilOrigin-Name: adb0aafaa6b1ea06541f653a2559f099fb1b2795

16 years agoWork toward cleaning up and refactoring the os_unix.c VFS module.
drh [Fri, 21 Nov 2008 20:32:33 +0000 (20:32 +0000)] 
Work toward cleaning up and refactoring the os_unix.c VFS module.
Change IS_VXWORKS to OS_VXWORKS.  The VxWorks implementation can now
be built and tested on Linux using -DOS_VXWORKS=1 -Dsem_t=int -DPATH_MAX=512 -DNO_GETTOD=1. (CVS 5942)

FossilOrigin-Name: 30a0132a83ce95d45f106fce1439e7509fdc64d1

16 years agoFix the OOM handling for explain statements so that it is the same as for regular...
danielk1977 [Fri, 21 Nov 2008 16:58:03 +0000 (16:58 +0000)] 
Fix the OOM handling for explain statements so that it is the same as for regular statements if the OOM error occurs from within a call to sqlite3_column_text() or text16(). (CVS 5941)

FossilOrigin-Name: 891b14e138c4d6cac0dfb234d8aedc5dabe376ab

16 years agoFix a segfault that can be caused by an INSTEAD OF trigger on a view that includes...
danielk1977 [Fri, 21 Nov 2008 16:22:18 +0000 (16:22 +0000)] 
Fix a segfault that can be caused by an INSTEAD OF trigger on a view that includes an expression of the form "table.column" in the select list. (CVS 5940)

FossilOrigin-Name: 88a09dbb4b54be4010aae767157a1e2002237909

16 years agoFix an assert() failure that can occur after an OOM error. (CVS 5939)
danielk1977 [Fri, 21 Nov 2008 09:43:20 +0000 (09:43 +0000)] 
Fix an assert() failure that can occur after an OOM error. (CVS 5939)

FossilOrigin-Name: 4c765758c18d7aeffe6e1cf658d2847f9460a956

16 years agoFix the problems demonstrated in tkt35xx.test in a different way to (5936). (CVS...
danielk1977 [Fri, 21 Nov 2008 09:09:01 +0000 (09:09 +0000)] 
Fix the problems demonstrated in tkt35xx.test in a different way to (5936). (CVS 5938)

FossilOrigin-Name: ddf980a50127a9de35edeca5549f4b51e3f733e6

16 years agoAdd another test case to tkt35xx.test showing that a statement rollback can also...
danielk1977 [Fri, 21 Nov 2008 08:50:50 +0000 (08:50 +0000)] 
Add another test case to tkt35xx.test showing that a statement rollback can also trigger the problem. (CVS 5937)

FossilOrigin-Name: 74c08b8dd9577d1997b4bc8147beed786150f22b

16 years agoOn a ROLLBACK, if there page cache entries which are dirty but not in the
drh [Fri, 21 Nov 2008 03:23:43 +0000 (03:23 +0000)] 
On a ROLLBACK, if there page cache entries which are dirty but not in the
rollback journal, make sure they get reinitialized in the btree layer. (CVS 5936)

FossilOrigin-Name: faded96f36229ee85039276db693391d0f10648c

16 years agoFixes to the proxy locking so that os_unix.c compiles on linux with proxy
drh [Fri, 21 Nov 2008 00:24:42 +0000 (00:24 +0000)] 
Fixes to the proxy locking so that os_unix.c compiles on linux with proxy
locking omitted. (CVS 5935)

FossilOrigin-Name: 6f910b7036817f4bb4de807bf48938d20ab033cc

16 years agoAdded support for proxy file locking style
aswift [Fri, 21 Nov 2008 00:10:35 +0000 (00:10 +0000)] 
Added support for proxy file locking style
Added pragma support for controlling proxy file locking
Added file control access to last errno and proxy locking
Added support for TMPDIR environment variable
Extended unit tests to cover new proxy locking pragmas and file control features (CVS 5934)

FossilOrigin-Name: b9bc36d3d5e35821ef69c0881a84c0afed253c9e

16 years agoWhen a memory allocation fails on the %Q conversion in sqlite3_mprintf(),
drh [Thu, 20 Nov 2008 18:20:28 +0000 (18:20 +0000)] 
When a memory allocation fails on the %Q conversion in sqlite3_mprintf(),
make sure the error is reported back up the call stack. (CVS 5933)

FossilOrigin-Name: eebacbc9d7d0625dfbe6367046fa4a0ca9c04e74

16 years agoIn os_win.c, if SQLITE_TEST defined, winRandomness() should return all zeroes like...
shane [Wed, 19 Nov 2008 21:35:46 +0000 (21:35 +0000)] 
In os_win.c, if SQLITE_TEST defined, winRandomness() should return all zeroes like os_unix.c. (CVS 5932)

FossilOrigin-Name: 00b68a1e3164fbf04dabb480c2037be45612b4e4

16 years agoVersion 3.6.6 (CVS 5931)
drh [Wed, 19 Nov 2008 21:03:37 +0000 (21:03 +0000)] 
Version 3.6.6 (CVS 5931)

FossilOrigin-Name: 01a6e2820af0729f01ce90664ce9a6aa63e5b09a

16 years agoForce the corruptC.test script to use file format 1. (CVS 5930)
drh [Wed, 19 Nov 2008 18:43:07 +0000 (18:43 +0000)] 
Force the corruptC.test script to use file format 1. (CVS 5930)

FossilOrigin-Name: deadc2548d1e43cbbfe3af049cc5f59ee55bda46

16 years agoIn bitvec.c: removed some of the recursion, minor optimizations, added comments,...
shane [Wed, 19 Nov 2008 18:30:34 +0000 (18:30 +0000)] 
In bitvec.c: removed some of the recursion, minor optimizations, added comments, improved consistency. (CVS 5929)

FossilOrigin-Name: 54d714fba6624e0c7adb961317c75a8a8c5fa8de

16 years agoUpdate the SECURE_DELETE code to track the latest changes in the pager. (CVS 5928)
drh [Wed, 19 Nov 2008 18:30:29 +0000 (18:30 +0000)] 
Update the SECURE_DELETE code to track the latest changes in the pager. (CVS 5928)

FossilOrigin-Name: e058f509374e98e48eafeba2f1dadff9633d1190

16 years agoFix some compiler warnings that show up when building the amalgamation only. (CVS...
danielk1977 [Wed, 19 Nov 2008 16:52:44 +0000 (16:52 +0000)] 
Fix some compiler warnings that show up when building the amalgamation only. (CVS 5927)

FossilOrigin-Name: d1abe8a1c9a990b02c71d6c249436381c9fde443

16 years agoFix a few more compiler warnings. (CVS 5926)
danielk1977 [Wed, 19 Nov 2008 14:35:46 +0000 (14:35 +0000)] 
Fix a few more compiler warnings. (CVS 5926)

FossilOrigin-Name: 70b2f6839ca97dfc08f72875283f5c75c8fcf0cc

16 years agoIn os_unix.c, use "IS_VXWORKS" instead of "defined(__RTP__) || defined(_WRS_KERNEL...
danielk1977 [Wed, 19 Nov 2008 13:52:30 +0000 (13:52 +0000)] 
In os_unix.c, use "IS_VXWORKS" instead of "defined(__RTP__) || defined(_WRS_KERNEL)". Purely because it's easier on the eyes. (CVS 5925)

FossilOrigin-Name: 92c91a6cd7bcbe79206bdf7708fe9049a7b7fdd6

16 years agoVersion number to 3.6.6. (CVS 5924)
drh [Wed, 19 Nov 2008 12:43:20 +0000 (12:43 +0000)] 
Version number to 3.6.6. (CVS 5924)

FossilOrigin-Name: 8cc120fb3aed835a2cd081963317b7f1b1ac4b73

16 years agoEliminate some of the "unused parameter" warnings in os_unix.c. (CVS 5923)
danielk1977 [Wed, 19 Nov 2008 11:35:39 +0000 (11:35 +0000)] 
Eliminate some of the "unused parameter" warnings in os_unix.c. (CVS 5923)

FossilOrigin-Name: 2f5aaad90b7e3bbb31866c43db3e24a1be26f03b

16 years agoSimplify the way the pager layer invokes the busy-handler callback. (CVS 5922)
danielk1977 [Wed, 19 Nov 2008 10:22:33 +0000 (10:22 +0000)] 
Simplify the way the pager layer invokes the busy-handler callback. (CVS 5922)

FossilOrigin-Name: 7bd1ac189906d87ed360875551d50147dd2186f6

16 years agoChanges to avoid "unused parameter" compiler warnings. (CVS 5921)
danielk1977 [Wed, 19 Nov 2008 09:05:26 +0000 (09:05 +0000)] 
Changes to avoid "unused parameter" compiler warnings. (CVS 5921)

FossilOrigin-Name: 88134322c36b41304aaeef99c39b4ef5b495ca3b

16 years agoAdd an alternative application-defined pcache implementation and add test
drh [Wed, 19 Nov 2008 01:20:26 +0000 (01:20 +0000)] 
Add an alternative application-defined pcache implementation and add test
cases to permutations.test to invoke it.  Added the SQLITE_CONFIG_GETPCACHE
method to sqlite3_config(). (CVS 5920)

FossilOrigin-Name: 16f1e6ec2ad92f68c0079a0c2b5ca08a3b4af816

16 years agoFix to the lemon parser template when YYSTACKSIZE is 0 (dynamically
drh [Tue, 18 Nov 2008 23:25:54 +0000 (23:25 +0000)] 
Fix to the lemon parser template when YYSTACKSIZE is 0 (dynamically
allocated stack space). (CVS 5919)

FossilOrigin-Name: 00ccc5967f8912961029a3513445c5e2ac713560

16 years agoAdd support for SQLITE_NO_SYNC for OS/2, too. (CVS 5918)
pweilbacher [Tue, 18 Nov 2008 23:03:39 +0000 (23:03 +0000)] 
Add support for SQLITE_NO_SYNC for OS/2, too. (CVS 5918)

FossilOrigin-Name: 2990b5b8e7bd8f91af24e5a606666077855ae283

16 years agoExpose the MBCS->UTF8 convert routine in the Win32 backend. (CVS 5917)
drh [Tue, 18 Nov 2008 19:18:52 +0000 (19:18 +0000)] 
Expose the MBCS->UTF8 convert routine in the Win32 backend. (CVS 5917)

FossilOrigin-Name: f4411f0c8075adc8a37002ac7ad958ff3158c0c0

16 years agoApplication-defined page cache documentation updates. (CVS 5916)
drh [Tue, 18 Nov 2008 19:18:08 +0000 (19:18 +0000)] 
Application-defined page cache documentation updates. (CVS 5916)

FossilOrigin-Name: db0f1203591fcc4c554c47cdf28abe279cf7f1d5

16 years agoReduce the number of "missing initializer" warnings. (CVS 5915)
danielk1977 [Tue, 18 Nov 2008 07:27:24 +0000 (07:27 +0000)] 
Reduce the number of "missing initializer" warnings. (CVS 5915)

FossilOrigin-Name: d68e2795e72f1bfc0bf3b8e75cdec2e0b3d5bfcb

16 years agoModifications to avoid unsigned/signed comparisons in various files. (CVS 5914)
danielk1977 [Mon, 17 Nov 2008 19:18:54 +0000 (19:18 +0000)] 
Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914)

FossilOrigin-Name: 8009220c36635dd9b6efea7dc13281ca9625c40a

16 years agoModifications to avoid unsigned/signed comparisons in where.c. (CVS 5913)
danielk1977 [Mon, 17 Nov 2008 16:42:00 +0000 (16:42 +0000)] 
Modifications to avoid unsigned/signed comparisons in where.c. (CVS 5913)

FossilOrigin-Name: f35606d1d8cd6dba541a79dcb1307698b8831854

16 years agoModifications to avoid signed/unsigned warnings in vdbe.c. (CVS 5912)
danielk1977 [Mon, 17 Nov 2008 15:31:47 +0000 (15:31 +0000)] 
Modifications to avoid signed/unsigned warnings in vdbe.c. (CVS 5912)

FossilOrigin-Name: 9939dd839ac13708f9b5b877c48729b1781eedf3

16 years agoChanges to btree.c to avoid the unsigned/signed comparison warnings. (CVS 5911)
danielk1977 [Mon, 17 Nov 2008 14:20:56 +0000 (14:20 +0000)] 
Changes to btree.c to avoid the unsigned/signed comparison warnings. (CVS 5911)

FossilOrigin-Name: 24469dbace433ca89e22274f741f382052c5d17d

16 years agoAdded support for vxworks >= 6.4; RTP mode tested, kernel mode untested. (CVS 5910)
chw [Mon, 17 Nov 2008 08:05:31 +0000 (08:05 +0000)] 
Added support for vxworks >= 6.4; RTP mode tested, kernel mode untested. (CVS 5910)

FossilOrigin-Name: f45a1493636a5ee474dd6c0b5d286be2249b05aa

16 years agoModifications to pager.c to avoid the unsigned/signed warnings. (CVS 5909)
danielk1977 [Mon, 17 Nov 2008 04:56:24 +0000 (04:56 +0000)] 
Modifications to pager.c to avoid the unsigned/signed warnings. (CVS 5909)

FossilOrigin-Name: cb6be84dfc5d6546d07359b32fe04555561325de

16 years agoFix compiler warnings in pcache1.c related to comparison of unsigned and signed ...
danielk1977 [Sat, 15 Nov 2008 11:22:45 +0000 (11:22 +0000)] 
Fix compiler warnings in pcache1.c related to comparison of unsigned and signed  values. (CVS 5908)

FossilOrigin-Name: ce77ea989ea0bf4b44d5b9d0e58d30fd956038d3

16 years agoAdd a line to genfkey.README showing how to link against a shared library. Ticket...
danielk1977 [Sat, 15 Nov 2008 04:54:31 +0000 (04:54 +0000)] 
Add a line to genfkey.README showing how to link against a shared library. Ticket #3502. (CVS 5907)

FossilOrigin-Name: 800274b76945a41ca4ea72c455d220103a6b01dc

16 years agoFix a couple of memory leaks that may follow malloc failures. (CVS 5906)
danielk1977 [Thu, 13 Nov 2008 19:12:34 +0000 (19:12 +0000)] 
Fix a couple of memory leaks that may follow malloc failures. (CVS 5906)

FossilOrigin-Name: 4cf8a8e1bf22e1d8f7166e64328a95fe36c75033

16 years agoFixed several more crashes due to corrupt db files. Added corruptC.test to soak...
shane [Thu, 13 Nov 2008 18:29:50 +0000 (18:29 +0000)] 
Fixed several more crashes due to corrupt db files.  Added corruptC.test to soak.test. (CVS 5905)

FossilOrigin-Name: 9b7a52e952c81e50611e04d2d79003b0ddc57ee5

16 years agoAdded support for -DSQLITE_NO_SYNC to os_win.c. (CVS 5904)
shane [Thu, 13 Nov 2008 18:20:43 +0000 (18:20 +0000)] 
Added support for -DSQLITE_NO_SYNC to os_win.c. (CVS 5904)

FossilOrigin-Name: 2649337937077d2dba7cdc7473fcd176aa252a52

16 years agoFixed typo in tkt3472.test that prevented the test from running. (CVS 5903)
shane [Thu, 13 Nov 2008 18:02:51 +0000 (18:02 +0000)] 
Fixed typo in tkt3472.test that prevented the test from running. (CVS 5903)

FossilOrigin-Name: 428a5479200dc24e2ee9b4a85ef6caadacbdbbd7

16 years agoAvoid committing a transaction from within the xSync() method of a virtual table...
danielk1977 [Thu, 13 Nov 2008 18:00:14 +0000 (18:00 +0000)] 
Avoid committing a transaction from within the xSync() method of a virtual table. Fix for #3497. (CVS 5902)

FossilOrigin-Name: eabb8b7591eab164c637d78ca4df00fcb5bd3c5b

16 years agoMinor changes to get memsys5 compiling and its tests passing. Ticket #3495. (CVS...
danielk1977 [Thu, 13 Nov 2008 16:21:50 +0000 (16:21 +0000)] 
Minor changes to get memsys5 compiling and its tests passing. Ticket #3495. (CVS 5901)

FossilOrigin-Name: 96453ca16e90bc0c0cbfb75b3e39899f56d6ea66

16 years agoUpdate mksqlite3c.tcl to include new file pcache1.c. (CVS 5900)
danielk1977 [Thu, 13 Nov 2008 14:42:18 +0000 (14:42 +0000)] 
Update mksqlite3c.tcl to include new file pcache1.c. (CVS 5900)

FossilOrigin-Name: 00442e0f57b52808d087154c84ece531bf1cfb62

16 years agoAdd an API to support custom page cache implementations. (CVS 5899)
danielk1977 [Thu, 13 Nov 2008 14:28:28 +0000 (14:28 +0000)] 
Add an API to support custom page cache implementations. (CVS 5899)

FossilOrigin-Name: 47866d6708e9b69e367937fd85f93580fd025447

16 years agoAvoid some buffer overreads detected by valgrind while running corruptC.test. (CVS...
danielk1977 [Wed, 12 Nov 2008 18:21:36 +0000 (18:21 +0000)] 
Avoid some buffer overreads detected by valgrind while running corruptC.test. (CVS 5898)

FossilOrigin-Name: faa6bd7b615837c920b5b3b027115caa2f56ec15

16 years agoVersion 3.6.5 (CVS 5897)
drh [Wed, 12 Nov 2008 15:38:53 +0000 (15:38 +0000)] 
Version 3.6.5 (CVS 5897)

FossilOrigin-Name: 369f74983bb1b6a6426260148018cdc084fc2b49

16 years agoDo not redefine the MIN and MAX macros if they are already defined. (CVS 5896)
drh [Wed, 12 Nov 2008 15:24:27 +0000 (15:24 +0000)] 
Do not redefine the MIN and MAX macros if they are already defined. (CVS 5896)

FossilOrigin-Name: f41dd2053c8a297a05b47d0ef631b4d9a7db2fff

16 years agoIn corruptC.test, explicitly set "PRAGMA auto_vacuum = 0". (CVS 5895)
danielk1977 [Wed, 12 Nov 2008 14:22:25 +0000 (14:22 +0000)] 
In corruptC.test, explicitly set "PRAGMA auto_vacuum = 0". (CVS 5895)

FossilOrigin-Name: b6563af8f9517760c2346a820e241b0517a10fe0

16 years agoUpdate the version number to 3.6.5. (CVS 5894)
drh [Wed, 12 Nov 2008 14:21:05 +0000 (14:21 +0000)] 
Update the version number to 3.6.5. (CVS 5894)

FossilOrigin-Name: f150b870e3a24d407d8d5ac374e2a7d0f4072a2d

16 years agoOmit the threadOverrideEachOthersLocks tests for builds that non-unix
drh [Wed, 12 Nov 2008 14:07:51 +0000 (14:07 +0000)] 
Omit the threadOverrideEachOthersLocks tests for builds that non-unix
or non-threadsafe. (CVS 5893)

FossilOrigin-Name: ab418656dbf3d2e055b2462a155d90863fef6582

16 years agoFix a faulty assert in select.c. Ticket #3494. (CVS 5892)
drh [Wed, 12 Nov 2008 12:27:31 +0000 (12:27 +0000)] 
Fix a faulty assert in select.c.  Ticket #3494. (CVS 5892)

FossilOrigin-Name: e89f9c806328e0de2e8633e09242f67e26f43d76