equal
deleted
inserted
replaced
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 |