[connection] give access to is_internal_session boolean
Needed if we are to use this object like we currently do with session.
Related to #2503918
--- a/server/session.py Fri Jun 14 13:39:49 2013 +0200
+++ b/server/session.py Mon May 27 16:42:39 2013 +0200
@@ -406,6 +406,8 @@
self._cnxset_tracker = session._cnxset_tracker
#: is this connection from a client or internal to the repo
self.running_dbapi_query = True
+ # internal (root) session
+ self.is_internal_session = session.is_internal_session
#: dict containing arbitrary data cleared at the end of the transaction
self.data = {}