SQLite

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

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

History for ext/fts5/fts5_buffer.c

2025-02-27
21:17
[f1e6d0324d] part of check-in [f50c21484d] Approximately 100 typo corrections spanning the whole tree, submitted via forum post 0db9827f0464bc33 and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text. (check-in: [f50c21484d] user: stephan branch: trunk, size: 10828)
2023-12-14
16:34
[0eec58bff5] part of check-in [27d4a89a5f] Add assert()s to FTS5 to fix static analyzer warnings. (check-in: [27d4a89a5f] user: drh branch: trunk, size: 10827)
2021-10-14
21:13
[3001fbabb5] part of check-in [69a3ff0cc1] Fix a signed integer overflow in fts5 leading to a segfault that could occur when processing corrupt records. (check-in: [69a3ff0cc1] user: dan branch: trunk, size: 10755)
2021-06-30
12:11
[89a51b37c4] part of check-in [9e760e2560] Fix an assert() in fts5 that might fail when dealing with corrupt records. (check-in: [9e760e2560] user: dan branch: trunk, size: 10811)
2021-06-09
13:39
[605f509f88] part of check-in [a99c29b5ef] Add defensive code to better handle corrupt records in fts5. (check-in: [a99c29b5ef] user: dan branch: trunk, size: 10783)
2020-07-29
16:18
[f9bf1ed460] 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: 10599)
2019-05-13
11:52
[5a5fe01597] part of check-in [f158c048be] Fix an assert() failure in fts5 that could occur when processing a corrupt database. (check-in: [f158c048be] user: dan branch: trunk, size: 10598)
2019-04-24
15:57
[43eecc62f1] part of check-in [516ca89451] Fix a problem in fts5 where a corrupt position list could lead to a buffer overwrite. (check-in: [516ca89451] user: dan branch: trunk, size: 10466)
2019-03-20
05:45
[7d91caa0d8] part of check-in [1c0fe5b576] Fix various harmless compiler warnings seen with MSVC. (check-in: [1c0fe5b576] user: mistachkin branch: noWarnings, size: 10402)
2019-01-23
12:19
[2e750cd4c0] part of check-in [1d8172a94b] Fix a buffer overwrite triggered by a prefix query on a corrupt fts5 table. (check-in: [1d8172a94b] user: dan branch: trunk, size: 10389)
2019-01-18
21:03
[61f48c4921] part of check-in [55c5d72af9] Fix an infinite loop caused by a corrupt database in fts3. Also an undefined left-shift in fts5. (check-in: [55c5d72af9] user: dan branch: trunk, size: 10374)
2019-01-08
20:02
[9d7bd65412] part of check-in [ca67f2ec0e] Use 64-bit math to compute the sizes of memory allocations in extensions. (check-in: [ca67f2ec0e] user: drh branch: trunk, size: 10366)
08:02
[9567442b5d] part of check-in [673a7dd698] Fix further problems with fts5 and corrupt databases causing integer overflow. (check-in: [673a7dd698] user: dan branch: trunk, size: 10354)
2017-05-19
12:32
[1dd1ec0446] part of check-in [35f721045d] Fix some problems in fts5 code detected by -fsanitize=undefined. (check-in: [35f721045d] user: dan branch: trunk, size: 10352)
2016-02-11
15:37
[4c1502d4c9] part of check-in [cfe2eb88b5] Add JSON1 and FTS5 to the set of extensions subject to close compiler warning analysis. Fix some warnings in each. More (harmless) warnings still exist in FTS5. (check-in: [cfe2eb88b5] user: drh branch: trunk, size: 10324)
2016-02-08
20:14
[5142f73def] part of check-in [85eb05ddbc] Fix a signed/unsigned comparison warning in fts5. (check-in: [85eb05ddbc] user: dan branch: trunk, size: 10257)
2016-02-05
21:09
[2dac8e23c5] part of check-in [22589018ac] Add tests for and remove unreachable branches from fts5 in order to restore test coverage. (check-in: [22589018ac] user: dan branch: trunk, size: 10252)
19:18
[ad4bb545c8] part of check-in [ca91bd8ac7] Further streamlining of fts5 prefix query code. (check-in: [ca91bd8ac7] user: dan branch: trunk, size: 10308)
2016-01-23
18:51
[f6e0c6018f] 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: 9840)
15:57
[0b8e1f84fe] part of check-in [3be336aa89] Fix some signed/unsigned comparison compiler warnings in fts5. (check-in: [3be336aa89] user: dan branch: trunk, size: 9842)
2016-01-18
17:48
[7d3f6f01f8] part of check-in [acaf426449] Add tests for fts5. Fix a crash that can occur in fts5 if the database content is corrupted. (check-in: [acaf426449] user: dan branch: trunk, size: 9842)
2016-01-16
18:58
[ba59964c95] part of check-in [de77d6026e] Add further tests for fts5. Fix some problems with detail=col mode and auxiliary functions. (check-in: [de77d6026e] user: dan branch: trunk, size: 9839)
2015-12-21
18:45
[87204c8b3b] part of check-in [609a0bc7f3] Fix an fts5 integrity-check problem that affects offsets=0 tables with prefix indexes. (check-in: [609a0bc7f3] user: dan branch: fts5-offsets, size: 9569)
2015-12-17
20:36
[389d377d04] part of check-in [40b5bbf02a] Add the "offsets=0" option to fts5, to create a smaller index without term offset information. A few things are currently broken on this branch. (check-in: [40b5bbf02a] user: dan branch: fts5-offsets, size: 9322)
2015-10-21
20:56
[1e49512a53] part of check-in [ae350bfbfd] Remove some branches made unreachable by recent changes from fts5. (check-in: [ae350bfbfd] user: dan branch: trunk, size: 7733)
2015-10-19
20:49
[6d4082daa7] part of check-in [60a8bde055] Another optimization for fts5 prefix (and other) queries. (check-in: [60a8bde055] user: dan branch: trunk, size: 7912)
2015-10-14
20:34
[9a3aa73a4e] part of check-in [1c46c194a2] Fix harmless compiler warnings. (check-in: [1c46c194a2] user: mistachkin branch: trunk, size: 8102)
2015-10-12
19:12
[e99224a316] part of check-in [1c20c1c28b] Further tweaks to improve fts5 prefix query performance. (check-in: [1c20c1c28b] user: dan branch: trunk, size: 8092)
2015-10-07
17:01
[b2fb69c1ee] part of check-in [baec1b96cb] Allow the subsitute character (codepoint 26 - 0x1A) to appear in fts5 barewords. (check-in: [baec1b96cb] user: dan branch: trunk, size: 8313)
13:24
[195f6f0559] part of check-in [f20f9f813f] Add tests for fts5 phrase queries with column filters. (check-in: [f20f9f813f] user: dan branch: trunk, size: 8264)
2015-10-05
19:41
[54b1849739] part of check-in [f2f0184e9e] Improve performance of prefix queries without a prefix index on fts5 tables. (check-in: [f2f0184e9e] user: dan branch: trunk, size: 8270)
2015-09-08
19:55
[64dcaf36a3] part of check-in [00d990061d] Remove the 0x00 terminators from the end of fts5 doclists stored on disk. (check-in: [00d990061d] user: dan branch: fts5-incompatible, size: 8186)
2015-07-02
15:52
[80f9ba4431] 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: 8180)
2015-06-26
04:34
[7428b0bcb2] part of check-in [ef2052f81e] Initial changes to get FTS5 working with MSVC. (check-in: [ef2052f81e] user: mistachkin branch: fts5Msvc, size: 8238)
2015-06-09
20:58
[be0dc80a94] part of check-in [aa12f9d9b7] Add the "columnsize=" option to fts5, similar to fts4's "matchinfo=fts3". (check-in: [aa12f9d9b7] user: dan branch: fts5, size: 8232)
2015-05-30
11:49
[9ec57c75c8] part of check-in [e008c3c8e2] Remove the "#include sqlite3Int.h" from fts5Int.h. (check-in: [e008c3c8e2] user: dan branch: fts5, size: 7964)
2015-05-18
17:50
[861599a0ab] part of check-in [47dbfadb99] Improve test coverage of fts5_config.c. (check-in: [47dbfadb99] user: dan branch: fts5, size: 7948)
2015-05-02
20:35
[70b971e135] part of check-in [c4456dc5f5] Reorganize some of the fts5 expression parsing code. Improve test coverage of the same. (check-in: [c4456dc5f5] user: dan branch: fts5, size: 6915)
2015-04-28
18:35
[8c8cfe7f09] part of check-in [8e8136f2dc] Improve coverage of fts5 tests. (check-in: [8e8136f2dc] user: dan branch: fts5, size: 6221)
2015-04-14
20:15
[3ba56cc682] part of check-in [9341c070bb] Begin changing fts5 to use a delete flag so that delete markers may be annihilated more quickly. (check-in: [9341c070bb] user: dan branch: fts5, size: 7630)
2015-03-04
08:29
[29f79841bf] part of check-in [a5d5468c05] Fix a couple of build problems. (check-in: [a5d5468c05] user: dan branch: fts5, size: 7622)
2015-01-29
20:59
[b92ba0eb67] part of check-in [0e225b1535] Fix some problems with transactions that both read and write an fts5 table. (check-in: [0e225b1535] user: dan branch: fts5, size: 7566)
2015-01-06
19:08
[32dd3c9503] part of check-in [65f0262fb8] Remove the iPos parameter from the tokenizer callback. Fix the "tokenchars" and "separators" options on the simple tokenizer. (check-in: [65f0262fb8] user: dan branch: fts5, size: 7544)
2014-12-03
17:27
[1bc5c762bb] part of check-in [2037dba62f] Begin testing fts5 OOM and IO error handling. (check-in: [2037dba62f] user: dan branch: fts5, size: 7555)
2014-11-28
20:01
[c79d67a5a6] part of check-in [bb4a37b53d] Add a cookie mechanism to ensure that the %_config table is re-read as required. (check-in: [bb4a37b53d] user: dan branch: fts5, size: 7301)
2014-07-23
19:31
[248c61ac9f] part of check-in [bdc58fd28a] Add a snippet() function to fts5. (check-in: [bdc58fd28a] user: dan branch: fts5, size: 6814)
2014-07-19
20:27
[00361d4a70] part of check-in [1e9053abda] Add simple tests for the xColumnText() extension api. (check-in: [1e9053abda] user: dan branch: fts5, size: 6797)
2014-07-18
19:59
[71cf2016b2] part of check-in [16352d3654] Fix issues with position lists and NEAR constraints. (check-in: [16352d3654] user: dan branch: fts5, size: 6056)
2014-07-16
19:15
[b7aa6cdf4a] part of check-in [1e2a7ba088] Begin adding interface for auxiliary functions. (check-in: [1e2a7ba088] user: dan branch: fts5, size: 5726)
2014-07-08
16:27
[83b463a179] part of check-in [75ebd3cd59] Add support for prefix queries to fts5. (check-in: [75ebd3cd59] user: dan branch: fts5, size: 5147)
2014-07-02
20:18
Added: [f1a26a79e2] part of check-in [2e5652e652] Add support for phrase queries to fts5. (check-in: [2e5652e652] user: dan branch: fts5, size: 3580)