We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7656fae commit 39fece7Copy full SHA for 39fece7
sqlite_s3_query.py
@@ -295,11 +295,7 @@ def get_pp_stmt(statement):
295
raise Exception('Attempting to use finalized statement') from None
296
297
def finalize(statement):
298
- # In case there are errors, don't attempt to re-finalize the same statement
299
- try:
300
- pp_stmt = statements.pop(statement)
301
- except KeyError:
302
- return
+ pp_stmt = statements.pop(statement)
303
304
try:
305
run_with_db(db, libsqlite3.sqlite3_finalize, pp_stmt)
0 commit comments