summaryrefslogtreecommitdiff
path: root/coverage/sqldata.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/sqldata.py')
-rw-r--r--coverage/sqldata.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/coverage/sqldata.py b/coverage/sqldata.py
index 03a64b2a..b1adeb96 100644
--- a/coverage/sqldata.py
+++ b/coverage/sqldata.py
@@ -951,9 +951,13 @@ class CoverageData(SimpleReprMixin):
Returns a list of (key, value) pairs.
"""
+ with SqliteDb(":memory:", debug=NoDebugging()) as db:
+ compile_options = [row[0] for row in db.execute("pragma compile_options")]
+
return [
('sqlite3_version', sqlite3.version),
('sqlite3_sqlite_version', sqlite3.sqlite_version),
+ ('sqlite3_compile_options', compile_options),
]