use quick check instead of full integrity check on collection close

This commit is contained in:
Damien Elmes 2020-04-18 10:21:31 +10:00
parent e8f4a75bd5
commit 1ca7fb4a80

View file

@ -530,7 +530,7 @@ close the profile or restart Anki."""
try:
self.maybeOptimize()
if not devMode:
corrupt = self.col.db.scalar("pragma integrity_check") != "ok"
corrupt = self.col.db.scalar("pragma quick_check") != "ok"
except:
corrupt = True
try: