From 1ca7fb4a80fe93d3b575fc13e166e66fcc6f3953 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 18 Apr 2020 10:21:31 +1000 Subject: [PATCH] use quick check instead of full integrity check on collection close --- qt/aqt/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/main.py b/qt/aqt/main.py index d98f812ef..0743831c7 100644 --- a/qt/aqt/main.py +++ b/qt/aqt/main.py @@ -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: