danielk1977
b4e9af9ff9
First approximation of incremental blob IO API. (CVS 3892)
...
FossilOrigin-Name: c444836e7b690c16dd6acff571c613a23beb42dc
2007-05-01 17:49:49 +00:00
shess
cc3e986643
Modify loadSegmentLeavesInt() to correctly handle prefix searching.
...
The new function docListUnion() is used to accumulate a union of the
hits for the matching terms, which will be merged across segments
using docListMerge(). (CVS 3891)
FossilOrigin-Name: 72c796307338c2751a91c30f6fb16989afbf3816
2007-05-01 17:14:59 +00:00
drh
c80f058db3
The pager takes the sector size to be the larger of the sector size
...
reported by sqlite3OsSectorSize() and the page size. (CVS 3890)
FossilOrigin-Name: e5e6af55ccc5c1a8a9206b42f1dd7bf547cb97ca
2007-05-01 16:59:48 +00:00
shess
0b6212090f
Propagate prefix flag through implementation of doclist query code.
...
Also implement correct prefix-handling for traversal of interior nodes
of segment tree. A given prefix can span multiple children of an
interior node, and from there the branches need to be followed in
parallel. (CVS 3889)
FossilOrigin-Name: cae844a01a1d87ffb00bba8b4e7b62a92e633aa9
2007-04-30 22:09:36 +00:00
drh
276fdbfd61
Fix a potential segfault following a malloc() failure during a call
...
to sqlite3_prepare() where the nBytes parameter is positive but less than
the length of the input SQL string. (CVS 3888)
FossilOrigin-Name: 27bf3fc3cf3c9c7acdbf9281a4669c9f642b0097
2007-04-30 21:39:16 +00:00
shess
f055154108
Lift docListMerge() call out of loadSegmentLeavesInt() for prefix
...
search. Doclists from multiple prefix matches will need a union merge
function, which will have to logically happen across a segment before
doclists are merged between segments. (CVS 3887)
FossilOrigin-Name: 7ddb82668906e33e2d6a796f2da1795032e036d5
2007-04-30 17:52:51 +00:00
danielk1977
8c0a959f35
Try to avoid reading pages when moving overflow chains to the free-list. (CVS 3886)
...
FossilOrigin-Name: 8cccec68bd9073b2b19d3d31cf0b77b0ce76172e
2007-04-30 16:55:00 +00:00
danielk1977
b4626a3e16
Add some tests (and 2 resulting bug fixes) to incr vacuum mode. (CVS 3885)
...
FossilOrigin-Name: 89b1b3f897bda1fffceb9cf72fa4d42b809ccb8e
2007-04-28 15:47:43 +00:00
shess
8ffcadb57e
Break interior-node and leaf-node readers apart in loadSegment().
...
Previously, the code looped until the block was a leaf node as
indicated by a leading NUL. Now the code loops until it finds a block
in the range of leaf nodes for this segment, then reads it using
LeavesReader. This will make it easier to traverse a range of leaves
when doing a prefix search. (CVS 3884)
FossilOrigin-Name: 9466367d65f43d58020e709428268dc2ff98aa35
2007-04-27 22:02:57 +00:00
drh
d1e3a616ca
Internationalize the TRIM functions. Ticket #2323 . (CVS 3883)
...
FossilOrigin-Name: ff1f4e744728c8f55afae265246797b30fe98fb0
2007-04-27 21:59:52 +00:00
shess
ac7b2dd518
Lift code to traverse interior nodes out of loadSegment().
...
Refactoring towards prefix searching. (CVS 3882)
FossilOrigin-Name: 25935db73877c0cb132acb30c2fed2544d0e5e32
2007-04-27 21:24:18 +00:00
shess
1c7ebb0805
Refactor fts2 loadSegmentLeaf() in preparation for prefix-searching.
...
Prefix-searching will want to accumulate data across multiple leaves
in the segment, using LeavesReader instead of LeafReader is the first
step in that direction. (CVS 3881)
FossilOrigin-Name: 22ffdae4b6f3d0ea584dafa5268af7aa6fdcdc6e
2007-04-27 21:01:59 +00:00
drh
9310ef23e2
Make sure sqlite3_value_bytes() does not reformat the content after a
...
call to sqlite3_value_blob(). Add documentation to explain this hazard.
Add many new tests. Ticket #2321 . (CVS 3880)
FossilOrigin-Name: e92bd97a3726bbb7978489e2994747127c4aefcf
2007-04-27 17:16:20 +00:00
danielk1977
ba6d351486
Extra tests for incremental vacuum. (CVS 3879)
...
FossilOrigin-Name: 40ba6493e9e8ba135552a2a0943ab499713ac001
2007-04-27 07:55:37 +00:00
danielk1977
e5321f0e75
Modifications to btree integrity check so that it can be run inside a transaction after an incr vacuum. (CVS 3878)
...
FossilOrigin-Name: 4d4180d6474d8d74460fb9333580b9b60c89f353
2007-04-27 07:05:44 +00:00
drh
709cff33dc
The replace() function should return NULL if the second argument is an
...
empty string. Ticket #2324 . (CVS 3877)
FossilOrigin-Name: e6a0c90dd9b4f7efe2153dd0c899b6e3d9846bd8
2007-04-27 01:18:02 +00:00
danielk1977
dddbcdcc68
Add largely untested code for the incremental vacuum function. (CVS 3876)
...
FossilOrigin-Name: f6a6d2b8872c05089810b1e095f39011f3035408
2007-04-26 14:42:34 +00:00
drh
d33d5a8978
In the pager, load the content of pages which were initialized with
...
noContent==1 if they are subsequently requested with noContent==0. (CVS 3875)
FossilOrigin-Name: d0745a43b6e037d16e1ec38c7c4d961a80d1ef48
2007-04-26 12:11:28 +00:00
drh
7a521cfb79
Fix segfaults that can occur if a malloc failure happens just before
...
a built-in function calls sqlite3_value_text(). (CVS 3874)
FossilOrigin-Name: 9cb0ed6ee9827bc6884a0195044d5b6ad0de698e
2007-04-25 18:23:52 +00:00
drh
0b3d55d4f9
Disable tests in misc7 that do not work on windows due to limitations of
...
the windows file system. (CVS 3873)
FossilOrigin-Name: 66646d6fda067e19240808aef65fafd8fa177cdd
2007-04-25 15:42:25 +00:00
drh
c9d96efd0b
Version 3.3.17 (CVS 3872)
...
FossilOrigin-Name: 16979f4525652bfd6c6e5306eafc883bef3880aa
2007-04-25 12:07:22 +00:00
drh
2824d55a99
Fix a file descriptor leak in the exclusive2 test script. (CVS 3871)
...
FossilOrigin-Name: 2d2e68da74459340c262a6454fdd05149bc94c59
2007-04-25 12:06:58 +00:00
drh
cd9b721eb6
Preparing for the release of 3.3.17. (CVS 3870)
...
FossilOrigin-Name: e278c4ef601eebeb5a4f89baf8b29a6794c403f1
2007-04-25 11:42:32 +00:00
drh
b556ce15ca
Fix duplicate test IDs in the test suite. No changes to code. Ticket #2319 . (CVS 3869)
...
FossilOrigin-Name: 0935cdf82a0be599421881117a981d315933bb7e
2007-04-25 11:32:30 +00:00
drh
e0e11e2df6
Fix a bug in the sqlite3_changes() function reported on the mailing list. (CVS 3868)
...
FossilOrigin-Name: 58ea768c3e9905bd9db137f1b31dd3dd6c6001d0
2007-04-25 11:28:16 +00:00
drh
1831f18c84
This fixes a missed case in check-in (3866). Do not apply patch (3866)
...
without also applying this patch. (CVS 3867)
FossilOrigin-Name: 66c2fa0836089f360b1c3343df84b73e8d89b293
2007-04-24 17:35:59 +00:00
drh
309169a118
When the write_version flag in the database header is larger than what
...
the library understands, make the database read-only. The old behavior
was to make the database unreadable. (CVS 3866)
FossilOrigin-Name: 10648e99929b4f640855433b6e47702687039286
2007-04-24 17:27:51 +00:00
drh
af30469d67
Get the build working with -DSQLITE_OMIT_UTF16=1. Ticket #2314 . (CVS 3865)
...
FossilOrigin-Name: 25c1c7aaa8ef203120c2c242cf72ce4750f78abd
2007-04-23 23:56:31 +00:00
drh
6ed34c59c5
Add the ability to turn the FTS2 module into an amalgamation. (CVS 3864)
...
FossilOrigin-Name: 94374654ccabb391f5dcccfc88176ca677c5804e
2007-04-21 16:37:48 +00:00
drh
cad651e022
Remove the ARRAYSIZE macro from where.c to avoid a name conflict with
...
microsoft header files. Ticket #2311 (CVS 3863)
FossilOrigin-Name: 9389a15f35f854c88440e365d85b48af3ff76b00
2007-04-20 12:22:01 +00:00
shess
3b2f10cd8f
Fix bug in fts2 handling of OR queries. When one doclist ends before
...
the other, the code potentially tries to read past the end of the
doclist. http://www.sqlite.org/cvstrac/tktview?tn=2309 (CVS 3862)
FossilOrigin-Name: dfac6082e8ffc52a85c4906107a7fc0e1aa9df82
2007-04-19 18:36:32 +00:00
danielk1977
0b83fa8297
Better fix than (3860) for the same problem. (3860) could leave file-handles open in some circumstances. (CVS 3861)
...
FossilOrigin-Name: 5ad645339b2a3a280651447dceda67645ff8e96d
2007-04-19 14:48:37 +00:00
danielk1977
4ea0d2e528
Fix a crash that can occur if an error happens in a virtual table xSync() function. (CVS 3860)
...
FossilOrigin-Name: d1afdd8c9c756409275c116e662fc1e04bbe829e
2007-04-19 14:28:08 +00:00
drh
5f7b5bf419
Comment changes in the ioerr tests. No changes to code. (CVS 3859)
...
FossilOrigin-Name: b7ed0e1e88a019c830f56abb14658104a30a1c43
2007-04-19 12:30:54 +00:00
danielk1977
7e29e9561c
Fix a bug whereby sqlite3_prepare_v2() could return both an out-of-memory error and a valid statement handle. (CVS 3858)
...
FossilOrigin-Name: 8795d11c3c5bb39d34bc5194621ce97097a320e7
2007-04-19 11:09:01 +00:00
drh
e960153ba2
Get the build working with SQLITE_OMIT_SHARED_CACHE. Ticket #2307 . (CVS 3857)
...
FossilOrigin-Name: b623538c559498b858fd9088faf0f3457b024968
2007-04-19 00:24:34 +00:00
drh
5ffb3ac844
Fix a && where & was intended. This is a real problem, but it would be
...
very difficult to devise a test case where it might lead to an unexpected
result. Ticket #2306 . (CVS 3856)
FossilOrigin-Name: 7f9f0444ed1a85ed682b604fded535bff5be1535
2007-04-18 17:07:57 +00:00
danielk1977
7fa5dd1a8f
Better handle malloc() failures in the "echo" virtual table test module. (CVS 3855)
...
FossilOrigin-Name: 6881f9212fea0e0a98045b0acc60151eeaf5839e
2007-04-18 17:04:00 +00:00
drh
83968c44a5
The sqlite3_step() routine reports SQLITE_ERROR after a commit failure,
...
not SQLITE_DONE. This fix only effects the legacy sqlite3_prepare()
interface. It already worked correctly with sqlite3_prepare_v2(). (CVS 3854)
FossilOrigin-Name: 165dc72d7024258e225c8a7d60118071282f0f44
2007-04-18 16:45:24 +00:00
drh
bc3d2b6ac9
Version 3.3.16 (CVS 3853)
...
FossilOrigin-Name: 8c6b5adb5c9e0322098e15a162e80a98259d7f60
2007-04-18 15:33:52 +00:00
danielk1977
417d724069
Fix an assertion failure caused by (3851). (CVS 3852)
...
FossilOrigin-Name: 24683f1d29c5d312d6cabe2dde52d7c0424f629a
2007-04-18 14:47:23 +00:00
danielk1977
0125683288
Minor changes (mainly to assert() macros) to handle malloc failure in vtab operations. (CVS 3851)
...
FossilOrigin-Name: 175156d1fcaadab3b955597abb27f6b9043bbb5b
2007-04-18 14:24:32 +00:00
drh
0403f54a8a
Bump the version number and update documents in preparation for 3.3.16. (CVS 3850)
...
FossilOrigin-Name: 852100a332d9f602e5f6285d2b7e19a3060c6162
2007-04-18 13:49:37 +00:00
danielk1977
896e792463
Avoid reloading the db schema after a failed OP_VerifyCookie if the in-memory schema cookie already matches the database file. (CVS 3849)
...
FossilOrigin-Name: 61c1d06d10257575e1406303af331bcc4d00deb0
2007-04-17 08:32:33 +00:00
drh
5ea2df9107
Fix a memory leak introduced by (3842) associated with ticket #2296 . (CVS 3848)
...
FossilOrigin-Name: cdc7608b8d590b2ca19be37f94f2cd17423ba8ac
2007-04-16 17:07:55 +00:00
danielk1977
113e545f45
Add test cases to make sure virtual tables cannot be used in shared-cache mode. (CVS 3847)
...
FossilOrigin-Name: 66e468adfcf0132e558a666b847ce7c1e024d6fd
2007-04-16 15:49:41 +00:00
drh
505a112384
Make it clear in the docs that virtual tables and shared cache do not
...
play well together. (CVS 3846)
FossilOrigin-Name: 62ef2b1127e76eae0f76ac51f8238446763a3aac
2007-04-16 15:35:23 +00:00
danielk1977
a04a34ff1a
Ensure sqlite3_finalize() can be called from within the xDisconnect() method of virtual tables. (CVS 3845)
...
FossilOrigin-Name: 8d6c3bfc4dfdd380a2915d778e256d3e49d22d72
2007-04-16 15:06:25 +00:00
drh
86a88114fa
Detect database file changes using a 128-bit segment of the file header
...
that includes the change counter. Ticket #2303 . (CVS 3844)
FossilOrigin-Name: e44995debf2456e55b502783849e93a045a527c8
2007-04-16 15:02:19 +00:00
drh
9e4e6e502f
Update the whentouse.html document to mention that less bitmap memory
...
is used for larger page sizes. (CVS 3843)
FossilOrigin-Name: 2c8e2a5be34cdfe11ef22bd6f78ec0519f497392
2007-04-14 12:04:39 +00:00