Permalink
Browse files

delete trans_handle, not begin() at commit() and rollback()

  • Loading branch information...
1 parent c79dd06 commit 876dabefd8428ae232db254b9b8dbeed8a62d68e @nakagami committed Jun 8, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 firebirdsql/fbcore.py
View
4 firebirdsql/fbcore.py
@@ -1140,12 +1140,12 @@ def begin(self):
def commit(self):
self._op_commit()
(h, oid, buf) = self._op_response()
- self.begin()
+ delattr(self, "trans_handle")
def rollback(self):
self._op_rollback()
(h, oid, buf) = self._op_response()
- self.begin()
+ delattr(self, "trans_handle")
def close(self):
if not hasattr(self, "db_handle"):

0 comments on commit 876dabe

Please sign in to comment.