server/sources/native.py
branchstable
changeset 5690 6de8437b06bd
parent 5649 a07dee204187
child 5691 ba2347050144
child 5729 b00cf7fbff31
equal deleted inserted replaced
5684:015755f67e46 5690:6de8437b06bd
   254         self._cache = Cache(repo.config['rql-cache-size'])
   254         self._cache = Cache(repo.config['rql-cache-size'])
   255         self._temp_table_data = {}
   255         self._temp_table_data = {}
   256         # we need a lock to protect eid attribution function (XXX, really?
   256         # we need a lock to protect eid attribution function (XXX, really?
   257         # explain)
   257         # explain)
   258         self._eid_creation_lock = Lock()
   258         self._eid_creation_lock = Lock()
   259         self._eid_creation_cnx = self.get_connection()
   259         self._eid_creation_cnx = None
   260         # (etype, attr) / storage mapping
   260         # (etype, attr) / storage mapping
   261         self._storages = {}
   261         self._storages = {}
   262         # entity types that may be used by other multi-sources instances
   262         # entity types that may be used by other multi-sources instances
   263         self.multisources_etypes = set(repo.config['multi-sources-etypes'])
   263         self.multisources_etypes = set(repo.config['multi-sources-etypes'])
   264         # XXX no_sqlite_wrap trick since we've a sqlite locking pb when
   264         # XXX no_sqlite_wrap trick since we've a sqlite locking pb when