drh
47b1066f8c
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
2008-12-04 12:17:30 +00:00
drh
fbdc7f69b3
Allow the entire FROM clause of a SELECT statement to be in parentheses. (CVS 5973)
...
FossilOrigin-Name: 72ebc8cbe00f77f7864146de7c0954c4f1c59b8d
2008-12-03 23:23:40 +00:00
drh
c66d5b64de
Fix a missing forward declaration that is needed when
...
SQLITE_PREFER_PROXY_LOCKING is defined. (CVS 5972)
FossilOrigin-Name: 24235300b3f64f0396e1016afbe31aec9ea69b62
2008-12-03 22:48:32 +00:00
drh
715ff30e27
Reorganize the proxy-locking method in os_unix.c. Additional cleanup. (CVS 5971)
...
FossilOrigin-Name: 31f6090e22b54d657afc8c23171d000d47850205
2008-12-03 22:32:44 +00:00
aswift
f0551ee5e4
Make os_unix compile with SQLITE_ENABLE_PROXY_LOCKING (CVS 5970)
...
FossilOrigin-Name: 3efedac6aa4f544d40c2f782109d4e1795e449a0
2008-12-03 21:26:19 +00:00
drh
6b9d6ddc21
Continue with the cleanup of os_unix.c. (CVS 5969)
...
FossilOrigin-Name: 215d36ea89078036fb66b5154f054613b735dab3
2008-12-03 19:34:47 +00:00
drh
08609ce7f0
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
2008-11-29 22:49:23 +00:00
drh
9b35ea62c7
Continuing to refactor os_unix.c. This is an incremental check-in. (CVS 5967)
...
FossilOrigin-Name: c13df0311ef4f6a510f42105293f7c53c323fda8
2008-11-29 02:20:26 +00:00
drh
7708e9720b
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
2008-11-29 00:56:52 +00:00
drh
734c9864cb
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
2008-11-28 15:37:20 +00:00
drh
c5053fb922
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
2008-11-27 02:22:10 +00:00
pweilbacher
5a1841a18c
expected error message has trailing space (CVS 5963)
...
FossilOrigin-Name: 165bc2d7658e14eda8b375329e4286dc4d048f3a
2008-11-26 20:09:14 +00:00
pweilbacher
d102d1134b
remove warning in os2Sync() with SQLITE_NO_SYNC set (CVS 5962)
...
FossilOrigin-Name: 68a51f67afd54f1c423206a92b36a33af071d5e1
2008-11-26 20:03:21 +00:00
pweilbacher
efdabe9e64
make os2Randomness() act the same as other platforms with SQLITE_TEST (all zeroed buffer) (CVS 5961)
...
FossilOrigin-Name: 5d189df39a3a5e99372826f87f9f20bbd92f1565
2008-11-26 19:56:48 +00:00
drh
a9bce108be
Fix the test condition for the test cases added to prevent regressions of
...
ticket #3508 . (CVS 5957)
FossilOrigin-Name: 4e94aa3bedc6dba003a2a4ecbba9c11c465eab4f
2008-11-26 13:44:30 +00:00
danielk1977
36e20936f6
Fix an obscure memory leak that can follow an IO error. (CVS 5956)
...
FossilOrigin-Name: 8271229c66c72c344ad7afb901b88d9cdaaa6f43
2008-11-26 07:40:30 +00:00
danielk1977
0cd1bbd0b8
Fix a couple of assert() failures provoked by running with a small default cache-size (64 pages). (CVS 5955)
...
FossilOrigin-Name: 1a66481a37dd9a21673c0ffb3df2be0614fe9f63
2008-11-26 07:25:52 +00:00
danielk1977
c015e39ff9
Move the definition of function transferOwnership() in os_unix.c to below the static functions it calls. (CVS 5954)
...
FossilOrigin-Name: 622cb59791ab9f61c2e5131cb6ece5e75cdc9fae
2008-11-25 12:07:40 +00:00
shane
46fdc8f586
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
2008-11-24 20:05:38 +00:00
shane
467bcf360e
Fixed some spelling errors in sqliteInt.h. Ticket #3509 . (CVS 5952)
...
FossilOrigin-Name: 7e134a5c1a9f103abd9d655483ad54cffae7e3ef
2008-11-24 20:01:32 +00:00
shane
481e9f2089
Added test case to in4.test to try and duplicate crash reported on the mailing list. (CVS 5951)
...
FossilOrigin-Name: 8502fba37bb13c019252d0a65973a78982ec44aa
2008-11-24 15:32:00 +00:00
pweilbacher
c06b54fe59
fix the compile warnings on OS/2 (CVS 5950)
...
FossilOrigin-Name: b7d0ec838b806e7b2532bef1d59279c32fb206d3
2008-11-22 19:50:53 +00:00
drh
17d46fc7f1
Make sure the error message handler is able to deal with NULL expression
...
spans. Ticket #3508 . (CVS 5949)
FossilOrigin-Name: ce36b6474a62f0a5b8d82968ca9a171f7143ae31
2008-11-22 18:28:50 +00:00
pweilbacher
aabbed2218
Fix testfixture linking problem by marking unix-only symbol as such. (CVS 5944)
...
FossilOrigin-Name: 2ca8b82247277baf3b81b5111988305ad5f67701
2008-11-21 23:35:02 +00:00
drh
107886abe8
Factor out and simplify the canonical pathname logic in the VxWorks OS
...
interface. (CVS 5943)
FossilOrigin-Name: adb0aafaa6b1ea06541f653a2559f099fb1b2795
2008-11-21 22:21:50 +00:00
drh
6c7d5c5b33
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
2008-11-21 20:32:33 +00:00
danielk1977
6c359f071d
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
2008-11-21 16:58:03 +00:00
danielk1977
f730075312
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
2008-11-21 16:22:18 +00:00
danielk1977
956f4319be
Fix an assert() failure that can occur after an OOM error. (CVS 5939)
...
FossilOrigin-Name: 4c765758c18d7aeffe6e1cf658d2847f9460a956
2008-11-21 09:43:20 +00:00
danielk1977
b247c21c15
Fix the problems demonstrated in tkt35xx.test in a different way to (5936). (CVS 5938)
...
FossilOrigin-Name: ddf980a50127a9de35edeca5549f4b51e3f733e6
2008-11-21 09:09:01 +00:00
danielk1977
3e168ebec2
Add another test case to tkt35xx.test showing that a statement rollback can also trigger the problem. (CVS 5937)
...
FossilOrigin-Name: 74c08b8dd9577d1997b4bc8147beed786150f22b
2008-11-21 08:50:50 +00:00
drh
c047b9f74d
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
2008-11-21 03:23:43 +00:00
drh
41022645ee
Fixes to the proxy locking so that os_unix.c compiles on linux with proxy
...
locking omitted. (CVS 5935)
FossilOrigin-Name: 6f910b7036817f4bb4de807bf48938d20ab033cc
2008-11-21 00:24:42 +00:00
aswift
aebf413d9a
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
2008-11-21 00:10:35 +00:00
drh
d164fd3483
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
2008-11-20 18:20:28 +00:00
shane
c7b7f1ae1d
In os_win.c, if SQLITE_TEST defined, winRandomness() should return all zeroes like os_unix.c. (CVS 5932)
...
FossilOrigin-Name: 00b68a1e3164fbf04dabb480c2037be45612b4e4
2008-11-19 21:35:46 +00:00
drh
10ec0fa557
Version 3.6.6 (CVS 5931)
...
FossilOrigin-Name: 01a6e2820af0729f01ce90664ce9a6aa63e5b09a
2008-11-19 21:03:37 +00:00
drh
1e9db16c55
Force the corruptC.test script to use file format 1. (CVS 5930)
...
FossilOrigin-Name: deadc2548d1e43cbbfe3af049cc5f59ee55bda46
2008-11-19 18:43:07 +00:00
shane
6468ad04e4
In bitvec.c: removed some of the recursion, minor optimizations, added comments, improved consistency. (CVS 5929)
...
FossilOrigin-Name: 54d714fba6624e0c7adb961317c75a8a8c5fa8de
2008-11-19 18:30:34 +00:00
drh
1feb7dd391
Update the SECURE_DELETE code to track the latest changes in the pager. (CVS 5928)
...
FossilOrigin-Name: e058f509374e98e48eafeba2f1dadff9633d1190
2008-11-19 18:30:29 +00:00
danielk1977
f3d3c27a0c
Fix some compiler warnings that show up when building the amalgamation only. (CVS 5927)
...
FossilOrigin-Name: d1abe8a1c9a990b02c71d6c249436381c9fde443
2008-11-19 16:52:44 +00:00
danielk1977
a03396aafb
Fix a few more compiler warnings. (CVS 5926)
...
FossilOrigin-Name: 70b2f6839ca97dfc08f72875283f5c75c8fcf0cc
2008-11-19 14:35:46 +00:00
danielk1977
c70dfc477f
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
2008-11-19 13:52:30 +00:00
drh
1aa690c87c
Version number to 3.6.6. (CVS 5924)
...
FossilOrigin-Name: 8cc120fb3aed835a2cd081963317b7f1b1ac4b73
2008-11-19 12:43:20 +00:00
danielk1977
397d65f641
Eliminate some of the "unused parameter" warnings in os_unix.c. (CVS 5923)
...
FossilOrigin-Name: 2f5aaad90b7e3bbb31866c43db3e24a1be26f03b
2008-11-19 11:35:39 +00:00
danielk1977
1ceedd3736
Simplify the way the pager layer invokes the busy-handler callback. (CVS 5922)
...
FossilOrigin-Name: 7bd1ac189906d87ed360875551d50147dd2186f6
2008-11-19 10:22:33 +00:00
danielk1977
62c14b3487
Changes to avoid "unused parameter" compiler warnings. (CVS 5921)
...
FossilOrigin-Name: 88134322c36b41304aaeef99c39b4ef5b495ca3b
2008-11-19 09:05:26 +00:00
drh
b232c23297
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
2008-11-19 01:20:26 +00:00
drh
4c6517848f
Fix to the lemon parser template when YYSTACKSIZE is 0 (dynamically
...
allocated stack space). (CVS 5919)
FossilOrigin-Name: 00ccc5967f8912961029a3513445c5e2ac713560
2008-11-18 23:25:54 +00:00
pweilbacher
50128aea6a
Add support for SQLITE_NO_SYNC for OS/2, too. (CVS 5918)
...
FossilOrigin-Name: 2990b5b8e7bd8f91af24e5a606666077855ae283
2008-11-18 23:03:39 +00:00