equal
deleted
inserted
replaced
597 @check_not_closed |
597 @check_not_closed |
598 def check(self): |
598 def check(self): |
599 """raise `BadConnectionId` if the connection is no more valid, else |
599 """raise `BadConnectionId` if the connection is no more valid, else |
600 return its latest activity timestamp. |
600 return its latest activity timestamp. |
601 """ |
601 """ |
602 self._repo.check_session(self.sessionid) |
602 return self._repo.check_session(self.sessionid) |
603 |
603 |
604 def _txid(self, cursor=None): # XXX could now handle various isolation level! |
604 def _txid(self, cursor=None): # XXX could now handle various isolation level! |
605 # return a dict as bw compat trick |
605 # return a dict as bw compat trick |
606 return {'txid': currentThread().getName()} |
606 return {'txid': currentThread().getName()} |
607 |
607 |