drh
|
eb78d56ec5
|
Add assert()s to FTS5 to fix static analyzer warnings.
FossilOrigin-Name: 27d4a89a5ff96b7b7fc5dc9650e1269f7c7edf91de9b9aafce40be9ecc8b95e9
|
2023-12-14 16:34:47 +00:00 |
|
dan
|
33cf194218
|
Fix a signed integer overflow in fts5 leading to a segfault that could occur when processing corrupt records.
FossilOrigin-Name: 69a3ff0cc159cdf84a5367eaf708882ddeda4fa65c96a5b546ae4a0114f02cb7
|
2021-10-14 21:13:02 +00:00 |
|
dan
|
c629e21786
|
Fix an assert() in fts5 that might fail when dealing with corrupt records.
FossilOrigin-Name: 9e760e256089c0ebbf816a8de8b186f62e1ffcd6b8b0e76dab8387798cd4d0e1
|
2021-06-30 12:11:19 +00:00 |
|
dan
|
8d2a9c3b3a
|
Add defensive code to better handle corrupt records in fts5.
FossilOrigin-Name: a99c29b5efaf17e34506cda5ce017ec0112b3cb24bf8a2f1831f0c14a8aa8d30
|
2021-06-09 13:39:11 +00:00 |
|
dan
|
d6712f3638
|
Fix an assert() failure in fts5 that could occur when processing a corrupt database.
FossilOrigin-Name: f158c048be1dc7c80d38787a20495caa55b86416967efd57f4888548d42b4819
|
2019-05-13 11:52:19 +00:00 |
|
dan
|
a27cce76bf
|
Fix a problem in fts5 where a corrupt position list could lead to a buffer overwrite.
FossilOrigin-Name: 516ca8945150bdc1363603e234be5f3f4a3861f581d7cc9455da3e87b9974309
|
2019-04-24 15:57:25 +00:00 |
|
mistachkin
|
065f3bf4f2
|
Fix various harmless compiler warnings seen with MSVC.
FossilOrigin-Name: 1c0fe5b5763fe5cbace9773dcdab742e126d0bd035ab13d61f9d134afa0afc0c
|
2019-03-20 05:45:03 +00:00 |
|
dan
|
4c7bdd1597
|
Fix a buffer overwrite triggered by a prefix query on a corrupt fts5 table.
FossilOrigin-Name: 1d8172a94bce2d067027685e5aa1dc8f5d5d55b5da0832ad2836f6939de68c8f
|
2019-01-23 12:19:22 +00:00 |
|
dan
|
a86b20820d
|
Fix an infinite loop caused by a corrupt database in fts3. Also an undefined
left-shift in fts5.
FossilOrigin-Name: 55c5d72af9510e2f27c33544d804a58d4282b0efb384ead38484129ce91b574f
|
2019-01-18 21:03:15 +00:00 |
|
drh
|
2d77d80a65
|
Use 64-bit math to compute the sizes of memory allocations in extensions.
FossilOrigin-Name: ca67f2ec0e294384c397db438605df1b47aae5f348a8de94f97286997625d169
|
2019-01-08 20:02:48 +00:00 |
|
dan
|
174c21ff06
|
Fix further problems with fts5 and corrupt databases causing integer overflow.
FossilOrigin-Name: 673a7dd698eca05bb2909fa01f962a0667361732a6d0e61cf7780ead4a07c967
|
2019-01-08 08:02:12 +00:00 |
|
dan
|
22025ef198
|
Fix some problems in fts5 code detected by -fsanitize=undefined.
FossilOrigin-Name: 35f721045dfe3f82e016938ab1a668bfc37b6b57b8813cc963ef640ec82de58d
|
2017-05-19 12:32:32 +00:00 |
|
drh
|
df3a907ecc
|
Add JSON1 and FTS5 to the set of extensions subject to close compiler warning
analysis. Fix some warnings in each. More (harmless) warnings still exist
in FTS5.
FossilOrigin-Name: cfe2eb88b504f5e9b1351022036641b1ac4c3e78
|
2016-02-11 15:37:18 +00:00 |
|
dan
|
c2d0b56e6a
|
Fix a signed/unsigned comparison warning in fts5.
FossilOrigin-Name: 85eb05ddbc3a7cff986af13c3dab6c0063e62171
|
2016-02-08 20:14:41 +00:00 |
|
dan
|
d120a1e3ab
|
Add tests for and remove unreachable branches from fts5 in order to restore test coverage.
FossilOrigin-Name: 22589018ac3321f7bd89ce9fa69e57eae395e324
|
2016-02-05 21:09:26 +00:00 |
|
dan
|
b80b8f482c
|
Further streamlining of fts5 prefix query code.
FossilOrigin-Name: ca91bd8ac70a5b3fef127364f73ec675e58bb92c
|
2016-02-05 19:18:02 +00:00 |
|
dan
|
e9eb1593f5
|
Fix an fts5 problem with using both xPhraseFirst() and xPhraseFirstColumn() within a single statement in detail=col mode.
FossilOrigin-Name: 72d53699bf0dcdb9d2a22e229989d7435f061399
|
2016-01-23 18:51:59 +00:00 |
|
dan
|
c66d03f1e1
|
Fix some signed/unsigned comparison compiler warnings in fts5.
FossilOrigin-Name: 3be336aa893f9eb0837d7d66c83bab1489792b9a
|
2016-01-23 15:57:06 +00:00 |
|
dan
|
6d3c2889ec
|
Add tests for fts5. Fix a crash that can occur in fts5 if the database content is corrupted.
FossilOrigin-Name: acaf426449bf6fd3140fd63141750ff69d1119a5
|
2016-01-18 17:48:28 +00:00 |
|
dan
|
8631402e6a
|
Add further tests for fts5. Fix some problems with detail=col mode and auxiliary functions.
FossilOrigin-Name: de77d6026e8035c505a704e7b8cfe5af6579d35f
|
2016-01-16 18:58:51 +00:00 |
|
dan
|
159fd77e0f
|
Fix an fts5 integrity-check problem that affects offsets=0 tables with prefix indexes.
FossilOrigin-Name: 609a0bc7f34e6dae74ce756aff920f3df78fe828
|
2015-12-21 18:45:09 +00:00 |
|
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.
FossilOrigin-Name: 40b5bbf02a824ca73b33aa4ae1c7d5f65b7cda10
|
2015-12-17 20:36:13 +00:00 |
|
dan
|
99b25309d0
|
Remove some branches made unreachable by recent changes from fts5.
FossilOrigin-Name: ae350bfbfd59f912c469a51bf7d1409f3c8d958a
|
2015-10-21 20:56:27 +00:00 |
|
dan
|
8789fbb2bd
|
Another optimization for fts5 prefix (and other) queries.
FossilOrigin-Name: 60a8bde055a960c5b8cb4e231802c75617c942d8
|
2015-10-19 20:49:10 +00:00 |
|
mistachkin
|
cdabd7bd50
|
Fix harmless compiler warnings.
FossilOrigin-Name: 1c46c194a2da24fe613d77b5a8d727cc2fc9faa4
|
2015-10-14 20:34:57 +00:00 |
|
dan
|
df705d8185
|
Further tweaks to improve fts5 prefix query performance.
FossilOrigin-Name: 1c20c1c28b56411f106cf2f6961b3ad4b4d6f6c8
|
2015-10-12 19:12:29 +00:00 |
|
dan
|
22c7cca21f
|
Allow the subsitute character (codepoint 26 - 0x1A) to appear in fts5 barewords.
FossilOrigin-Name: baec1b96cb64a6a6317143a8df841e502afe3914
|
2015-10-07 17:01:22 +00:00 |
|
dan
|
d46cc33131
|
Add tests for fts5 phrase queries with column filters.
FossilOrigin-Name: f20f9f813f00cefcd427e506a09b0b973c782e3f
|
2015-10-07 13:24:27 +00:00 |
|
dan
|
6f832d3dff
|
Improve performance of prefix queries without a prefix index on fts5 tables.
FossilOrigin-Name: f2f0184e9e1c9f121ee2ac864cd28c8cd8efecb5
|
2015-10-05 19:41:16 +00:00 |
|
dan
|
fe8e2eba0a
|
Remove the 0x00 terminators from the end of doclists stored on disk.
FossilOrigin-Name: 00d990061dec3661b0376bd167082942d5563bfe
|
2015-09-08 19:55:26 +00:00 |
|
dan
|
3f09beda45
|
Remove "#ifdef SQLITE_ENABLE_FTS5" from individual fts5 source files. Add a single "#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS5)" to fts5.c.
FossilOrigin-Name: 7819002ed85497bbd0f9cf4d39df641573324436
|
2015-07-02 15:52:21 +00:00 |
|
mistachkin
|
ed52f9ff48
|
Initial changes to get FTS5 working with MSVC.
FossilOrigin-Name: ef2052f81e33ca98e85a60f8a78cdd19a7c1c35c
|
2015-06-26 04:34:36 +00:00 |
|
dan
|
bcc2f04c68
|
Add the "columnsize=" option to fts5, similar to fts4's "matchinfo=fts3".
FossilOrigin-Name: aa12f9d9b79c2f523fd6b00e47bcb66dba09ce0c
|
2015-06-09 20:58:39 +00:00 |
|
dan
|
3f3074e0c1
|
Remove the "#include sqlite3Int.h" from fts5Int.h.
FossilOrigin-Name: e008c3c8e29c843ec945ddad54b9688bbf2bdb44
|
2015-05-30 11:49:58 +00:00 |
|
dan
|
27aac274b9
|
Improve test coverage of fts5_config.c.
FossilOrigin-Name: 47dbfadb994814c9349d4c9c113b862c2e97c01a
|
2015-05-18 17:50:17 +00:00 |
|
dan
|
7c479d51e5
|
Reorganize some of the fts5 expression parsing code. Improve test coverage of the same.
FossilOrigin-Name: c4456dc5f5f8f45f04e3bbae53b6bcc209fc27d5
|
2015-05-02 20:35:24 +00:00 |
|
dan
|
cdbd150170
|
Improve coverage of fts5 tests.
FossilOrigin-Name: 8e8136f2dc08082c2984462719d9cba0f212c92a
|
2015-04-28 18:35:28 +00:00 |
|
dan
|
f1e58b7e8d
|
Begin changing fts5 to use a delete flag so that delete markers may be annihilated more quickly.
FossilOrigin-Name: 9341c070bb6140dbf559680952909674aa83fa55
|
2015-04-14 20:15:41 +00:00 |
|
dan
|
47c467c80e
|
Fix a couple of build problems.
FossilOrigin-Name: a5d5468c0509d129e198bf9432190ee07cedb7af
|
2015-03-04 08:29:24 +00:00 |
|
dan
|
719b0f66e5
|
Fix some problems with transactions that both read and write an fts5 table.
FossilOrigin-Name: 0e225b15357765f132c3364b222f9931a608a5b2
|
2015-01-29 20:59:34 +00:00 |
|
dan
|
aacf3d1a3b
|
Remove the iPos parameter from the tokenizer callback. Fix the "tokenchars" and "separators" options on the simple tokenizer.
FossilOrigin-Name: 65f0262fb82dbfd9f80233ac7c3108e2f2716c0a
|
2015-01-06 19:08:26 +00:00 |
|
dan
|
845d0ab323
|
Begin testing fts5 OOM and IO error handling.
FossilOrigin-Name: 2037dba62fdd995ad15b642abe499a790f5ffe5c
|
2014-12-03 17:27:35 +00:00 |
|
dan
|
ca7fad3d2c
|
Add a cookie mechanism to ensure that the %_config table is re-read as required.
FossilOrigin-Name: bb4a37b53de60da9ec8b9317eec14afa99690828
|
2014-11-28 20:01:13 +00:00 |
|
dan
|
b30860abe2
|
Add a snippet() function to fts5.
FossilOrigin-Name: bdc58fd28a63ac9632c3df6c7768a9a236566605
|
2014-07-23 19:31:56 +00:00 |
|
dan
|
e1c77bcfcd
|
Add simple tests for the xColumnText() extension api.
FossilOrigin-Name: 1e9053abdaf5e128d44504ee00dfd909dc25f378
|
2014-07-19 20:27:54 +00:00 |
|
dan
|
30b650e2f4
|
Fix issues with position lists and NEAR constraints.
FossilOrigin-Name: 16352d3654d5672cd0251db51dbe19f779373feb
|
2014-07-18 19:59:00 +00:00 |
|
dan
|
9cfd51f587
|
Begin adding interface for auxiliary functions.
FossilOrigin-Name: 1e2a7ba0889093416455f488fca893eaeb195d45
|
2014-07-16 19:15:57 +00:00 |
|
dan
|
a2b569f955
|
Add support for prefix queries to fts5.
FossilOrigin-Name: 75ebd3cd5904a4f89f7f3a9b25d32b2a42a31310
|
2014-07-08 16:27:37 +00:00 |
|
dan
|
1dfacb4675
|
Add support for phrase queries to fts5.
FossilOrigin-Name: 2e5652e6526b8fb3f5c163168d95bc0bb4c93686
|
2014-07-02 20:18:49 +00:00 |
|