Skip to content

Commit b5309c9

Browse files
committed
Add temp_store to the SQLite3 debug output
1 parent e8c5f0d commit b5309c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

coverage/sqldata.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,11 +952,13 @@ def sys_info(cls):
952952
953953
"""
954954
with SqliteDb(":memory:", debug=NoDebugging()) as db:
955+
temp_store = [row[0] for row in db.execute("pragma temp_store")]
955956
compile_options = [row[0] for row in db.execute("pragma compile_options")]
956957

957958
return [
958959
('sqlite3_version', sqlite3.version),
959960
('sqlite3_sqlite_version', sqlite3.sqlite_version),
961+
('sqlite3_temp_store', temp_store),
960962
('sqlite3_compile_options', compile_options),
961963
]
962964

0 commit comments

Comments
 (0)