/ File History
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

History of ext/fts3/fts3_expr.c

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