danielk1977
8cbadb0211
Test cases and minor bugfixes for incremental blob APIs. (CVS 3907)
...
FossilOrigin-Name: e12c522383bd40af375a52d2e68612c4dc7fd4db
2007-05-03 16:31:26 +00:00
danielk1977
44e6c8d3cf
Fix a bug where accessPayload() was calling PagerWrite() on the wrong page handle. Ticket #2332 . (CVS 3906)
...
FossilOrigin-Name: cf9eeba7be64ad29cddd320832db10c799fb6e8e
2007-05-03 13:11:32 +00:00
drh
f68d7d17a1
Use memmove() instead of memcpy() when moving between memory regions that
...
might overlap. Ticket #2334 . (CVS 3905)
FossilOrigin-Name: 678d672b73cc7b7f563c15daee3831cb5bbd890e
2007-05-03 13:02:26 +00:00
danielk1977
cdf1c4d21f
Minor bugfixes for incrblob mode. (CVS 3904)
...
FossilOrigin-Name: b84d597c902d60341607bc405440603868ac52c8
2007-05-03 11:43:34 +00:00
danielk1977
20713f34a5
Minor bugfixes for incrblob mode. (CVS 3903)
...
FossilOrigin-Name: db54a9466e3bea9c03740ce0b755cfa02bafaccd
2007-05-03 11:43:33 +00:00
drh
b7af4452d9
Allow CREATE TABLE to occur while other queries are running. DROP TABLE is
...
still prohibited, however, since we do not want to delete a table out
from under an running query. (CVS 3902)
FossilOrigin-Name: 5b4bf1fce4d589337cfb1b46d75c751bbdc607d5
2007-05-02 17:54:55 +00:00
danielk1977
9f8d64009e
Combine the internal btree functions BtreePutData() and getPayload(). (CVS 3901)
...
FossilOrigin-Name: a100a5304b0e7cbbdb6dac71a39c78eb71d44a03
2007-05-02 17:48:45 +00:00
drh
ae7e151a24
More fixes and improvements to the zeroblob() mechanism. (CVS 3900)
...
FossilOrigin-Name: 83ab25014e890b1cc6ea08ca1ebeeee0078da466
2007-05-02 16:51:59 +00:00
danielk1977
2dec97077b
Cache the location of overflow pages in cursors used for incremental blob IO. (CVS 3899)
...
FossilOrigin-Name: 349f1ea7895f06c40affc985a13aa6686dfdea07
2007-05-02 16:48:37 +00:00
drh
7a928d75f4
Fix an invalid UTF8 encoding in the tests for the trim function. (CVS 3898)
...
FossilOrigin-Name: 4dbbfff4a7d4be197aac19c80400dafe10dd5e58
2007-05-02 15:36:01 +00:00
drh
fdf972a9ba
Add support for zero-blobs to the OP_MakeRecord opcode.
...
First test cases of zeroblob functionality. (CVS 3897)
FossilOrigin-Name: e6d560ddeeb48fb0cbd9f5a10612280b055baef7
2007-05-02 13:30:27 +00:00
danielk1977
d04417963f
Use the pointer-map pages to make the incremental blob API more efficient. (CVS 3896)
...
FossilOrigin-Name: 93a3bf71d576096f4b5a3db256ca6f9b5521d137
2007-05-02 13:16:30 +00:00
drh
8cff382e7d
Fix some compiler warnings. Add the (untested) zeroblob() SQL function. (CVS 3895)
...
FossilOrigin-Name: 6f4f8ba7ec15f214f36fa78e593dd4522ab717f5
2007-05-02 02:08:28 +00:00
drh
b026e05eb2
Begin adding the zeroblob API to support incremental blob i/o. (CVS 3894)
...
FossilOrigin-Name: 7a01836dde45098796693bc6cb6045c4059adf1a
2007-05-02 01:34:31 +00:00
shess
290283fe69
Enable prefix-search in query-parsing and snippet generation. If the
...
character immediately after the end of a term is '*', that term is
marked for prefix matching. Modify term comparison in
snippetOffsetsOfColumn() to respect isPrefix. fts2n.test runs prefix
searching through some obvious test cases. (CVS 3893)
FossilOrigin-Name: 7c4c65924035d9f260f6b64eb92c5c6cf6c04b7b
2007-05-01 18:25:52 +00:00
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