equal
deleted
inserted
replaced
591 with self._cnxset_tracker: |
591 with self._cnxset_tracker: |
592 old_cnxset = self._cnxset |
592 old_cnxset = self._cnxset |
593 if new_cnxset is old_cnxset: |
593 if new_cnxset is old_cnxset: |
594 return #nothing to do |
594 return #nothing to do |
595 if old_cnxset is not None: |
595 if old_cnxset is not None: |
|
596 old_cnxset.rollback() |
596 self._cnxset = None |
597 self._cnxset = None |
597 self.ctx_count -= 1 |
598 self.ctx_count -= 1 |
598 self._cnxset_tracker.forget(self.connectionid, old_cnxset) |
599 self._cnxset_tracker.forget(self.connectionid, old_cnxset) |
599 if new_cnxset is not None: |
600 if new_cnxset is not None: |
600 self._cnxset_tracker.record(self.connectionid, new_cnxset) |
601 self._cnxset_tracker.record(self.connectionid, new_cnxset) |