aboutsummaryrefslogtreecommitdiff
path: root/ext/fts5
Commit message (Collapse)AuthorAge
* Avoid evaluating special vtab operators (e.g. MATCH) that are part of ON ↵dan2 days
|\ | | | | | | | | clauses attached to left joins from being evaluated too early. Fix for [forum:/forumpost/428ef7c468 | forum post 428ef7c468]. FossilOrigin-Name: 9f184f8dfa5ef6d57e10376adc30e0060ceda07d283c23dfdfe3dbdd6608f839
| * Avoid evaluating special vtab operators (e.g. MATCH) that are part of ON ↵dan5 days
| | | | | | | | | | clauses attached to left joins from being evaluated too early. Possible fix for [forum:/forumpost/428ef7c468 | forum post 428ef7c468]. FossilOrigin-Name: 18ba07c152294a96d510a7851a0860f982ff1e0725afeebed9a343f550f6925a
* | Optimize allocation of large tombstone arrays in fts5.dan3 days
|/ | | FossilOrigin-Name: 0fcc3cbdfa21adf97aed01fa76991cccf9380e2755b0182a9e2c94e3c8fb38d7
* Fix a problem with the fix in [5cb8e342e1].dan9 days
| | | FossilOrigin-Name: 043ff54fb746c54bc6cfa6aa8c8a32c876c09d36163125916ad01024b98d447b
* Fix another problem with running fts5 integrity-check in SQLITE_DEBUG ↵dan9 days
| | | | | builds, this one causing an assert() failure. FossilOrigin-Name: 5cb8e342e1d33a0fd04fd022900eeada46a2ee23f15c6abca1b37633e77429d6
* If SQLITE_DEBUG is defined, fts5 does extra checks as part of ↵dan10 days
| | | | | integrity-check. Ensure that errors from these extra checks are only reported if the other, normal, tests all pass. This fixes a test case in fts5corrupt3.test that was failing if SQLITE_DEBUG was defined. FossilOrigin-Name: 98a53fb276fa1fa733da2dd3255c35ce9f6af9b9feef6e76fb577b6d142167a2
* Fix test case results in FTS5 that were changed error message improvementsdrh10 days
| | | | | in [48044a6b57c0a16c] but which were omitted from that check-in. FossilOrigin-Name: e1f8e0240b14f1338e947634e840af785e5042a09cd365975e922a13a562f4cd
* Fix harmless compiler warnings.drh14 days
| | | FossilOrigin-Name: 13af4acebe09b047756c22b800136cffaba532e7fcaa448a4edf4fedb94e9bbc
* Avoid an assert() failure in fts5 that may occur when processing corrupt ↵dan2025-07-01
| | | | | records. FossilOrigin-Name: 8afd6ca85724a69970181042d6aac53742ea2b76ded5966b2541c3afe1121fb9
* Improve some of the error messages emitted by fts5 when it encounters ↵dan2025-06-23
| | | | | corruption. FossilOrigin-Name: 48044a6b57c0a16cb75139c103ad88ca4ab64d74f70a3dee0d8b817fbfbec3c6
* Fix a problem with UPDATEs on fts5 tables that contain blob values.dan2025-06-11
| | | FossilOrigin-Name: badf3014bd1620fd3d4b8013f641fd820b249649fb93cc75b7b8df9dfd6f32a6
* Use a more robust backup definition for offsetof().drh2025-05-30
| | | FossilOrigin-Name: 22441955e03df07903b98832a60c05c53721cd67c667f6c83d5e97fcc62735ee
* Add "include <stddef.h>" to fts5 and rtree to ensure that they use the ↵dan2025-05-30
| | | | | system version of the offsetof() macro when it is available, as the built-in version triggers ubsan errors with clang. FossilOrigin-Name: 838deb7f3423df84061a043928ed34e1d74e2e7d57ef1a9519bb32fea82e4352
* Fix a problem in the fts5matchinfo.test file that prevented it fromdrh2025-04-22
| | | | | working on Mac. FossilOrigin-Name: 5a411c609ba0ee17b1ce5bd0b40b9ded92d76f35933f92b2e02a58a3f169c715
* Remove unnecessary "www." prefixes on domain names in URLs.drh2025-04-10
| | | FossilOrigin-Name: 20acd630b91609725794ce84f9eda01d5f3c898407f0948264830851d25ccaa6
* Prevent integer overflow when parsing NEAR queries in FTS5.drh2025-03-17
| | | FossilOrigin-Name: 1a5283d7dab210badb8a33eac29f44dc8c1c210ffb5ef84f43e348170aa406a6
* Use flexible arrays whereever appropriate in FTS5.drh2025-03-15
| | | FossilOrigin-Name: 16dfc415b6e98a2acae79a24bb0afd401e60efc27cbdd1603a426fd33e17d427
* Convert the Fts5Sorter.aIdx field to a flexible array.drh2025-03-15
| | | FossilOrigin-Name: 28ac776a23da2753265a7fe2ee2ebb09964815fc9058e69c08275fc217842edc
* Turn Fts5Colset.aiCol into a flexible array.drh2025-03-14
| | | FossilOrigin-Name: 0c4d9c74741794468adc444908f6024f016738aa2852d3a646f2c28d079d9446
* Approximately 100 typo corrections spanning the whole tree, submitted via ↵stephan2025-02-27
| | | | | [forum:0db9827f0464bc33|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. FossilOrigin-Name: f50c21484d3cac73589da0376c423de39ae8b842218105786c5aa3726e4dcaed
* Approximately 50 typo fixes, spanning the whole tree, contributed via ↵stephan2025-02-25
| | | | | [forum:006c8fa165083ac3|forum post 006c8fa165083ac3] and individually checked for correctness. Affects only code comments, docs, and a single line of debug output in a test app. FossilOrigin-Name: af928818a030924060ee0762431dae0f16d53a62f4e1132754d052eb9c621ac2
* Have SQLITE_FTS5_ENABLE_TEST_MI builds avoid reading the database schema fromdan2025-02-18
| | | | | within sqlite3_open(). FossilOrigin-Name: 15dc524fd4113026cc542140c39c1c8f9e052d36946f0c599f282d9ac27efdab
* Additional changes making it easier to prove that integer overflow does notdrh2025-02-17
| | | | | occur. No problems found. FossilOrigin-Name: e846743a875430a5c51d41f00ac9532214f97d9925e6261113b63580f92369fc
* Fix for a potential UAF in FTS5.drh2025-02-03
|\ | | | | FossilOrigin-Name: e33f2fedda17b4f3678fc23c438093c256b0c125da5f1ac42ecaf3d604d54b6a
| * Fix a use-after-free case in fts5 provoked by fuzzdata8.db. Tcl test case ↵dan2025-02-03
| | | | | | | | | | pending. FossilOrigin-Name: a4962df665084e423e020be9a2834b6886a8e3feb461cff5358b61398a2a20d2
* | Make two private routines in FTS "static" so that they are not callable fromdrh2025-01-26
| | | | | | | | | | outside of SQLite itself. FossilOrigin-Name: 9b11bed0448b95319206b413c35f23bb80f3f4c0a4394d40f2e64066400a01ed
* | Have fts5 better handle OOM errors from sqlite3_blob_close().dan2025-01-21
| | | | | | FossilOrigin-Name: f418350f3f83147bc5817a885be6e39ff9ff5722742a88d17600729c53c65010
* | Fix an assert() that could fail if a virtual table called sqlite3_step() ↵dan2025-01-20
|/ | | | | from within the xSync() method while committing a "PRAGMA defer_foreign_keys=1" transaction. FossilOrigin-Name: 39bdbb3f6dd1d30d180526d35c11f789f5e9d45b99ead72fd4a3b136afab66b1
* When removing an fts5 in secure-delete mode, defer setting the table version ↵dan2025-01-09
| | | | | to SECUREDELETE until flushing data to disk. This prevents problems that can occur if there is a rollback or statement rollback operation. FossilOrigin-Name: c359e555ceafcaab2ae38074bc4f57cccdc5bc6080d17f82290c09b9e5dd80c2
* Fix another assert() failure in fts5.dan2025-01-08
| | | FossilOrigin-Name: 6da37893f5b5729ea5fd632e8d98789e867488a67501d4a4dad92f8e7cb6bda0
* Fix a crash in fts5 that could occur if shadow tables are modified or removed.dan2025-01-08
| | | FossilOrigin-Name: c0b691095ae72fc07530777ef6d23688fb4196ce2e0feff14fc3c597c572252d
* Four new assert() statements to help with static analysis.drh2024-12-29
| | | FossilOrigin-Name: e7f7c9d22be8a17b9a4d8f954fcdd40591ba9da5fb674f1184f960bca5f3d30b
* Fix more harmless compiler warnings.drh2024-12-07
| | | FossilOrigin-Name: f5b8fd77635e5e6d2d88a1ce74e1bd6c4311260a2b695e5055b898b880bf5718
* Fix an inaccuracy in the documentation in fts5.h.dan2024-11-27
| | | FossilOrigin-Name: ec3ca6f17972a9624018ae352e5a4be8dc34602a4569c80e827e09cd7fbed7f7
* Update fts5 so that the xInstToken() extension API works with prefix queries.dan2024-11-26
|\ | | | | FossilOrigin-Name: 41b79bde4a4b6510b41cc9175ff2527fbd3ca9209812361783754f24cf67ef9e
| * Update documentation in fts5.h.dan2024-11-26
| | | | | | FossilOrigin-Name: f1e44f703acb415e2ff7d7f87fa05fc874ef1c432095bb3ccb45c6ad2fd085a9
| * Fix compiler warnings caused by variable shadowing.dan2024-11-20
| | | | | | FossilOrigin-Name: 211b305791980b24c4192ffc57a0471473de3fca32bfc146c0eeacedef7a88aa
| * Merge latest trunk changes into this branch.dan2024-11-06
| |\ | | | | | | FossilOrigin-Name: edb842349320eda9550bdfcd5a327949c5512e02f4b993782587b2131a425746
| * | Add tests for xInstToken() and prefix queries with various fts5 configurations.dan2024-11-06
| | | | | | | | | FossilOrigin-Name: 9cc04331a01760189d88697233009dbe8a60eda589792ad01b56300499e9f54d
| * | Allow an fts5 table or query to be configured to collect xInstToken data for ↵dan2024-11-02
| | | | | | | | | | | | | | | any prefix terms as part of the first parse of the main index, if any. FossilOrigin-Name: 46929ae92b26f02bc70de9931b21a8a7cf9a2453d5fb07f68b712f62e28e9152
| * | Merge latest trunk changes into this branch.dan2024-10-28
| |\ \ | | | | | | | | FossilOrigin-Name: bce9a524de6dda87daa90395cd55713d2d3ccfc090e53a947548e434db5eef5e
| * \ \ Merge latest trunk into this branch.dan2024-10-27
| |\ \ \ | | | | | | | | | | FossilOrigin-Name: 740a37c5d54b57befa86a6bb299ffa89ed4243d10db885a08ab5c63238460dad
| * | | | Rationalize code further. And add tests.dan2024-10-01
| | | | | | | | | | | | | | | FossilOrigin-Name: 0ca002a4ab88f3e7ae1e6e518038157eaa20759f57888c2ed7e50cb92bd96348
| * | | | Rationalize some of the new code on this branch.dan2024-09-28
| | | | | | | | | | | | | | | FossilOrigin-Name: 66f209ba40e7de49b304d7931ff38a4994038452aab08e9347286a234c6f7075
| * | | | Change the way tokendata indexes are collected for prefix queries.dan2024-09-25
| | | | | | | | | | | | | | | FossilOrigin-Name: 204ddf4e726b695dd12ab4a945ec2461655aa0bcc38b74e970f07ed2ac43c6ff
| * | | | Fix the fts5 xInstToken() API for prefix queries that do not use ↵dan2024-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | prefix-indexes. This is experimental. FossilOrigin-Name: 97c2824f471e7e622c4a166947a6e8162cae891345101539829a6fcec83373fe
* | | | | Fix a "applying zero offset to null pointer" usan error in the fts5 trigram ↵dan2024-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | tokenizer. FossilOrigin-Name: 9b79b999d4192a3a250bf343825f61e9cb83203e4d94dcfa20c320d5f1386d69
* | | | | Ensure that the sqlite3_index_info.idxStr string coming back from FTS5drh2024-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is always zero-terminated, even if the xBestIndex call fails with an SQLITE_CONSTRAINT error. FossilOrigin-Name: a4e976a030851357049e672bbc0ff66d9cc152b3d5f8e03fff36a7c6f060a755
* | | | | Fix the fts5 trigram tokenizer so that it handles non-nul-terminated strings.dan2024-11-11
| |_|_|/ |/| | | | | | | FossilOrigin-Name: 84f4e37178a65e3128ac0240d37ac40df08b4050ab070d10707e35d11dcbeb10
* | | | Fix harmless compiler warnings.drh2024-11-04
| |_|/ |/| | | | | FossilOrigin-Name: bc93e17924f732468282c5e7a483811d27af573a47aec8ba806f4fe3c5919893