github
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/sqlite-utils/issues/354#issuecomment-991309759 | https://api.github.com/repos/simonw/sqlite-utils/issues/354 | 991309759 | IC_kwDOCGYnMM47Fi-_ | 9599 | 2021-12-10T21:33:18Z | 2021-12-10T21:33:18Z | OWNER | https://www.sqlite.org/fts5.html#the_rebuild_command says: > This command first deletes the entire full-text index, then rebuilds it based on the contents of the table or [content table](https://www.sqlite.org/fts5.html#external_content_tables). It is not available with [contentless tables](https://www.sqlite.org/fts5.html#contentless_tables). > > `INSERT INTO ft(ft) VALUES('rebuild');` | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1077243232 | |
https://github.com/simonw/sqlite-utils/issues/354#issuecomment-991309002 | https://api.github.com/repos/simonw/sqlite-utils/issues/354 | 991309002 | IC_kwDOCGYnMM47FizK | 9599 | 2021-12-10T21:32:14Z | 2021-12-10T21:32:14Z | OWNER | Here's what the method does: https://github.com/simonw/sqlite-utils/blob/e328db8eba1fbf29a69eda95dfec861954f9e771/sqlite_utils/db.py#L1941-L1952 Maybe I don't need a test that deliberately corrupts the database here? Not sure how to test that `rebuild` has been called though. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1077243232 | |
https://github.com/simonw/sqlite-utils/issues/354#issuecomment-991307422 | https://api.github.com/repos/simonw/sqlite-utils/issues/354 | 991307422 | IC_kwDOCGYnMM47Fiae | 9599 | 2021-12-10T21:29:34Z | 2021-12-10T21:29:34Z | OWNER | Here's the test in question. The way it works is a bit weird (deleting everything in the `_fts_data` table in order to force errors that can be fixed with `.rebuild_fts()`): https://github.com/simonw/sqlite-utils/blob/8ae77a6961fed94ef2c9cc81fcfc7c81d222d9a2/tests/test_fts.py#L257-L285 | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1077243232 | |
https://github.com/simonw/sqlite-utils/issues/354#issuecomment-991306712 | https://api.github.com/repos/simonw/sqlite-utils/issues/354 | 991306712 | IC_kwDOCGYnMM47FiPY | 9599 | 2021-12-10T21:28:27Z | 2021-12-10T21:28:27Z | OWNER | Failures started with this commit, which only touches documentation so is completely unrelated: https://github.com/simonw/sqlite-utils/commit/e328db8eba1fbf29a69eda95dfec861954f9e771 | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1077243232 |