server/sources/native.py
changeset 438 69b79faefa94
parent 0 b97547f5f1fa
child 973 da20ea051d6b
equal deleted inserted replaced
437:5d8dc9678707 438:69b79faefa94
   186     def compile_rql(self, rql):
   186     def compile_rql(self, rql):
   187         rqlst = self.repo.querier._rqlhelper.parse(rql)
   187         rqlst = self.repo.querier._rqlhelper.parse(rql)
   188         rqlst.restricted_vars = ()
   188         rqlst.restricted_vars = ()
   189         rqlst.children[0].solutions = self._sols
   189         rqlst.children[0].solutions = self._sols
   190         self.repo.querier.sqlgen_annotate(rqlst)
   190         self.repo.querier.sqlgen_annotate(rqlst)
   191         set_qdata(rqlst, ())
   191         set_qdata(self.schema.rschema, rqlst, ())
   192         return rqlst
   192         return rqlst
   193     
   193     
   194     def set_schema(self, schema):
   194     def set_schema(self, schema):
   195         """set the application'schema"""
   195         """set the application'schema"""
   196         self._cache = Cache(self.repo.config['rql-cache-size'])
   196         self._cache = Cache(self.repo.config['rql-cache-size'])