dan
|
226aebae07
Fix an fts5 problem that could occur when mixing regular and secure delete operations on a single table.
|
hai 1 ano |
dan
|
af54826e4a
Defer building xInstToken() hash-table until it is to be used.
|
hai 1 ano |
dan
|
5c268bbf67
Fix tokendata=1 and xInstToken() APIs for detail=none and detail=column tables.
|
hai 1 ano |
dan
|
56bb07bad6
Fix an assert() in fts5 that could be true following an OOM or IO error in contentless-delete mode.
|
hai 1 ano |
drh
|
52c41ed41b
Adjust an assert() in fts5WritePoslistData() so that it only applies if there
|
hai 1 ano |
dan
|
a0764f63a8
When querying a tokendata=1 fts5 table, do not use a prefix cursor for the case where the term has only one variant.
|
hai 1 ano |
dan
|
50b0e25a55
Add implementation of xInstToken() API.
|
hai 1 ano |
dan
|
b4fc827c0f
Merge latest trunk into this branch.
|
hai 1 ano |
dan
|
a3e8822c4b
Fix an fts5 problem where a transaction consisting of (a) a DELETE on rowid X, (b) a prefix query, and (c) an INSERT on rowid X, could corrupt the index.
|
hai 1 ano |
dan
|
4cad31912e
Merge trunk changes into this branch.
|
hai 1 ano |
dan
|
71bae9f19f
Fix a problem allowing a COMMIT following an OOM to cause fts5 corruption.
|
hai 1 ano |
dan
|
3046039309
Fix a problem with an fts5 secure-delete on a rowid/term pair that follows a legacy delete of the same pair.
|
hai 1 ano |
dan
|
03204e9106
Add the tokendata=1 option to ignore trailing token-data when querying an fts5 table.
|
hai 1 ano |
drh
|
1935887a68
Ensure that all fields of static sqlite3_module objects are explicitly
|
hai 1 ano |
dan
|
eb28787b5f
Update fts5_decode() to allow for embedded 0x00 bytes in tokens.
|
hai 1 ano |
dan
|
a35ae44150
Changes so that fts5 can handle tokens with embedded '\0' bytes.
|
hai 1 ano |
dan
|
410acf6944
Fix a problem with fts5 secure-delete mode causing fts5 to corrupt its records.
|
hai 1 ano |
dan
|
dd24b1c8a1
Add tests for, and source code comments to, fts5. No changes to code.
|
hai 1 ano |
dan
|
b44b802378
Change a variable from "int" to "i64" to make it easier to prove that it cannot overflow.
|
hai 1 ano |
dan
|
e174dba739
Change a variable name in fts5FlushOneHash() to avoid shadowing another.
|
hai 1 ano |
dan
|
da7662a4b0
Fix an undefined integer overflow in fts5.
|
hai 1 ano |
dan
|
8c5611a169
Fix problems in fts5 test code.
|
hai 1 ano |
dan
|
c1a07d3bab
Fix an assert() in fts5_index.c that might fail when dealing with corrupt records.
|
hai 1 ano |
dan
|
808cf29b55
Fix a buffer overread in the fts5_structure virtual table (test code).
|
hai 1 ano |
dan
|
ea6bccaa44
Fix a couple of compiler warnings in fts5_index.c.
|
hai 1 ano |
dan
|
3f874b58fb
Change the name of the fts5 'delete-automerge' option to 'deletemerge'. And add tests for it.
|
hai 1 ano |
dan
|
24730de8d1
Add the fts5 'delete-automerge' integer option. A level is eligible for auto-merging if it has a greater than or equal percentage of its entries deleted by tombstones than the 'delete-automerge' option. Default value is 10.
|
hai 1 ano |
dan
|
2159292ce0
Integrate contentless delete with auto-merge.
|
hai 1 ano |
dan
|
330e36c2c6
Fix fts5 incremental optimization so that it too can handle an index that consists of a single segment with one or more tombstone hash pages.
|
hai 1 ano |
dan
|
4e0c157d02
Ensure the fts5 'optimize' command correctly rewrites any index that consists of a single segment and one or more tombstone hash pages.
|
hai 1 ano |