[entropy.db] EntropyRepository.validateDatabase: call quick_check(1)

This commit is contained in:
Fabio Erculiani
2010-05-19 14:36:23 +02:00
parent f45c11ae1b
commit b8036a79cd
+1 -1
View File
@@ -6393,7 +6393,7 @@ class EntropyRepository(EntropyRepositoryPluginStore, TextInterface):
self.live_cache[live_cache_id] = True
# use sqlite3 pragma
cur = self._cursor().execute("PRAGMA quick_check")
cur = self._cursor().execute("PRAGMA quick_check(1)")
try:
check_data = cur.fetchone()[0]
if check_data != "ok":