aboutsummaryrefslogtreecommitdiff
path: root/ext/fts3/fts3_snippet.c
Commit message (Collapse)AuthorAge
* Fix another problem with fts3/4 auxiliary functions and NEAR expressions ↵dan2023-01-25
| | | | | that consist entirely of deferred tokens. FossilOrigin-Name: a8c91c132f6157b7e3649f57a799984b1d7f8a18fd434515c875617d4195db29
* Fix a crash that could occur in fts3 when processing a corrupt database.dan2021-11-04
| | | FossilOrigin-Name: 2fad2a89527757b3956538a6bf91ebebe9c483f22f94e889e8b50c58f5100c5c
* Fix a case in the fts3 offsets() function where a corrupt database record ↵dan2021-10-20
| | | | | could lead to dereferencing an uninitialized pointer. FossilOrigin-Name: 7b7d31a6153b1505288eb3e849d0d9ef9e88e961c7b2f918ef5582fd77990f6d
* Fix harmless static analyzer warnings.drh2021-10-04
| | | FossilOrigin-Name: 1ebcde72e2046dffaa408d2a5a4a5bbf35fdf4b096e0e088dcffd9360effdaa7
* Avoid signed integer overflow when finding snippets in fts3 by using 64-bit ↵dan2021-04-16
| | | | | integer offsets. FossilOrigin-Name: 4cc09a872f627f4a2b94345bef07cd49c3ec3627f8d78c1eb091741cdb4ec0b3
* Fix a null pointer deference that can occur on a strange matchinfo()drh2020-05-14
| | | | | query. FossilOrigin-Name: a4dd148928ea65bd4e1654dfacc3d8057d1f85b8c9939416991d50722e5a720e
* Fix an instance of an undefined behaviour (a left-shift of a 64-bit unsigned ↵dan2020-01-07
| | | | | integer by a value greater than 64) that could occur in fts3. FossilOrigin-Name: e1f12978b53683114ab0ef0e84a14dd4fabc72750b214aac19cd9da22a582a27
* Improvements to detection of corruption in the %_stat shadow table of FTS4.drh2019-11-18
| | | FossilOrigin-Name: 6b67eba54e7b4887a8cdab7537b12a95e9f17bcdaa0b423af5ed5bd91f69f2c6
* Improved detection of corruption in the %_stat table of FTS4.drh2019-11-18
| | | | | Chromium ticket 1025467. FossilOrigin-Name: 10f8a3b718e0f47be528fba086c318e1dfe18ead383d01cfa24dedabad41e0a2
* Better detection of corruption in the %_stat and %_docsize shadow tablesdrh2019-11-17
| | | | | of FTS3. FossilOrigin-Name: 1e449687881f4d388e54a0e51bcabba41ab10cf7e596ff65e31e88a23c70d497
* Fix a broken assert() in the fts3 snippet code that was failing for queries ↵dan2019-08-21
| | | | | containging more than 64 phrases. FossilOrigin-Name: 4c01e0170e113ad052b6c3980beb4be9f1dc03fb3cf34132b90e8b82b23f654e
* Fix additional compiler warnings introduced by the previous check-in and founddrh2019-04-13
| | | | | by MSVC. FossilOrigin-Name: 6fc0deffa4eed902fd13eefe6d2765f338f3dadc5b29f7cae5064e135417746b
* Fixes for harmless compiler warnings.drh2019-04-13
| | | FossilOrigin-Name: c28c973ad6debd63f13e5d4d3da036f680baaec9d863eda039f2747db9f1cfd5
* Use the 64-bit memory allocator interfaces in extensions, whenever possible.drh2019-04-13
| | | FossilOrigin-Name: 07ee06fd390bfebebc014b47583d489747b0423bb96c810bed5c605ce0e3be71
* Avoid an assert() failure and an undefined left-shift operation in the fts3 ↵dan2019-02-28
| | | | | snippet() function that could occur if the database was corrupt. FossilOrigin-Name: d5250db6322103326f0d5782ba049996d9ce8784f9e53a3112fb6f09f888f1c3
* Fix a couple of assert() statements in fts3 that can be false if the ↵dan2019-02-23
| | | | | database is corrupt. FossilOrigin-Name: 84162af521f29df8a186163fbdef9856e1aa8aba78e74d7df0ba2cc83bb86240
* Fix an assertion failure in fts3 triggered by a corrupt database.dan2019-02-03
| | | FossilOrigin-Name: 560ebd4269fad07b8e988d070454017123593eb6762597d08e8c32d7b4fb92ac
* Fix problems causing undefined left-shift operations in the fts3 snippet()dan2019-01-18
| | | | | function. FossilOrigin-Name: b90dbaed3092236e97f9796fa63989a3648060e16189e1267c430f4a7e799fac
* Fix a problem in the fts3 matchinfo() function with corrupt database handling.dan2019-01-16
| | | FossilOrigin-Name: 24ed5fb6aea30b098d2faf3cf9d638933e518657217e903239ffaa1e25d34f66
* Fix a problem with corrupt database handling in the fts3 matchinfo() function.dan2019-01-12
| | | FossilOrigin-Name: 703646b1b5c84d550fe0d74e399c0eeb729da1d263e4693320f69e6509678985
* Use 64-bit math to compute the sizes of memory allocations in extensions.drh2019-01-08
| | | FossilOrigin-Name: ca67f2ec0e294384c397db438605df1b47aae5f348a8de94f97286997625d169
* Avoid using a zero-sized array within a struct in fts3 code.dan2015-05-26
| | | FossilOrigin-Name: b05cae36cedd98d59813e637f328a52eee7ef0d2
* Fix an fts4 matchinf() problem triggered by deferred tokens that are part of ↵dan2015-05-25
| | | | | phrases that are part of AND expressions. FossilOrigin-Name: f1e942a1dda496a509741e9cc2a17e8b4dac63a3
* Fix the MSVC makefile so that it works with OTA. Fix a harmless compilerdrh2015-05-19
| | | | | warning in FTS3. FossilOrigin-Name: c7b16645307d6e46c4153693d6806269de64955f
* Remove some dead code from fts3_snippet.c.dan2015-05-06
| | | FossilOrigin-Name: 46b2d3cef5c22a9e6bd0a4f8411f17b7ec72bd18
* More optimization for the 'y' and 'b' matchinfo directives.dan2015-05-06
| | | FossilOrigin-Name: 8c5b9fedfcee3ac22a222819dceb981ad94a9903
* Further optimizations for the 'y' and 'b' matchinfo operators.dan2015-05-06
| | | FossilOrigin-Name: fbd038bb57322e1ed2e1ee52f3d134594b6bfcc0
* Add the fts3 matchinfo 'b' flag.dan2015-05-05
| | | FossilOrigin-Name: b9b77972d88171e4239b8194f308eb5d60b5d172
* Optimizations for the matchinfo() function, particularly the 'y' flag.dan2015-05-05
| | | FossilOrigin-Name: dddd7e182943a1d3a9d32830e819a63f1a228d6d
* Add the experimental matchinfo 'y' flag to fts3/4.dan2015-05-02
| | | FossilOrigin-Name: 92941609af74044b3078e020324a37b04a0638b0
* Use the sqlite3Fts3ErrMsg() function to set error message text in FTS3,drh2015-05-01
| | | | | and to ensure that error messages are not overwritten and thus leaked. FossilOrigin-Name: 605347e087ec5eb817f3c94f4616abe26c7ab66b
* Fix harmless compiler warning.mistachkin2015-03-04
| | | FossilOrigin-Name: 580dae4615353d73c7d096107571bd60fec5b0f2
* Fix a bug in the fts3 snippet() function causing it to omit leading ↵dan2015-01-27
| | | | | separator characters from snippets that begin with the first token in a column. FossilOrigin-Name: adc9283dd9bc3a6463f8c4fe23dd58a3712c349d
* Improve the performance of fts3/4 queries that use the OR operator and at ↵dan2015-01-27
| | | | | least one auxiliary fts function. FossilOrigin-Name: 245e8730451fbdc1c729beff7295c452df604009
* When possible, have FTS use 32-bit operations to read varints from the database.dan2013-11-12
| | | FossilOrigin-Name: aa7ba302ed13aedde89b5bcbe9119799c0da8a42
* Add some extra assert() statements to silence a few clang warnings.dan2013-08-19
| | | FossilOrigin-Name: 1c63e9515b5f5cb9169928b108d002dcd18ad4fd
* Many spelling fixes in comments. No changes to code.mistachkin2013-03-21
| | | FossilOrigin-Name: 6f6e2d50941e444ebc83604daddcc034137a05b7
* Add a comment to fts3_snippet.c.dan2012-10-17
| | | FossilOrigin-Name: b5f5ba3103e6fcf117fb69d5379fa70f691a652d
* Initialize variables used as outputs of custom tokenizer method calls in fts4.dan2012-10-17
| | | FossilOrigin-Name: 514505a84bcc677518d60a42896598f85ed78265
* Have the FTS auxiliary functions correctly handle terms that appear in ↵dan2012-05-10
| | | | | non-matching branches of the FTS expression. Fix for [bdc6bbbb38]. FossilOrigin-Name: 4d3e1673b309a3d6a6cac01d67dfd79a8007f991
* Remove the fts3merge.test script in favour of changing the fts4merge.test ↵dan2012-03-27
| | | | | script so that it runs tests using both fts4 and fts3. Fix some problems with incr-merge and FTS3 tables. FossilOrigin-Name: 5c447e226afca0d46b9ed994dea26a16a9ae168c
* Add the xLanguageid method to sqlite3_fts3_tokenizer versions 1 and greater.dan2012-03-03
| | | FossilOrigin-Name: f8e9c445dd358c40e5a7bf3756b9f291909dbea7
* Merge the fts4-content branch with the trunk.dan2011-10-19
|\ | | | | FossilOrigin-Name: 8a4077057ddeb08e8edc5f20a75abaaba7a278ba
| * Fix a problem in FTS to do with ^ tokens and the snippet() function.dan2011-10-19
| | | | | | FossilOrigin-Name: 2c03b24f4cc6f2c28c9d5b9984320d41b8486c32
| * Add experimental 'content' option to FTS4.dan2011-10-04
| | | | | | FossilOrigin-Name: 1d27ea741f61c624e18bdc6a3b1c2d8574a64ddc
* | Handle updating the only row of an FTS table correctly. Fix for [9fd058691].dan2011-10-13
|/ | | FossilOrigin-Name: 7e24645be2fe0ffe092212e7bcfa5b4500305811
* Fix various harmless compiler warnings in FTS3 and RTREE.drh2011-06-20
| | | FossilOrigin-Name: fe62179efdea40887e23a16f898060b879013824
* Changes to #ifdefs so that the build goes correctly if the only FTS macrodrh2011-06-16
| | | | | defined is SQLITE_ENABLE_FTS4. FossilOrigin-Name: a0b43a320e6491de7070966ed7c3ec55fd660a85
* Fix various issues to do with deferred tokens, NEAR expressions and matchinfo().dan2011-06-08
| | | FossilOrigin-Name: 3972a787df5ec253b99b148385655e7b68d851fa
* FTS changes: Remove unreachable code. Fix bugs. When processing a large ↵dan2011-06-03
| | | | | doclist incrementally, read from disk incrementally too. FossilOrigin-Name: a4c7e2820824e82580730c36f85aede2efa66754