Go to file
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
.github vendor rsync binary 2020-10-05 14:09:59 +10:00
meta bump version 2020-10-02 10:22:21 +10:00
proto set_deck() 2020-09-03 17:42:46 +10:00
pylib bump version 2020-10-02 10:22:21 +10:00
qt fix IndexError when switching notetypes 2020-10-05 13:33:54 +10:00
rslib reindex when checking database 2020-10-05 17:40:43 +10:00
rspy bump version 2020-10-02 10:22:21 +10:00
scripts vendor rename script 2020-04-14 19:49:07 +10:00
ts "fix" ts failing in CI due to improved upstream type signatures 2020-09-29 22:13:25 +10:00
.gitattributes added *.sh eol=lf to .gitattributes because several files have crlf endings. 2020-10-02 11:55:36 +01:00
.gitignore save profile stats to file instead of generating report 2020-05-16 12:53:01 +10:00
CONTRIBUTORS Fix "Sign Up" link location 2020-10-04 18:14:49 +01:00
Dockerfile Update Dockerfile and add README.docker 2020-09-08 14:58:25 -04:00
LICENSE vendor rename script 2020-04-14 19:49:07 +10:00
Makefile Fix make fix not working on a clean install 2020-08-21 22:15:14 -03:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
README.contributing Revert "Merge pull request #729 from evandroforks/upload_rslib_artifacts" 2020-08-21 19:56:17 +10:00
README.development add pointers to other README files 2020-09-09 10:01:42 +10:00
README.docker add pointers to other README files 2020-09-09 10:01:42 +10:00
README.md drop alpha warning 2020-07-01 15:01:51 +10:00
run remove python version debugging from ./run 2020-04-20 11:21:27 +10:00

This repo contains all the code for the computer version of Anki.

If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/#/

For more information on building, please see README.development.

If you'd like to contribute code, please see README.contributing.