[connection] give access to is_internal_session boolean
authorpierre-yves
Mon, 27 May 2013 16:42:39 +0200
changeset 9023 67f242261dd3
parent 9022 a1cee6915ea3
child 9024 701b19785f1d
[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
server/session.py
--- 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 = {}