/ All files named "ext/fts5/fts5_hash.c"
Login

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

History for ext/fts5/fts5_hash.c

2020-10-12
18:09
[1aa93c9b] part of check-in [7e17c2f4] Fix some fts5 problems with signed integer overflow causing segfaults in -ftrapv builds. (check-in: [7e17c2f4] user: dan branch: trunk, size: 15843)
2020-09-17
15:16
[15bffa73] part of check-in [9a55601d] Fix a problem in fts5 causing the in-memory hash table to be flushed more often than necessary. (check-in: [9a55601d] user: dan branch: trunk, size: 15810)
2020-07-29
16:18
[72b74685] 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: 15833)
2019-09-03
19:40
[2b114927] part of check-in [b54aa18b] Fix a buffer overread that could occur when running fts5 prefix queries inside a transaction. (check-in: [b54aa18b] user: dan branch: branch-3.18, size: 14976)
19:29
[bd1b7910] part of check-in [b584fd36] Fix a buffer overread that could occur when running fts5 prefix queries inside a transaction. (check-in: [b584fd36] user: dan branch: branch-3.9, size: 13046)
18:43
[d1e75e76] part of check-in [0770363b] Fix a buffer overread that could occur when running fts5 prefix queries inside a transaction. (check-in: [0770363b] user: drh branch: branch-3.19, size: 15215)
18:36
[3a82cb75] part of check-in [68b89838] Fix a buffer overread that could occur when running fts5 prefix queries inside a transaction. (check-in: [68b89838] user: drh branch: branch-3.22, size: 15259)
2019-03-20
05:45
[1cc00956] part of check-in [1c0fe5b5] Fix various harmless compiler warnings seen with MSVC. (check-in: [1c0fe5b5] user: mistachkin branch: noWarnings, size: 15833)
2019-03-18
15:49
[c27852a6] part of check-in [b3fa58dd] Fix a buffer overread that could occur when running fts5 prefix queries inside a transaction. (check-in: [b3fa58dd] user: dan branch: trunk, size: 15820)
15:23
[85e9a268] part of check-in [45c73deb] Fix an fts5 problem with interleaving reads and writes in a single transaction. (check-in: [45c73deb] user: dan branch: trunk, size: 15780)
2019-01-08
20:02
[d415f5ad] 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: 15309)
2019-01-07
16:52
[ad22ab3d] part of check-in [d0e943d9] Fix another potential buffer overread in fts5. (check-in: [d0e943d9] user: dan branch: trunk, size: 15265)
2017-05-24
15:32
[32be400c] part of check-in [57a60e95] Fix harmless compiler warnings in FTS5. (check-in: [57a60e95] user: mistachkin branch: trunk, size: 15219)
2017-05-19
12:32
[534d5591] part of check-in [35f72104] Fix some problems in fts5 code detected by -fsanitize=undefined. (check-in: [35f72104] user: dan branch: trunk, size: 15175)
2016-04-12
20:05
[880998e5] part of check-in [ab69527c] More harmless compiler warning fixes. (check-in: [ab69527c] user: mistachkin branch: warnings, size: 14930)
2016-02-12
17:56
[f3a7217c] part of check-in [13058020] Fix a fairly obscure buffer overread in fts5. (check-in: [13058020] user: dan branch: trunk, size: 14918)
2015-12-30
19:58
[1b113977] part of check-in [ac8f4cf0] Updates to fts5 to support detail=none mode. As of this commit, many cases are still broken. (check-in: [ac8f4cf0] user: dan branch: fts5-offsets, size: 14837)
2015-12-28
19:55
[8b510868] part of check-in [228b4d10] Change the name of the offsets=0 option to "detail=column". Have the xInst, xPhraseFirst and other API functions work by parsing the original text for detail=column tables. (check-in: [228b4d10] user: dan branch: fts5-offsets, size: 13546)
2015-12-17
20:36
[d4a6b52f] part of check-in [40b5bbf0] 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: [40b5bbf0] user: dan branch: fts5-offsets, size: 13439)
2015-12-16
23:30
[25838d52] part of check-in [1d0e6aa1] Fix even more harmless compiler warnings. (check-in: [1d0e6aa1] user: mistachkin branch: msvcWarn, size: 13015)
2015-10-14
20:34
[a9d4c1ef] part of check-in [1c46c194] Fix harmless compiler warnings. (check-in: [1c46c194] user: mistachkin branch: trunk, size: 13011)
2015-07-27
11:01
[4bf4b997] part of check-in [ad6286ab] Remove a potentially undefined behaviour involving signed integers and bitshift operations from fts5_hash.c. (check-in: [ad6286ab] user: dan branch: fts5-btree-index, size: 13001)
2015-07-16
20:17
[ff07722c] part of check-in [e9bf275c] Fix compiler warnings in fts5 code. (check-in: [e9bf275c] user: dan branch: trunk, size: 12947)
2015-07-02
15:52
[219f4edd] part of check-in [7819002e] 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: [7819002e] user: dan branch: trunk, size: 12827)
2015-05-30
11:49
[c1cfdb2c] part of check-in [e008c3c8] Remove the "#include sqlite3Int.h" from fts5Int.h. (check-in: [e008c3c8] user: dan branch: fts5, size: 12885)
2015-05-07
19:29
[54dd2534] part of check-in [a684b5e2] Change to storing all keys in a single merge-tree structure instead of one main structure and a separate one for each prefix index. This is a file-format change. Also introduce a mechanism for managing file-format changes. (check-in: [a684b5e2] user: dan branch: fts5, size: 12865)
2015-04-28
18:35
[29d8b066] part of check-in [8e8136f2] Improve coverage of fts5 tests. (check-in: [8e8136f2] user: dan branch: fts5, size: 12415)
2015-04-14
20:15
[3cb5a3d0] part of check-in [9341c070] Begin changing fts5 to use a delete flag so that delete markers may be annihilated more quickly. (check-in: [9341c070] user: dan branch: fts5, size: 12419)
2015-04-11
16:23
[7c134ed0] part of check-in [49c1e745] Improve fts5 integrity-check so that it checks that DESC queries return the same as ASC. Change the poslist format slightly to make room for a delete-flag. (check-in: [49c1e745] user: dan branch: fts5, size: 12168)
2015-03-07
15:46
[9959b540] part of check-in [cccee7b5] Fix some compiler warnings caused by signed/unsigned pointer conversions. (check-in: [cccee7b5] user: dan branch: fts5, size: 12104)
11:50
[13fcefb5] part of check-in [3ee7b5a9] Fix the bm25() function so that it multiplies scores by -1 before returning them. This means better matches have a lower numerical score, so "ORDER BY rank" (not "ORDER BY rank DESC") does what you want. (check-in: [3ee7b5a9] user: dan branch: fts5, size: 12082)
2015-03-04
08:29
[6bc0f78c] part of check-in [a5d5468c] Fix a couple of build problems. (check-in: [a5d5468c] user: dan branch: fts5, size: 12747)
2015-02-27
07:23
[63ad0066] part of check-in [bb104b36] Fix suffix and prefix compression of terms in top-level fts5 segments. And a crash that could follow an OOM condition. (check-in: [bb104b36] user: dan branch: fts5, size: 12687)
2015-02-26
20:49
[323099a4] part of check-in [8e3ca632] Optimize copying data from fts5 in-memory hash tables to top level segments. (check-in: [8e3ca632] user: dan branch: fts5, size: 12681)
2015-02-25
19:24
[9032dd35] part of check-in [7eb022d7] Instead of the 4-byte fields, use regular varints for the poslist-size field in fts5_hash.c. (check-in: [7eb022d7] user: dan branch: fts5, size: 14127)
2015-01-31
15:23
[57febfb0] part of check-in [1fffe51f] Minor optimizations to fts5 writes. (check-in: [1fffe51f] user: dan branch: fts5, size: 13993)
2015-01-29
20:59
[b54822ca] part of check-in [0e225b15] Fix some problems with transactions that both read and write an fts5 table. (check-in: [0e225b15] user: dan branch: fts5, size: 13605)
2015-01-24
19:57
[4ab952b7] part of check-in [5206ca60] Have fts5 store rowids in ascending order. Query speed is virtually the same regardless of rowid order, and ascending order makes some insert optimizations easier. (check-in: [5206ca60] user: dan branch: fts5, size: 11357)
2015-01-22
19:13
[7a87f9f2] part of check-in [5b295897] Add further tests and fixes for fts5. (check-in: [5b295897] user: dan branch: fts5, size: 11046)
2014-08-12
08:36
[63fa8379] part of check-in [f1cb48f4] Automatically resize the hash table used by fts5. (check-in: [f1cb48f4] user: dan branch: fts5, size: 10912)
2014-08-11
19:44
Added: [2af412d0] part of check-in [617e2fac] Replace the hash table borrowed from fts3. (check-in: [617e2fac] user: dan branch: fts5, size: 9950)