From 73587b1e164e295e02314b24d3682db44b210099 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 28 Nov 2017 06:55:55 +0100 Subject: [PATCH] Add SQLITE_CORRUPT to environmental SQL errors --- qutebrowser/misc/sql.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/misc/sql.py b/qutebrowser/misc/sql.py index bcc5bac82..00527e7fe 100644 --- a/qutebrowser/misc/sql.py +++ b/qutebrowser/misc/sql.py @@ -70,6 +70,7 @@ class SqliteError(SqlError): environmental_errors = [ '5', # SQLITE_BUSY ("database is locked") '8', # SQLITE_READONLY + '11', # SQLITE_CORRUPT '13', # SQLITE_FULL ] # At least in init(), we can get errors like this: