anki/rslib
Damien Elmes 90fa38495e reindex when checking database
Came across a user with a corrupt index:

sqlite> pragma integrity_check;
 integrity_check = wrong # of entries in index ix_revlog_cid
 integrity_check = wrong # of entries in index ix_cards_sched

This is not picked up by a quick check, and a vacuum does not
fix it, but a reindex does.

AnkiWeb currently performs a full check when a file is uploaded
to it, so this was leading to "corrupt" to show up when syncing
the collection, with a local DB check not reporting/fixing the issue.
2020-10-05 17:40:43 +10:00
..
ftl log manual reschedule, but ignore the log entry in the stats 2020-09-02 17:56:23 +10:00
src reindex when checking database 2020-10-05 17:40:43 +10:00
templates migrate card stats to backend 2020-06-15 17:22:16 +10:00
tests/support fix missing newline in ftl files 2020-03-09 18:58:41 +10:00
.gitignore tweaking the folder names again 2020-01-03 07:48:38 +10:00
build.rs rs: remove most &mut references in BackendService 2020-09-05 19:37:59 +10:00
Cargo.toml bump version 2020-10-02 10:22:21 +10:00
Makefile Also bump rslib version on make_check 2020-05-11 13:29:12 -03:00
README.md use support URL and point to source repo 2020-04-03 08:44:59 +10:00
rust-toolchain rust: switch to stable compilers 2020-09-05 19:39:51 +10:00

To build from scratch, please see https://github.com/ankitects/anki