[dbapi] Connection.check() must return the latest activity timestamp (dropped accidentally during latest merge)
--- a/dbapi.py Tue Sep 21 16:33:20 2010 +0200
+++ b/dbapi.py Tue Sep 21 16:35:37 2010 +0200
@@ -599,7 +599,7 @@
"""raise `BadConnectionId` if the connection is no more valid, else
return its latest activity timestamp.
"""
- self._repo.check_session(self.sessionid)
+ return self._repo.check_session(self.sessionid)
def _txid(self, cursor=None): # XXX could now handle various isolation level!
# return a dict as bw compat trick