Skip to content
Merged
Prev Previous commit
Next Next commit
Compatibility with older SQLite releases
  • Loading branch information
Erlend E. Aasland committed Oct 26, 2021
commit 9d2aa820f20c0adfa131572a736e8e6a63559e6d
2 changes: 1 addition & 1 deletion Lib/sqlite3/dbapi2.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
def fetch_compile_options():
try:
cx = connect(":memory:")
res = cx.execute("select * from pragma_compile_options")
res = cx.execute("pragma compile_options")
opts = {i[0] for i in res}
finally:
cx.close()
Expand Down