From 009db05cc7acf719df8b8f37af538b642f872f83 Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Mon, 7 Oct 2024 02:50:30 +0200 Subject: [PATCH] add db_support_partial_index flag to db.py (required by 3rd party lib diskcache) --- sickgear/db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sickgear/db.py b/sickgear/db.py index 755932e9..6e3a7222 100644 --- a/sickgear/db.py +++ b/sickgear/db.py @@ -41,6 +41,7 @@ if False: db_lock = threading.Lock() db_support_multiple_insert = (3, 7, 11) <= sqlite3.sqlite_version_info # type: bool +db_support_partial_index = (3, 8, 0) <= sqlite3.sqlite_version_info # type: bool db_support_column_rename = (3, 25, 0) <= sqlite3.sqlite_version_info # type: bool db_support_upsert = (3, 25, 0) <= sqlite3.sqlite_version_info # type: bool db_supports_backup = hasattr(sqlite3.Connection, 'backup') and (3, 6, 11) <= sqlite3.sqlite_version_info # type: bool