drh
|
eb78d56ec5
Add assert()s to FTS5 to fix static analyzer warnings.
|
1 year ago |
dan
|
33cf194218
Fix a signed integer overflow in fts5 leading to a segfault that could occur when processing corrupt records.
|
3 years ago |
dan
|
c629e21786
Fix an assert() in fts5 that might fail when dealing with corrupt records.
|
3 years ago |
dan
|
8d2a9c3b3a
Add defensive code to better handle corrupt records in fts5.
|
3 years ago |
dan
|
d6712f3638
Fix an assert() failure in fts5 that could occur when processing a corrupt database.
|
5 years ago |
dan
|
a27cce76bf
Fix a problem in fts5 where a corrupt position list could lead to a buffer overwrite.
|
5 years ago |
mistachkin
|
065f3bf4f2
Fix various harmless compiler warnings seen with MSVC.
|
5 years ago |
dan
|
4c7bdd1597
Fix a buffer overwrite triggered by a prefix query on a corrupt fts5 table.
|
6 years ago |
dan
|
a86b20820d
Fix an infinite loop caused by a corrupt database in fts3. Also an undefined
|
6 years ago |
drh
|
2d77d80a65
Use 64-bit math to compute the sizes of memory allocations in extensions.
|
6 years ago |
dan
|
174c21ff06
Fix further problems with fts5 and corrupt databases causing integer overflow.
|
6 years ago |
dan
|
22025ef198
Fix some problems in fts5 code detected by -fsanitize=undefined.
|
7 years ago |
drh
|
df3a907ecc
Add JSON1 and FTS5 to the set of extensions subject to close compiler warning
|
8 years ago |
dan
|
c2d0b56e6a
Fix a signed/unsigned comparison warning in fts5.
|
9 years ago |
dan
|
d120a1e3ab
Add tests for and remove unreachable branches from fts5 in order to restore test coverage.
|
9 years ago |
dan
|
b80b8f482c
Further streamlining of fts5 prefix query code.
|
9 years ago |
dan
|
e9eb1593f5
Fix an fts5 problem with using both xPhraseFirst() and xPhraseFirstColumn() within a single statement in detail=col mode.
|
9 years ago |
dan
|
c66d03f1e1
Fix some signed/unsigned comparison compiler warnings in fts5.
|
9 years ago |
dan
|
6d3c2889ec
Add tests for fts5. Fix a crash that can occur in fts5 if the database content is corrupted.
|
9 years ago |
dan
|
8631402e6a
Add further tests for fts5. Fix some problems with detail=col mode and auxiliary functions.
|
9 years ago |
dan
|
159fd77e0f
Fix an fts5 integrity-check problem that affects offsets=0 tables with prefix indexes.
|
9 years ago |
dan
|
b12dc84fbb
Add the "offsets=0" option to fts5, to create a smaller index without term offset information. A few things are currently broken on this branch.
|
9 years ago |
dan
|
99b25309d0
Remove some branches made unreachable by recent changes from fts5.
|
9 years ago |
dan
|
8789fbb2bd
Another optimization for fts5 prefix (and other) queries.
|
9 years ago |
mistachkin
|
cdabd7bd50
Fix harmless compiler warnings.
|
9 years ago |
dan
|
df705d8185
Further tweaks to improve fts5 prefix query performance.
|
9 years ago |
dan
|
22c7cca21f
Allow the subsitute character (codepoint 26 - 0x1A) to appear in fts5 barewords.
|
9 years ago |
dan
|
d46cc33131
Add tests for fts5 phrase queries with column filters.
|
9 years ago |
dan
|
6f832d3dff
Improve performance of prefix queries without a prefix index on fts5 tables.
|
9 years ago |
dan
|
fe8e2eba0a
Remove the 0x00 terminators from the end of doclists stored on disk.
|
9 years ago |