Visitar URL original
bpo-45613: Set `sqlite3.threadsafety` dynamically by erlend-aasland · Pull Request #29227 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Compatibility with older SQLite releases
  • Loading branch information
Erlend E. Aasland
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