dan
|
460d38f15e
|
Fix an fts5 problem with corrupt database handling found by address-sanitizer.
FossilOrigin-Name: e22252e1da4cd9e41b970970a1c4f466aa6cc133
|
2016-08-13 10:34:12 +00:00 |
drh
|
c73bd0a5cc
|
Fix a harmless compiler warning in FTS5.
FossilOrigin-Name: 2ea0c8b46eefd4874f021f8dfd344be751f2034f
|
2016-08-11 01:24:56 +00:00 |
dan
|
882ef0b8c0
|
Have fts5 interpret column lists that begin with a "-" character as "match any column except" lists.
FossilOrigin-Name: e517545650631d1e8a7ee63c6646a8b183a0a894
|
2016-08-09 19:26:57 +00:00 |
mistachkin
|
77fac879d2
|
More harmless compiler warning fixes.
FossilOrigin-Name: ab69527c1608da0b668f3b49e967661dd99cc3d4
|
2016-04-12 20:05:06 +00:00 |
drh
|
997de998a8
|
Remove an unused local variable from FTS5.
FossilOrigin-Name: 0ed693c29f184223cde3b3d51f0e06273e586803
|
2016-03-23 15:53:45 +00:00 |
dan
|
848b190e40
|
Explicitly limit the size of fts5 tokens to 32768 bytes.
FossilOrigin-Name: 70fc69eed9b09159899d7cbd1416a59d04210a63
|
2016-03-23 15:04:00 +00:00 |
dan
|
0a2f2b546a
|
Fix some errors in fts5 test scripts.
FossilOrigin-Name: e1ab2d376a72786098125a41c1ea8140fcbd15c6
|
2016-03-22 15:01:54 +00:00 |
drh
|
13969f5af0
|
Fix harmless compiler warnings.
FossilOrigin-Name: 25d776e4523aefeec007943fe29aa17c23ccb301
|
2016-03-21 22:28:51 +00:00 |
dan
|
f5268268b7
|
Have fts5 cache the structure of its index in main memory. Use "PRAGMA data_version" to figure out when this cache should be invalidated.
FossilOrigin-Name: 902f221754f3cc6fb4ae049c135f85efce604ed3
|
2016-03-21 15:30:50 +00:00 |
dan
|
3c6707f72b
|
Rearrange code so that tests pass whether SQLITE_DEBUG is defined or not.
FossilOrigin-Name: 89296a46c3b891ee0b637ff6f89d828d6e46e7b5
|
2016-03-21 15:18:13 +00:00 |
dan
|
ef480d37dc
|
Change the way fts5 internally allocates segment ids in order to eliminated non-determinism from the module.
FossilOrigin-Name: d6e2637df16764aa9723a30ea2eb8a631d28cb2b
|
2016-03-21 09:56:19 +00:00 |
dan
|
c9460ab989
|
Fix some OOM-handling issues in the fts5 changes on this branch.
FossilOrigin-Name: 020a0bda59fe93b9361ceeed0d5a8ba4177380c8
|
2016-03-17 12:39:56 +00:00 |
dan
|
f55fb6615b
|
Have fts5 cache the decoded structure of fts5 indexes in memory. Use "PRAGMA data_version" to detect stale caches.
FossilOrigin-Name: 33ef2210ef19e55c8d460bfe9d3dc146034c8acc
|
2016-03-16 19:48:10 +00:00 |
dan
|
1bb85f3ed3
|
Add tests to cover untested branches in recent fts5 changes.
FossilOrigin-Name: fa0033edf6ddf3c6631fa95b343225dbc8ac9429
|
2016-03-10 15:12:47 +00:00 |
drh
|
6459ca0b8c
|
Remove an unused local variable.
FossilOrigin-Name: 3c343c3d012367942037e64a9855b825cb459844
|
2016-03-10 14:22:42 +00:00 |
dan
|
4dbc65b29a
|
Add an incremental optimize capability to fts5. Make the 'merge' command independent of the 'automerge' settings.
FossilOrigin-Name: 556671444c03e3afca072d0f5e9bea2657de6fd3
|
2016-03-09 20:54:14 +00:00 |
dan
|
4e9d0d5418
|
Fix a problem in fts5 where a corrupt db could lead to a (huge) buffer overread.
FossilOrigin-Name: c9a30e117f2c6c9ef0cc0c6ca5227d2961715b8f
|
2016-02-29 17:34:16 +00:00 |
dan
|
437a54eaba
|
Fix an fts5 problem causing 'optimize' to corrupt the fts index under some circumstances.
FossilOrigin-Name: 251d6473f7c9ad95adbdcc49cb8eaf7c0956764b
|
2016-02-29 17:16:26 +00:00 |
drh
|
7ff89807e0
|
Fix a harmless compiler warning in FTS5.
FossilOrigin-Name: e52c90758c53cbb0f74e0d8582e4c3c1bee04150
|
2016-02-15 23:46:36 +00:00 |
drh
|
5d2e2f1267
|
Remove the unused fts5BlobCompare() routine.
FossilOrigin-Name: defc762dd11144402abd591278819768a080d5ea
|
2016-02-11 21:53:57 +00:00 |
dan
|
2a44b3d877
|
Avoid a buffer overread when reading a corrupt fts5 structure record.
FossilOrigin-Name: facbc424e555061135aced7b134bf6c19f54e484
|
2016-02-11 18:08:38 +00:00 |
dan
|
22e8356368
|
Handle parser stack overflow when parsing fts5 query expressions. Fix some compiler warnings in fts5 code.
FossilOrigin-Name: bc3f7900d5a06829d123814a5ac7b951bcfc1560
|
2016-02-11 17:01:32 +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
|
4786cf5a20
|
Further improve performance of unindexed fts5 prefix queries.
FossilOrigin-Name: c9c6457d8ea911f6cc63967127e58da3146fd3ef
|
2016-02-04 19:45:19 +00:00 |
dan
|
eb715c62f9
|
Improve performance of fts5 prefix queries on detail=col tables.
FossilOrigin-Name: ca11f46db047e7f131cef3893f73824758a2076b
|
2016-02-03 20:04:59 +00:00 |
dan
|
735ff4a809
|
Enhance the performance of fts5 AND and OR queries.
FossilOrigin-Name: 62ea9e5ab8bc1a20245beebceb5ea62dcd7ec84e
|
2016-02-02 17:40:41 +00:00 |
dan
|
52f5d1ba6b
|
Performance enhancement for fts5 column filter queries on detail=full tables.
FossilOrigin-Name: 13fb4aa6a87c5c6258979953da82eedc1a7bf14f
|
2016-01-30 19:16:11 +00:00 |
dan
|
18205c781d
|
Further minor performance improvements and code-size reductions related to fts5 column filters on detail=col tables.
FossilOrigin-Name: b4ac61aeee976296e7719949cd4fb496147a29e8
|
2016-01-26 20:08:50 +00:00 |
dan
|
1c16bccb79
|
Improve the performance of fts5 column filters on detail=col tables.
FossilOrigin-Name: 249a2d070c34bf884a04cb248b9691e239f2871c
|
2016-01-26 19:30:49 +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
|
8498f387be
|
Fix a problem involving detail=col and column filters.
FossilOrigin-Name: 7558a0ad2276e91f2faced8ea405d9fdb4fa0c6e
|
2016-01-23 14:45:36 +00:00 |
dan
|
795502d26c
|
Experimental performance enhancements for fts5.
FossilOrigin-Name: b5a57b812fd6a734cf2a342bf0b730ae18912d73
|
2016-01-22 19:48:34 +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
|
0536a07c0e
|
Add a debugging function to print human-readable versions of fts5 detail=none leaf pages.
FossilOrigin-Name: 8358af3658d888516cdef5f8c8d89e9bdee53f91
|
2016-01-18 09:08:56 +00:00 |
mistachkin
|
1e38927c12
|
Fix a couple C99-isms in FTS5 that cause compile errors on MSVC.
FossilOrigin-Name: 584848d4396d7755027fab377c97e40fbcc90d21
|
2016-01-15 05:39:55 +00:00 |
drh
|
0ea94db612
|
Yet another change to FTS5 trying to get it to merge successfully into sessions.
FossilOrigin-Name: 8dedff3b9ac3e6bf9c131fee19f7d26dc1ebd61f
|
2016-01-14 14:33:36 +00:00 |
dan
|
17535393b9
|
Fix another compiler warning in fts5 code.
FossilOrigin-Name: d17bc2c92f4d086280e49a3cc72993be7fee2da7
|
2016-01-14 14:19:50 +00:00 |
dan
|
f705e9deab
|
Fix compiler warnings in fts5.
FossilOrigin-Name: 5a343cc0336bba056df4449e6cd2e3fb9e75a105
|
2016-01-14 14:15:54 +00:00 |
dan
|
fd7601a125
|
Improve performance of fts5 low level iterators.
FossilOrigin-Name: bc5118f40a11f64ffb4e1c086277fa80b9764745
|
2016-01-12 19:28:51 +00:00 |
dan
|
4364e5c9f7
|
Fix an fts5 problem involving detail=none, "ORDER BY rowid DESC" and deleted items. Also add tests to verify that the documented operator precedences are correct.
FossilOrigin-Name: 8d05cfd48db1462dfd3efd502d53bd33214403fb
|
2016-01-06 18:53:57 +00:00 |
dan
|
fe0c3cfee1
|
Changes to run many fts5 tests with detail=none and detail=col tables as well as the default detail=full. Also fixes for the bugs uncovered by running said tests.
FossilOrigin-Name: 6322a1d984e7946735bace8a069ef24b31754b3b
|
2016-01-02 19:01:56 +00:00 |
dan
|
811501e237
|
Fix the fts5 integrity-check code so that it works with detail=none tables.
FossilOrigin-Name: 3a1df69e58e5830da1dff158eedbe3817743f58f
|
2015-12-31 18:39:14 +00:00 |
dan
|
841243156f
|
Fix some problems with fts5 detail=none tables. Some still remain.
FossilOrigin-Name: 6a6f7bc40d6b4c8a4a254a9098c9d2f31fde69ca
|
2015-12-31 17:36:58 +00:00 |
dan
|
d11e397b2c
|
Updates to fts5 to support detail=none mode. As of this commit, many cases are still broken.
FossilOrigin-Name: ac8f4cf0cede6bcbe47eeefb85d80a27e9278212
|
2015-12-30 19:58:57 +00:00 |
dan
|
9a3a5275cd
|
Add the xPhraseFirstColumn() and xPhraseNextColumn() API functions to fts5. For iterating through the set of columns that contain intances of a phrase.
FossilOrigin-Name: 8c30605bcd0a78a5015948171145bc6f640b8358
|
2015-12-29 19:35:03 +00:00 |
dan
|
9f44deed93
|
Change the name of the offsets=0 option to "detail=column". Have the xInst, xPhraseFirst and other API functions work by parsing the original text for detail=column tables.
FossilOrigin-Name: 228b4d10e38f7d70e1b008c3c9b4a1ae3e32e30d
|
2015-12-28 19:55:00 +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
|
c58b9eeaaa
|
Fix a problem with prefix queries on fts5 offsets=0 tables.
FossilOrigin-Name: ad0987d83c252dd8d6a69321893629d7be805c28
|
2015-12-18 19:07:14 +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 |