5856 Commits

Author SHA1 Message Date
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
drh
1d2988554c Expose the MBCS->UTF8 convert routine in the Win32 backend. (CVS 5917)
FossilOrigin-Name: f4411f0c8075adc8a37002ac7ad958ff3158c0c0
2008-11-18 19:18:52 +00:00
drh
2161474f62 Application-defined page cache documentation updates. (CVS 5916)
FossilOrigin-Name: db0f1203591fcc4c554c47cdf28abe279cf7f1d5
2008-11-18 19:18:08 +00:00
danielk1977
cdcfe95cec Reduce the number of "missing initializer" warnings. (CVS 5915)
FossilOrigin-Name: d68e2795e72f1bfc0bf3b8e75cdec2e0b3d5bfcb
2008-11-18 07:27:24 +00:00
danielk1977
00e136135e Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914)
FossilOrigin-Name: 8009220c36635dd9b6efea7dc13281ca9625c40a
2008-11-17 19:18:54 +00:00
danielk1977
234329761a Modifications to avoid unsigned/signed comparisons in where.c. (CVS 5913)
FossilOrigin-Name: f35606d1d8cd6dba541a79dcb1307698b8831854
2008-11-17 16:42:00 +00:00
danielk1977
64202cfec6 Modifications to avoid signed/unsigned warnings in vdbe.c. (CVS 5912)
FossilOrigin-Name: 9939dd839ac13708f9b5b877c48729b1781eedf3
2008-11-17 15:31:47 +00:00
danielk1977
89d4004f03 Changes to btree.c to avoid the unsigned/signed comparison warnings. (CVS 5911)
FossilOrigin-Name: 24469dbace433ca89e22274f741f382052c5d17d
2008-11-17 14:20:56 +00:00
chw
971854898a Added support for vxworks >= 6.4; RTP mode tested, kernel mode untested. (CVS 5910)
FossilOrigin-Name: f45a1493636a5ee474dd6c0b5d286be2249b05aa
2008-11-17 08:05:31 +00:00
danielk1977
d92db531c8 Modifications to pager.c to avoid the unsigned/signed warnings. (CVS 5909)
FossilOrigin-Name: cb6be84dfc5d6546d07359b32fe04555561325de
2008-11-17 04:56:24 +00:00
danielk1977
44cd45c85d Fix compiler warnings in pcache1.c related to comparison of unsigned and signed values. (CVS 5908)
FossilOrigin-Name: ce77ea989ea0bf4b44d5b9d0e58d30fd956038d3
2008-11-15 11:22:45 +00:00
danielk1977
032c0c14f9 Add a line to genfkey.README showing how to link against a shared library. Ticket #3502. (CVS 5907)
FossilOrigin-Name: 800274b76945a41ca4ea72c455d220103a6b01dc
2008-11-15 04:54:31 +00:00
danielk1977
777da0848d Fix a couple of memory leaks that may follow malloc failures. (CVS 5906)
FossilOrigin-Name: 4cf8a8e1bf22e1d8f7166e64328a95fe36c75033
2008-11-13 19:12:34 +00:00
shane
dcc50b74e6 Fixed several more crashes due to corrupt db files. Added corruptC.test to soak.test. (CVS 5905)
FossilOrigin-Name: 9b7a52e952c81e50611e04d2d79003b0ddc57ee5
2008-11-13 18:29:50 +00:00
shane
84ca3837c2 Added support for -DSQLITE_NO_SYNC to os_win.c. (CVS 5904)
FossilOrigin-Name: 2649337937077d2dba7cdc7473fcd176aa252a52
2008-11-13 18:20:43 +00:00
shane
ec21707dd7 Fixed typo in tkt3472.test that prevented the test from running. (CVS 5903)
FossilOrigin-Name: 428a5479200dc24e2ee9b4a85ef6caadacbdbbd7
2008-11-13 18:02:51 +00:00
danielk1977
093e0f6ffe Avoid committing a transaction from within the xSync() method of a virtual table. Fix for #3497. (CVS 5902)
FossilOrigin-Name: eabb8b7591eab164c637d78ca4df00fcb5bd3c5b
2008-11-13 18:00:14 +00:00
danielk1977
ac8d7b35fa Minor changes to get memsys5 compiling and its tests passing. Ticket #3495. (CVS 5901)
FossilOrigin-Name: 96453ca16e90bc0c0cbfb75b3e39899f56d6ea66
2008-11-13 16:21:50 +00:00
danielk1977
d17e71c95c Update mksqlite3c.tcl to include new file pcache1.c. (CVS 5900)
FossilOrigin-Name: 00442e0f57b52808d087154c84ece531bf1cfb62
2008-11-13 14:42:18 +00:00
danielk1977
bc2ca9eb39 Add an API to support custom page cache implementations. (CVS 5899)
FossilOrigin-Name: 47866d6708e9b69e367937fd85f93580fd025447
2008-11-13 14:28:28 +00:00
danielk1977
0d0654119f Avoid some buffer overreads detected by valgrind while running corruptC.test. (CVS 5898)
FossilOrigin-Name: faa6bd7b615837c920b5b3b027115caa2f56ec15
2008-11-12 18:21:36 +00:00
drh
f99b7c8d56 Version 3.6.5 (CVS 5897)
FossilOrigin-Name: 369f74983bb1b6a6426260148018cdc084fc2b49
2008-11-12 15:38:53 +00:00
drh
7ab49bfd1e Do not redefine the MIN and MAX macros if they are already defined. (CVS 5896)
FossilOrigin-Name: f41dd2053c8a297a05b47d0ef631b4d9a7db2fff
2008-11-12 15:24:27 +00:00
danielk1977
ef988b47a4 In corruptC.test, explicitly set "PRAGMA auto_vacuum = 0". (CVS 5895)
FossilOrigin-Name: b6563af8f9517760c2346a820e241b0517a10fe0
2008-11-12 14:22:25 +00:00
drh
03c7a2f1a1 Update the version number to 3.6.5. (CVS 5894)
FossilOrigin-Name: f150b870e3a24d407d8d5ac374e2a7d0f4072a2d
2008-11-12 14:21:05 +00:00
drh
0d7f4fc4b0 Omit the threadOverrideEachOthersLocks tests for builds that non-unix
or non-threadsafe. (CVS 5893)

