Skip to content

Commit

Permalink
Bug fix: close: discard stale cursor.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtobey committed Apr 29, 2014
1 parent 2326f41 commit 74e627b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Abe/SqlAbstraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ def close(sql):
sql.sqllog.info("CLOSE")
conn.close()
sql._conn = None
sql._cursor = None

def configure(sql):
sql.configure_ddl_implicit_commit()
Expand Down

0 comments on commit 74e627b

Please sign in to comment.