/ All files named "ext/fts3/fts3_expr.c"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for ext/fts3/fts3_expr.c

2020-07-29
16:18
[272b33ef] part of check-in [a80ae2c9] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c9] user: drh branch: typos, size: 41245)
2020-04-22
11:11
[f081e38d] part of check-in [e256f852] Fix an integer overflow in fts3 causing a usan error. (check-in: [e256f852] user: dan branch: trunk, size: 41243)
2019-01-14
11:56
[b132af22] part of check-in [c93c6b45] Have fts3 ignore empty sets of parenthesis if built with SQLITE_ENABLE_FTS3_PARENTHESIS. (check-in: [c93c6b45] user: dan branch: trunk, size: 41337)
2019-01-08
20:02
[677055b5] part of check-in [ca67f2ec] Use 64-bit math to compute the sizes of memory allocations in extensions. (check-in: [ca67f2ec] user: drh branch: trunk, size: 41396)
2018-04-28
04:10
[3b1dbced] part of check-in [de508e83] Fix compiler warnings in FTS3. (check-in: [de508e83] user: drh branch: trunk, size: 41369)
2018-04-27
18:05
[84c827c8] part of check-in [576a8f69] Update test script fts3expr4.test so that it always creates fts3 tokenizers in the "en_US" locality. (check-in: [576a8f69] user: dan branch: trunk, size: 41455)
2015-10-05
15:39
[dfd571a2] part of check-in [d6b66cd7] Update fts3 so that expressions to the left and right of a NOT operator are balanced. This prevents relatively small expressions (a dozen terms or so) that are children of NOT operators from triggering the "expression tree is too large" error. (check-in: [d6b66cd7] user: dan branch: trunk, size: 41884)
2015-05-01
14:07
[71c063da] part of check-in [605347e0] Use the sqlite3Fts3ErrMsg() function to set error message text in FTS3, and to ensure that error messages are not overwritten and thus leaked. (check-in: [605347e0] user: drh branch: trunk, size: 41023)
2014-10-09
15:08
[40123785] part of check-in [49dfee7c] Allow FTS tokenizers to choose whether or not to consider the "*" character part of tokens or not. This restores the pre-[e21bf7a2ad] behaviour. Also fix a problem causing FTS to interpret tokens beginning with "*" characters as EOF. (check-in: [49dfee7c] user: dan branch: trunk, size: 41024)
2014-05-27
11:54
[351395fa] part of check-in [64a869ad] Fix a harmless compiler warning in the FTS4 logic. (check-in: [64a869ad] user: drh branch: trunk, size: 41037)
2014-05-19
19:26
[b491cccc] part of check-in [aa7e2041] Fix harmless compiler warnings in MSVC. (check-in: [aa7e2041] user: drh branch: safer-malloc, size: 41035)
2014-05-07
19:59
[2ac35bda] part of check-in [e21bf7a2] Fix the way parenthesis in MATCH expressions are handled by FTS if the tokenizer considers them to be token characters. (check-in: [e21bf7a2] user: dan branch: trunk, size: 41030)
2013-11-04
08:56
[5165c365] part of check-in [49be646c] Fix a bug preventing FTS from correctly processing bracket tokens that are immediately preceded by characters that are neither whitespace or token characters. (check-in: [49be646c] user: dan branch: trunk, size: 40679)
2013-06-11
14:22
[f8eb1046] part of check-in [24fc9d44] Add the SQLITE_FTS3_MAX_EXPR_DEPTH compile time option. (check-in: [24fc9d44] user: dan branch: trunk, size: 40608)
2013-05-06
14:57
[193d6fc1] part of check-in [d8dc2c5f] Add an assert() to fts3_expr.c in order to silence a clang warning. (check-in: [d8dc2c5f] user: drh branch: trunk, size: 40589)
2013-04-29
18:07
[44b4a3c4] part of check-in [f480b1fe] Improve the error message issued when an FTS query exceeds the maximum allowable tree depth. (check-in: [f480b1fe] user: dan branch: trunk, size: 40555)
17:12
[2449c3f3] part of check-in [72ac7318] Fix an off-by-one in the code for limiting the depth of FTS expression trees. (check-in: [72ac7318] user: dan branch: trunk, size: 40129)
2013-04-26
13:14
[4021d21a] part of check-in [3c78af8c] Fix harmless compiler warnings in the FTS expression parser. (check-in: [3c78af8c] user: drh branch: fts3-expr-rebalance, size: 40130)
2013-04-25
20:34
[a01c0a2e] part of check-in [f968d43f] Rebalance FTS expressions after parsing to limit recursion during evaluation. Avoid recursion when deleting FTS expression trees. Enforce a limit on the depth of an expression tree. (check-in: [f968d43f] user: dan branch: fts3-expr-rebalance, size: 40165)
2013-03-21
21:20
[6cb4410f] part of check-in [6f6e2d50] Many spelling fixes in comments. No changes to code. (check-in: [6f6e2d50] user: mistachkin branch: trunk, size: 32518)
2012-10-17
20:15
[ceefcaf9] part of check-in [514505a8] Initialize variables used as outputs of custom tokenizer method calls in fts4. (check-in: [514505a8] user: dan branch: trunk, size: 32519)
2012-03-03
18:46
[dbc7ba4c] part of check-in [f8e9c445] Add the xLanguageid method to sqlite3_fts3_tokenizer versions 1 and greater. (check-in: [f8e9c445] user: dan branch: fts4-languageid, size: 32487)
2011-10-19
16:20
[f5df26bd] part of check-in [8a407705] Merge the fts4-content branch with the trunk. (check-in: [8a407705] user: dan branch: trunk, size: 31694)
15:52
[34dd0edf] part of check-in [df36ac94] Have FTS3 ignore ^ prefixes. The ^ syntax is only supported on FTS4 tables. (check-in: [df36ac94] user: dan branch: fts4-content, size: 31630)
2011-10-18
19:39
[dd0facbe] part of check-in [63ac33c8] If a token within an FTS query is prefixed with a '^' character, it must be the first token in a column of data to match. (check-in: [63ac33c8] user: dan branch: fts4-content, size: 31436)
2011-10-14
22:57
[61ceee7c] part of check-in [b3324f6c] Fix a few minor and harmless clang warnings in FTS3 and RTREE. (check-in: [b3324f6c] user: drh branch: trunk, size: 31196)
2011-06-16
00:54
[23791de0] part of check-in [a0b43a32] Changes to #ifdefs so that the build goes correctly if the only FTS macro defined is SQLITE_ENABLE_FTS4. (check-in: [a0b43a32] user: drh branch: trunk, size: 31132)
2011-06-08
18:39
[b95f0d76] part of check-in [3972a787] Fix various issues to do with deferred tokens, NEAR expressions and matchinfo(). (check-in: [3972a787] user: dan branch: fts3-prefix-search, size: 31132)
2011-06-03
18:00
[0ae55423] part of check-in [a4c7e282] FTS changes: Remove unreachable code. Fix bugs. When processing a large doclist incrementally, read from disk incrementally too. (check-in: [a4c7e282] user: dan branch: fts3-prefix-search, size: 31106)
2011-06-02
19:57
[5c789c74] part of check-in [28149a78] Changes to improve performance and support LIMIT clauses on fts3 tables. This branch is unstable for now. (check-in: [28149a78] user: dan branch: fts3-prefix-search, size: 31178)
2011-05-28
15:57
[25e30cf2] part of check-in [84097a4c] Minor changes made while planning a larger change. (check-in: [84097a4c] user: dan branch: fts3-prefix-search, size: 31117)
2010-11-29
17:55
[5f49e0de] part of check-in [5602ec95] Fix compiler warnings discovered while building SQLite on http://www.devio.us/. (check-in: [5602ec95] user: dan branch: trunk, size: 29972)
2010-11-26
16:49
[f1cd71e7] part of check-in [c412f612] Fix various compiler warnings. (check-in: [c412f612] user: drh branch: trunk, size: 29645)
2010-10-23
19:07
[ee48b927] part of check-in [deb80eac] Fixes for the matchinfo() function related to FTS4 common token handling. (check-in: [deb80eac] user: dan branch: experimental, size: 29659)
2010-10-19
14:08
[a5aee50e] part of check-in [5ae0ba44] Experimental changes to fts4 to try to selectively avoid loading very large doclists. (check-in: [5ae0ba44] user: dan branch: experimental, size: 29542)
2010-08-06
19:00
[42d56977] part of check-in [b8b465ed] Remove all vestiges of ctype.h from FTS3. This addresses ticket [991789d9f3136a] among other bug reports. (check-in: [b8b465ed] user: drh branch: trunk, size: 29459)
2010-01-02
19:02
[f4ff02eb] part of check-in [51f7ee84] Add experimental implementation of FTS3 functions matchinfo() and snippet() (not enabled by default). (check-in: [51f7ee84] user: dan branch: trunk, size: 29445)
2009-12-22
18:56
[541de159] part of check-in [37a1de02] Add the experimental FTS3 matchinfo() function. Provides details of the match that may be used for result ranking and other purposes. (check-in: [37a1de02] user: dan branch: trunk, size: 29473)
2009-12-09
05:30
[fcf6812d] part of check-in [a9038306] Mark fts3ReallocOrFree and fts3InitVtab as static. Ticket [ff44d82f3b]. (check-in: [a9038306] user: dan branch: trunk, size: 29414)
2009-12-08
19:05
[09a0e1be] part of check-in [f0eac417] Add tests to improve coverage of fts3. Associated bugfixes. (check-in: [f0eac417] user: dan branch: trunk, size: 29407)
2009-12-03
06:26
[c18794a6] part of check-in [37495b55] Updates to FTS3 to correct compiler warnings under MSVC. (check-in: [37495b55] user: shaneh branch: trunk, size: 29401)
2009-11-13
17:36
[bdf11f36] part of check-in [30a92f11] Start reworking fts3 code to match the rest of SQLite (code conventions, malloc-failure handling etc.). (check-in: [30a92f11] user: dan branch: fts3-refactor, size: 29343)
2009-07-28
16:44
[0bfdae44] part of check-in [4571aa9e] Add the experimental API sqlite3_strnicmp(). Modify fts3 so that in terms like 'column_name:token' the column_name is interpreted in a case-insenstive fashion. Ticket #3996. (CVS 6950) (check-in: [4571aa9e] user: danielk1977 branch: trunk, size: 28787)
2009-07-10
09:24
[25f8f5b7] part of check-in [c19d419e] Fix a double-free that can occur when using the fts3 legacy syntax '-' operator. Add tests for the same operator. Ticket #3960. (CVS 6874) (check-in: [c19d419e] user: danielk1977 branch: trunk, size: 28766)
2009-03-12
15:43
[212548eb] part of check-in [03679857] Avoid fts3 crash on (MATCH '""') expressions. Ticket #3717. (CVS 6343) (check-in: [03679857] user: danielk1977 branch: trunk, size: 28675)
2009-01-21
17:45
[a27333da] part of check-in [5b3c075f] Add a comment to fts3_tokenizer.h to make it clear how the xNext() method is supposed to set its output variables. Make sure the output variables of xNext() are only used if SQLITE_OK is returned. Ticket #3604. (CVS 6198) (check-in: [5b3c075f] user: danielk1977 branch: trunk, size: 28610)
2009-01-01
14:06
[98fe92f6] part of check-in [ccfe4580] Fix some problems in the fts3 expression parser with mismatched parenthesis. (CVS 6095) (check-in: [ccfe4580] user: danielk1977 branch: trunk, size: 28608)
12:34
[9394701f] part of check-in [afac4293] Additional test cases and cleanup of FTS3 parenthesis processing. (CVS 6094) (check-in: [afac4293] user: drh branch: trunk, size: 28428)
07:08
[ac57b3ae] part of check-in [11c2d468] Add pseudo-random tests of the fts3 expression parser. Revise the fix in (6091). (CVS 6092) (check-in: [11c2d468] user: danielk1977 branch: trunk, size: 28067)
04:19
[4f00c773] part of check-in [d1a6a2ed] Fix a bug parsing "<expr> AND (abc NEAR def)" in fts3_expr.c. (CVS 6091) (check-in: [d1a6a2ed] user: danielk1977 branch: trunk, size: 27632)
2008-12-31
16:27
[6c9d7c99] part of check-in [7e238e86] Fix the FTS3 expression parser so that it works in the amalgamation when FTS3 is disabled. (CVS 6088) (check-in: [7e238e86] user: drh branch: trunk, size: 27602)
16:01
[e703bbd6] part of check-in [c2b9891f] Fix the FTS3 module with parenthesis syntax so that it will work in the amalgamation. (CVS 6087) (check-in: [c2b9891f] user: drh branch: trunk, size: 27479)
2008-12-17
15:49
[a20038d4] part of check-in [20a4ca5d] Fix some strict-aliasing problems in fts3_expr.c. (CVS 6035) (check-in: [20a4ca5d] user: danielk1977 branch: trunk, size: 27464)
15:18
Added: [b1411451] part of check-in [7389b9ec] Modify fts3 to support a more complex expression syntax that allows parenthesis. The new syntax is not entirely backwards compatible, so is disabled by default. Use -DSQLITE_ENABLE_FTS3_PARENTHESIS to enable it. (CVS 6034) (check-in: [7389b9ec] user: danielk1977 branch: trunk, size: 27479)