diff -r 0f969e5c579a -r 274a5a6080a7 server/session.py --- a/server/session.py Fri Jun 18 13:32:54 2010 +0200 +++ b/server/session.py Fri Jun 18 14:56:01 2010 +0200 @@ -285,7 +285,7 @@ return source.doexec(self, sql, args, rollback=rollback_on_failure) except (source.OperationalError, source.InterfaceError): source.warning("trying to reconnect") - self.pool.reconnect(self) + self.pool.reconnect(source) return source.doexec(self, sql, args, rollback=rollback_on_failure) def set_language(self, language):