mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
analyze after adding index
This commit is contained in:
parent
598b2e79e9
commit
c5cabb7e84
1 changed files with 1 additions and 0 deletions
|
@ -3135,6 +3135,7 @@ nextFactor, reps, thinkingTime, yesCount, noCount from reviewHistory""")
|
|||
deck.s.commit()
|
||||
if deck.version < 36:
|
||||
DeckStorage._addIndices(deck)
|
||||
deck.s.execute("analyze")
|
||||
deck.version = 36
|
||||
deck.s.commit()
|
||||
# executing a pragma here is very slow on large decks, so we store
|
||||
|
|
Loading…
Reference in a new issue