server/querier.py
changeset 10246 ef106564b523
parent 10087 ed0b076c119b
child 10366 38c7598b5c61
equal deleted inserted replaced
10245:7d21c6ac47a3 10246:ef106564b523
   568                 # tree)
   568                 # tree)
   569                 eidkeys = self.solutions(cnx, rqlst, args)
   569                 eidkeys = self.solutions(cnx, rqlst, args)
   570             except UnknownEid:
   570             except UnknownEid:
   571                 # we want queries such as "Any X WHERE X eid 9999" return an
   571                 # we want queries such as "Any X WHERE X eid 9999" return an
   572                 # empty result instead of raising UnknownEid
   572                 # empty result instead of raising UnknownEid
   573                 return empty_rset(rql, args, rqlst)
   573                 return empty_rset(rql, args)
   574             if args and rql not in self._rql_ck_cache:
   574             if args and rql not in self._rql_ck_cache:
   575                 self._rql_ck_cache[rql] = eidkeys
   575                 self._rql_ck_cache[rql] = eidkeys
   576                 if eidkeys:
   576                 if eidkeys:
   577                     cachekey = self._repo.querier_cache_key(cnx, rql, args,
   577                     cachekey = self._repo.querier_cache_key(cnx, rql, args,
   578                                                             eidkeys)
   578                                                             eidkeys)