dan
|
0fa2bbf9e1
|
Fix another problem with fts3/4 auxiliary functions and NEAR expressions that consist entirely of deferred tokens.
FossilOrigin-Name: a8c91c132f6157b7e3649f57a799984b1d7f8a18fd434515c875617d4195db29
|
2023-01-25 13:42:55 +00:00 |
|
dan
|
3555274419
|
Fix a crash that could occur in fts3 when processing a corrupt database.
FossilOrigin-Name: 2fad2a89527757b3956538a6bf91ebebe9c483f22f94e889e8b50c58f5100c5c
|
2021-11-04 18:04:55 +00:00 |
|
dan
|
fb8e71c584
|
Fix a case in the fts3 offsets() function where a corrupt database record could lead to dereferencing an uninitialized pointer.
FossilOrigin-Name: 7b7d31a6153b1505288eb3e849d0d9ef9e88e961c7b2f918ef5582fd77990f6d
|
2021-10-20 11:40:34 +00:00 |
|
drh
|
c59ffa8c1e
|
Fix harmless static analyzer warnings.
FossilOrigin-Name: 1ebcde72e2046dffaa408d2a5a4a5bbf35fdf4b096e0e088dcffd9360effdaa7
|
2021-10-04 15:08:49 +00:00 |
|
dan
|
7f2eb8fff2
|
Avoid signed integer overflow when finding snippets in fts3 by using 64-bit integer offsets.
FossilOrigin-Name: 4cc09a872f627f4a2b94345bef07cd49c3ec3627f8d78c1eb091741cdb4ec0b3
|
2021-04-16 16:55:28 +00:00 |
|
drh
|
219b8e7e75
|
Fix a null pointer deference that can occur on a strange matchinfo()
query.
FossilOrigin-Name: a4dd148928ea65bd4e1654dfacc3d8057d1f85b8c9939416991d50722e5a720e
|
2020-05-14 23:59:24 +00:00 |
|
dan
|
262efe4a43
|
Fix an instance of an undefined behaviour (a left-shift of a 64-bit unsigned integer by a value greater than 64) that could occur in fts3.
FossilOrigin-Name: e1f12978b53683114ab0ef0e84a14dd4fabc72750b214aac19cd9da22a582a27
|
2020-01-07 09:06:43 +00:00 |
|
drh
|
804725a6b9
|
Improvements to detection of corruption in the %_stat shadow table of FTS4.
FossilOrigin-Name: 6b67eba54e7b4887a8cdab7537b12a95e9f17bcdaa0b423af5ed5bd91f69f2c6
|
2019-11-18 14:04:21 +00:00 |
|
drh
|
19d4175d65
|
Improved detection of corruption in the %_stat table of FTS4.
Chromium ticket 1025467.
FossilOrigin-Name: 10f8a3b718e0f47be528fba086c318e1dfe18ead383d01cfa24dedabad41e0a2
|
2019-11-18 10:37:57 +00:00 |
|
drh
|
feb5dcf1a6
|
Better detection of corruption in the %_stat and %_docsize shadow tables
of FTS3.
FossilOrigin-Name: 1e449687881f4d388e54a0e51bcabba41ab10cf7e596ff65e31e88a23c70d497
|
2019-11-17 02:41:06 +00:00 |
|
dan
|
6fcb9f3ad9
|
Fix a broken assert() in the fts3 snippet code that was failing for queries containging more than 64 phrases.
FossilOrigin-Name: 4c01e0170e113ad052b6c3980beb4be9f1dc03fb3cf34132b90e8b82b23f654e
|
2019-08-21 11:31:48 +00:00 |
|
drh
|
73f940c89e
|
Fix additional compiler warnings introduced by the previous check-in and found
by MSVC.
FossilOrigin-Name: 6fc0deffa4eed902fd13eefe6d2765f338f3dadc5b29f7cae5064e135417746b
|
2019-04-13 14:17:09 +00:00 |
|
drh
|
f6ad201ac2
|
Fixes for harmless compiler warnings.
FossilOrigin-Name: c28c973ad6debd63f13e5d4d3da036f680baaec9d863eda039f2747db9f1cfd5
|
2019-04-13 14:07:57 +00:00 |
|
drh
|
3b574e4ea9
|
Use the 64-bit memory allocator interfaces in extensions, whenever possible.
FossilOrigin-Name: 07ee06fd390bfebebc014b47583d489747b0423bb96c810bed5c605ce0e3be71
|
2019-04-13 04:38:32 +00:00 |
|
dan
|
95fdb63b7f
|
Avoid an assert() failure and an undefined left-shift operation in the fts3 snippet() function that could occur if the database was corrupt.
FossilOrigin-Name: d5250db6322103326f0d5782ba049996d9ce8784f9e53a3112fb6f09f888f1c3
|
2019-02-28 13:41:35 +00:00 |
|
dan
|
f2e5c98613
|
Fix a couple of assert() statements in fts3 that can be false if the database is corrupt.
FossilOrigin-Name: 84162af521f29df8a186163fbdef9856e1aa8aba78e74d7df0ba2cc83bb86240
|
2019-02-23 20:48:41 +00:00 |
|
dan
|
41fc545147
|
Fix an assertion failure in fts3 triggered by a corrupt database.
FossilOrigin-Name: 560ebd4269fad07b8e988d070454017123593eb6762597d08e8c32d7b4fb92ac
|
2019-02-03 07:46:07 +00:00 |
|
dan
|
451297752c
|
Fix problems causing undefined left-shift operations in the fts3 snippet()
function.
FossilOrigin-Name: b90dbaed3092236e97f9796fa63989a3648060e16189e1267c430f4a7e799fac
|
2019-01-18 19:26:48 +00:00 |
|
dan
|
e011ee2830
|
Fix a problem in the fts3 matchinfo() function with corrupt database handling.
FossilOrigin-Name: 24ed5fb6aea30b098d2faf3cf9d638933e518657217e903239ffaa1e25d34f66
|
2019-01-16 19:44:09 +00:00 |
|
dan
|
b4439eef10
|
Fix a problem with corrupt database handling in the fts3 matchinfo() function.
FossilOrigin-Name: 703646b1b5c84d550fe0d74e399c0eeb729da1d263e4693320f69e6509678985
|
2019-01-12 14:58:35 +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
|
add0804943
|
Avoid using a zero-sized array within a struct in fts3 code.
FossilOrigin-Name: b05cae36cedd98d59813e637f328a52eee7ef0d2
|
2015-05-26 17:29:48 +00:00 |
|
dan
|
3fb37f097c
|
Fix an fts4 matchinf() problem triggered by deferred tokens that are part of phrases that are part of AND expressions.
FossilOrigin-Name: f1e942a1dda496a509741e9cc2a17e8b4dac63a3
|
2015-05-25 10:57:13 +00:00 |
|
drh
|
7ac07bda73
|
Fix the MSVC makefile so that it works with OTA. Fix a harmless compiler
warning in FTS3.
FossilOrigin-Name: c7b16645307d6e46c4153693d6806269de64955f
|
2015-05-19 22:56:45 +00:00 |
|
dan
|
739b903e6d
|
Remove some dead code from fts3_snippet.c.
FossilOrigin-Name: 46b2d3cef5c22a9e6bd0a4f8411f17b7ec72bd18
|
2015-05-06 17:51:59 +00:00 |
|
dan
|
e60aedc564
|
More optimization for the 'y' and 'b' matchinfo directives.
FossilOrigin-Name: 8c5b9fedfcee3ac22a222819dceb981ad94a9903
|
2015-05-06 17:41:19 +00:00 |
|
dan
|
753c1f56db
|
Further optimizations for the 'y' and 'b' matchinfo operators.
FossilOrigin-Name: fbd038bb57322e1ed2e1ee52f3d134594b6bfcc0
|
2015-05-06 08:43:26 +00:00 |
|
dan
|
99eaf39784
|
Add the fts3 matchinfo 'b' flag.
FossilOrigin-Name: b9b77972d88171e4239b8194f308eb5d60b5d172
|
2015-05-05 20:39:53 +00:00 |
|
dan
|
b2bd727e52
|
Optimizations for the matchinfo() function, particularly the 'y' flag.
FossilOrigin-Name: dddd7e182943a1d3a9d32830e819a63f1a228d6d
|
2015-05-05 19:37:07 +00:00 |
|
dan
|
28f98455f4
|
Add the experimental matchinfo 'y' flag to fts3/4.
FossilOrigin-Name: 92941609af74044b3078e020324a37b04a0638b0
|
2015-05-02 09:44:15 +00:00 |
|
drh
|
abf582509d
|
Use the sqlite3Fts3ErrMsg() function to set error message text in FTS3,
and to ensure that error messages are not overwritten and thus leaked.
FossilOrigin-Name: 605347e087ec5eb817f3c94f4616abe26c7ab66b
|
2015-05-01 14:07:30 +00:00 |
|
mistachkin
|
0b7ff5c11b
|
Fix harmless compiler warning.
FossilOrigin-Name: 580dae4615353d73c7d096107571bd60fec5b0f2
|
2015-03-04 20:18:55 +00:00 |
|
dan
|
6f0138e89e
|
Fix a bug in the fts3 snippet() function causing it to omit leading separator characters from snippets that begin with the first token in a column.
FossilOrigin-Name: adc9283dd9bc3a6463f8c4fe23dd58a3712c349d
|
2015-01-27 19:01:26 +00:00 |
|
dan
|
18f6ff9eb7
|
Improve the performance of fts3/4 queries that use the OR operator and at least one auxiliary fts function.
FossilOrigin-Name: 245e8730451fbdc1c729beff7295c452df604009
|
2015-01-27 18:43:02 +00:00 |
|
dan
|
85963f5474
|
When possible, have FTS use 32-bit operations to read varints from the database.
FossilOrigin-Name: aa7ba302ed13aedde89b5bcbe9119799c0da8a42
|
2013-11-12 17:46:44 +00:00 |
|
dan
|
290703091e
|
Add some extra assert() statements to silence a few clang warnings.
FossilOrigin-Name: 1c63e9515b5f5cb9169928b108d002dcd18ad4fd
|
2013-08-19 18:17:03 +00:00 |
|
mistachkin
|
48864df97d
|
Many spelling fixes in comments. No changes to code.
FossilOrigin-Name: 6f6e2d50941e444ebc83604daddcc034137a05b7
|
2013-03-21 21:20:32 +00:00 |
|
dan
|
1276cd0ba8
|
Add a comment to fts3_snippet.c.
FossilOrigin-Name: b5f5ba3103e6fcf117fb69d5379fa70f691a652d
|
2012-10-17 20:28:52 +00:00 |
|
dan
|
6c42aa4a0e
|
Initialize variables used as outputs of custom tokenizer method calls in fts4.
FossilOrigin-Name: 514505a84bcc677518d60a42896598f85ed78265
|
2012-10-17 20:15:10 +00:00 |
|
dan
|
5cfed52dd1
|
Have the FTS auxiliary functions correctly handle terms that appear in non-matching branches of the FTS expression. Fix for [bdc6bbbb38].
FossilOrigin-Name: 4d3e1673b309a3d6a6cac01d67dfd79a8007f991
|
2012-05-10 17:43:14 +00:00 |
|
dan
|
311ec02587
|
Remove the fts3merge.test script in favour of changing the fts4merge.test script so that it runs tests using both fts4 and fts3. Fix some problems with incr-merge and FTS3 tables.
FossilOrigin-Name: 5c447e226afca0d46b9ed994dea26a16a9ae168c
|
2012-03-27 15:00:06 +00:00 |
|
dan
|
996073b3ae
|
Add the xLanguageid method to sqlite3_fts3_tokenizer versions 1 and greater.
FossilOrigin-Name: f8e9c445dd358c40e5a7bf3756b9f291909dbea7
|
2012-03-03 18:46:41 +00:00 |
|
dan
|
e459b07601
|
Merge the fts4-content branch with the trunk.
FossilOrigin-Name: 8a4077057ddeb08e8edc5f20a75abaaba7a278ba
|
2011-10-19 16:20:40 +00:00 |
|
dan
|
50a7544d6f
|
Fix a problem in FTS to do with ^ tokens and the snippet() function.
FossilOrigin-Name: 2c03b24f4cc6f2c28c9d5b9984320d41b8486c32
|
2011-10-19 09:40:49 +00:00 |
|
dan
|
8dab211632
|
Handle updating the only row of an FTS table correctly. Fix for [9fd058691].
FossilOrigin-Name: 7e24645be2fe0ffe092212e7bcfa5b4500305811
|
2011-10-13 17:16:45 +00:00 |
|
dan
|
d8e454e19a
|
Add experimental 'content' option to FTS4.
FossilOrigin-Name: 1d27ea741f61c624e18bdc6a3b1c2d8574a64ddc
|
2011-10-04 11:22:59 +00:00 |
|
drh
|
051eb38a26
|
Fix various harmless compiler warnings in FTS3 and RTREE.
FossilOrigin-Name: fe62179efdea40887e23a16f898060b879013824
|
2011-06-20 17:24:29 +00:00 |
|
drh
|
6b96771b82
|
Changes to #ifdefs so that the build goes correctly if the only FTS macro
defined is SQLITE_ENABLE_FTS4.
FossilOrigin-Name: a0b43a320e6491de7070966ed7c3ec55fd660a85
|
2011-06-16 00:54:45 +00:00 |
|
dan
|
abf2545ed9
|
Fix various issues to do with deferred tokens, NEAR expressions and matchinfo().
FossilOrigin-Name: 3972a787df5ec253b99b148385655e7b68d851fa
|
2011-06-08 18:39:07 +00:00 |
|
dan
|
126ba6c0ac
|
FTS changes: Remove unreachable code. Fix bugs. When processing a large doclist incrementally, read from disk incrementally too.
FossilOrigin-Name: a4c7e2820824e82580730c36f85aede2efa66754
|
2011-06-03 18:00:19 +00:00 |
|