FossilOrigin-Name: ab418656dbf3d2e055b2462a155d90863fef6582
2008-11-12 14:07:51 +00:00
drh
d72a276e9a Fix a faulty assert in select.c. Ticket #3494. (CVS 5892)
FossilOrigin-Name: e89f9c806328e0de2e8633e09242f67e26f43d76
2008-11-12 12:27:31 +00:00
danielk1977
ab396298c4 Modify a failing test case in corruptC.test. The test case was failing only because the integrity_check was returning a slightly different error message than expected. (CVS 5891)
FossilOrigin-Name: 0953f300f8e8b2bed79ef3189a1cb29f058f388b
2008-11-12 11:57:41 +00:00
danielk1977
360e634ed4 Fix a database corruption related crash uncovered by corruptC.test. (CVS 5890)
FossilOrigin-Name: 395084acbb4c8ef878d858f640f1ed6be908d175
2008-11-12 08:49:51 +00:00
danielk1977
259a455f71 Make sure affinities and implicit collation sequences are correctly used by comparison expressions in the select-list or having clause of an aggregate query. Ticket #3493. (CVS 5889)
FossilOrigin-Name: b8ceaa00500f29bbbd0cc5aec71a6ffa91ae6b43
2008-11-12 08:07:12 +00:00
shane
0af3f8935f Fixed a few more crashes when dealing with corrupt db files. (CVS 5888)
FossilOrigin-Name: f8bb34e40917e55696376d2def932a41ad43d0ae
2008-11-12 04:55:34 +00:00
shane
34ac18daf5 Fixed crash during an UPDATE when free cell size is corrupt. (CVS 5887)
FossilOrigin-Name: ec18667e2d2826a27f2c052ba3790ab5b8cf0bc4
2008-11-11 22:18:20 +00:00
shane
826d5b7e1c Prevent a crash during an UPDATE when the cell offset is corrupt. (CVS 5886)
FossilOrigin-Name: 99d4172ed6825c7efb6cbb28eb00d98323a13954
2008-11-11 20:51:50 +00:00
drh
dfef499856 Send the "Incomplete SQL" error message of the CLI to stderr instead of
stdout.  Ticket #3476. (CVS 5885)

FossilOrigin-Name: dacae200477afffec826b3ca1517f33b110b6122
2008-11-11 18:55:03 +00:00
danielk1977
95338ab70c Remove some asserts that refer to variables removed in (5830). (CVS 5884)
FossilOrigin-Name: 9d880a6fd244fb73d0fce7e8180177c54d95cde2
2008-11-11 18:43:00 +00:00
danielk1977
41a6a61d94 Change the way threadsOverrideEachOthersLocks() works to avoid trying to write-lock a (potentially) read-only files. Also, assume that on non-linux systems threads do override each others locks. Ticket #3472. (CVS 5883)
FossilOrigin-Name: 8ecae0943b06102fe22133db0dcaf58ecbd39545
2008-11-11 18:34:35 +00:00
drh
a78c22c433 Cleanup in flattenSubquery. Add OOM tests for flattenSubquery. Fix issues
with OOM errors causes problems for flattenSubquery.  Ticket #3485. (CVS 5882)

FossilOrigin-Name: ea5f4baa041aed934600f0f96b84afb92a14bc47
2008-11-11 18:28:58 +00:00
shane
5780ebdf79 Fixed crash in integrity_check with corrupt content offset size in page header. (CVS 5881)
FossilOrigin-Name: 0659a666ff0a9fc81ee4df3c35e535164c79e588
2008-11-11 17:36:30 +00:00