SQLite

All files named ”ext/fts5/fts5_vocab.c”
Login

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

History for ext/fts5/fts5_vocab.c

2025-02-17
18:09
[ff0441c4ea] part of check-in [e846743a87] Additional changes making it easier to prove that integer overflow does not occur. No problems found. (check-in: [e846743a87] user: drh branch: trunk, size: 24477)
2024-05-14
19:41
[e4830b0080] part of check-in [96a591c202] Optimize queries against fts5vocab(row) tables that do use the "cnt" column. (check-in: [96a591c202] user: dan branch: fts5-delay-tokenizer, size: 24487)
19:09
[faa8c6d8e0] part of check-in [c0c91e306c] Avoid calculating the value of the "cnt" column for fts5vocab(row) queries that do not use it. (check-in: [c0c91e306c] user: dan branch: fts5-delay-tokenizer, size: 24209)
17:16
[00a098ee63] part of check-in [ca4fdcb8ae] Have fts5 tables delay initializing the tokenizer until it is first used in all cases where the tokenizer is not "trigram". (check-in: [ca4fdcb8ae] user: dan branch: fts5-delay-tokenizer, size: 23776)
2023-12-07
21:09
[209e0c151e] part of check-in [1e26510e83] Ensure an fts5vocab table never uses a special tokendata=1 merge cursor. (check-in: [1e26510e83] user: dan branch: trunk, size: 23780)
2023-10-06
12:51
[aed56169ae] part of check-in [f3b3d712d6] Ensure that all fields of static sqlite3_module objects are explicitly initialized, in order to hush-up nuisance compiler warnings. (check-in: [f3b3d712d6] user: drh branch: trunk, size: 23754)
2022-07-22
20:24
[d66013a4d4] part of check-in [57beb700c0] Add experimental 'xShadowName2' method for virtual table modules. (check-in: [57beb700c0] user: mistachkin branch: xShadowName2, size: 23754)
2021-11-26
17:10
[12138e8461] part of check-in [eb878c01f3] Improved defenses against integer overflow when computing the size of a memory allocations. No bugs were fixed here. But perhaps future bugs will be prevented. (check-in: [eb878c01f3] user: drh branch: trunk, size: 23727)
2021-07-07
11:51
[925a05c891] part of check-in [9dbdc9001e] Instead of disallowing writes to fts5 tables if there are fts5vocab cursors open on them (commit [c49a6ed7]), abort any fts5vocab queries if the on-disk structure of the fts5 table changes. (check-in: [9dbdc9001e] user: dan branch: trunk, size: 23727)
2021-07-05
19:01
[68d55d31c0] part of check-in [c49a6ed78a] Do not allow writes to an fts5 table if there are any open fts5vocab cursors. (check-in: [c49a6ed78a] user: dan branch: trunk, size: 23489)
2020-07-29
16:18
[f2aff8736d] part of check-in [a80ae2c98b] 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: [a80ae2c98b] user: drh branch: typos, size: 23413)
2020-02-16
17:40
[7a07183306] part of check-in [109ee07433] Avoid an infinite recursion on an illegal recursive definition of an fts5vocab table. (check-in: [109ee07433] user: drh branch: trunk, size: 23413)
2019-05-14
18:33
[c3f1218857] part of check-in [456ced5777] Fix a problem with corrupt db handling in the fts5_vocab module. (check-in: [456ced5777] user: dan branch: trunk, size: 23156)
2019-01-31
14:37
[906dff0698] part of check-in [b80119bd60] Fix another buffer overrun that could occur when quering a corrupt database using an fts5vocab table. (check-in: [b80119bd60] user: dan branch: trunk, size: 23122)
2019-01-18
21:12
[10a3ef4325] part of check-in [9e717c4377] Fix a crash in the fts5vocab module caused by including a "term < NULL" term in a WHERE clause. (check-in: [9e717c4377] user: dan branch: trunk, size: 23096)
20:15
[359bb80c12] part of check-in [acccc9808f] Avoid passing a NULL pointer to memcpy in fts5, even if the database is corrupt. (check-in: [acccc9808f] user: dan branch: trunk, size: 23095)
2019-01-17
17:39
[132fcaf09c] part of check-in [49956395e1] Fix problems with joining two or more fts5_vocab tables that access the same underlying fts5 table. (check-in: [49956395e1] user: dan branch: trunk, size: 23028)
2019-01-10
15:17
[217451108a] part of check-in [83c467d7af] Fix further problems with fts5 handling corrupt databases. (check-in: [83c467d7af] user: dan branch: trunk, size: 22944)
2018-11-12
13:20
[fbe3804488] part of check-in [ac69d169c6] Fix a use-after-free problem in the fts5vocab virtual table. (check-in: [ac69d169c6] user: dan branch: trunk, size: 22944)
2018-11-05
23:01
[dfe3bfc7cc] part of check-in [31942b3dd3] Initial code to make shadow tables read-only to ordinary SQL. The now xShadowName method is added to the sqlite3_module object and is used to identify potential shadow tables. The SQLITE_PREPARE_SHADOW argument to sqlite3_prepare_v3() is defined. It is designed to permit writing to shadow tables, but is currently an unused placeholder. (check-in: [31942b3dd3] user: drh branch: read-only-shadow, size: 22861)
2017-10-08
02:22
[1cd79854cb] part of check-in [5594a121bf] Fix harmless compiler warnings in FTS5 seen with MSVC. (check-in: [5594a121bf] user: mistachkin branch: trunk, size: 22837)
2017-08-10
20:36
[90783d59cb] part of check-in [34a7bd7121] Add the "instance" type to the fts5vocab virtual table module. For direct access to the contents of the fts5 term index. (check-in: [34a7bd7121] user: dan branch: trunk, size: 22874)
2016-09-21
14:41
[e44fefa7f0] part of check-in [d4928fb5cd] Update the fts5vocab table to handle "ORDER BY term" efficiently. (check-in: [d4928fb5cd] user: dan branch: trunk, size: 19733)
2016-02-11
17:01
[dba72ca393] part of check-in [bc3f7900d5] Handle parser stack overflow when parsing fts5 query expressions. Fix some compiler warnings in fts5 code. (check-in: [bc3f7900d5] user: dan branch: trunk, size: 19276)
2016-01-23
18:51
[3ef401a8d6] part of check-in [72d53699bf] Fix an fts5 problem with using both xPhraseFirst() and xPhraseFirstColumn() within a single statement in detail=col mode. (check-in: [72d53699bf] user: dan branch: fts5-perf, size: 19213)
2016-01-22
19:48
[f1b4308b9b] part of check-in [b5a57b812f] Experimental performance enhancements for fts5. (check-in: [b5a57b812f] user: dan branch: fts5-perf, size: 19249)
2016-01-15
19:54
[ee6df1a3be] part of check-in [3b72df405a] Rationalize some code in fts5_storage.c. Add tests to cover recently added branches in fts5. (check-in: [3b72df405a] user: dan branch: trunk, size: 19489)
2016-01-07
20:07
[da64ecbd21] part of check-in [eedd095dc1] Update the fts5vocab module to work with detail=col and detail=none tables. (check-in: [eedd095dc1] user: dan branch: fts5-offsets, size: 19238)
2015-10-21
22:08
[3742d0abfe] part of check-in [aa4e01ea1a] Fix harmless compiler warnings in FTS5. (check-in: [aa4e01ea1a] user: mistachkin branch: trunk, size: 18217)
2015-10-20
23:27
[fc319264eb] part of check-in [0a903ec26b] Fix harmless compiler warnings in FTS5. (check-in: [0a903ec26b] user: mistachkin branch: trunk, size: 18213)
2015-10-17
20:34
[4bf7e418bd] part of check-in [cf618334a8] Add tests to cover new branches added to the fts5 code by the previous commit. (check-in: [cf618334a8] user: dan branch: trunk, size: 18159)
19:49
[f7c03dabb8] part of check-in [6020d96ab4] Handle equality and range constraints on the "term" column of fts5vocab tables. Also have the same module report columns using names instead of indexes. (check-in: [6020d96ab4] user: dan branch: trunk, size: 18206)
2015-10-14
20:34
[85ebf2e930] part of check-in [1c46c194a2] Fix harmless compiler warnings. (check-in: [1c46c194a2] user: mistachkin branch: trunk, size: 15063)
2015-10-12
19:12
[a05027ab6a] part of check-in [1c20c1c28b] Further tweaks to improve fts5 prefix query performance. (check-in: [1c20c1c28b] user: dan branch: trunk, size: 15053)
2015-10-06
20:53
[17320c476a] part of check-in [bf1607ac15] Optimizations for fts5 expressions that filter on column. More still to come. (check-in: [bf1607ac15] user: dan branch: trunk, size: 15050)
2015-08-05
07:43
[4622e0b7d8] part of check-in [dffd358f6c] Remove all references to "docid" within fts5 source code and comments. Replace with "rowid". (check-in: [dffd358f6c] user: dan branch: trunk, size: 15047)
2015-07-02
15:52
[4e268a3fcb] part of check-in [7819002ed8] Remove "#ifdef SQLITE_ENABLE_FTS5" from individual fts5 source files. Add a single "#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS5)" to fts5.c. (check-in: [7819002ed8] user: dan branch: trunk, size: 15115)
2015-06-23
18:47
[e454fa58c6] part of check-in [df5ccea80e] Improve test coverage of fts5. (check-in: [df5ccea80e] user: dan branch: fts5, size: 15188)
2015-05-25
11:46
[1f8543b2c1] part of check-in [02069782f8] Avoid redundant loads from the %_data table in the fts5 code. (check-in: [02069782f8] user: dan branch: fts5, size: 15216)
2015-05-22
07:44
[3d06e43066] part of check-in [065ab83a6c] Increase test coverage of fts5_vocab.c. (check-in: [065ab83a6c] user: dan branch: fts5, size: 15189)
2015-05-18
17:50
[b54301e376] part of check-in [47dbfadb99] Improve test coverage of fts5_config.c. (check-in: [47dbfadb99] user: dan branch: fts5, size: 15152)
2015-05-15
12:18
[e532f38a62] part of check-in [adee788586] Add test cases. And some fixes. (check-in: [adee788586] user: dan branch: fts5, size: 15069)
2015-05-09
18:28
[2e37ea9b4d] part of check-in [3922276135] Allow the fts5vocab table to optionally provide data on a per-column basis. (check-in: [3922276135] user: dan branch: fts5, size: 15011)
2015-05-08
20:21
Added: [9e021b7f95] part of check-in [6bf93e3b56] Add the fts5vocab module, for direct access to the fts5 index. (check-in: [6bf93e3b56] user: dan branch: fts5, size: 11115)