# HG changeset patch # User Sylvain Thénault # Date 1280309987 -7200 # Node ID f91b72def7837d5dc15bec70b33088160a05ebea # Parent e04e9ca67ada5daf4d2f7d9f05736b9fbd9dd785 [ms] log after preprocessing, else we don't see the query which is actually planned (may have been modified by security insertion) diff -r e04e9ca67ada -r f91b72def783 server/msplanner.py --- a/server/msplanner.py Tue Jul 27 19:13:27 2010 +0200 +++ b/server/msplanner.py Wed Jul 28 11:39:47 2010 +0200 @@ -1076,14 +1076,14 @@ the rqlst should not be tagged at this point """ - if server.DEBUG & server.DBG_MS: - print '-'*80 - print 'PLANNING', rqlst # preprocess deals with security insertion and returns a new syntax tree # which have to be executed to fulfill the query: according # to permissions for variable's type, different rql queries may have to # be executed plan.preprocess(rqlst) + if server.DEBUG & server.DBG_MS: + print '-'*80 + print 'PLANNING', rqlst ppis = [PartPlanInformation(plan, select, self.rqlhelper) for select in rqlst.children] steps = self._union_plan(plan, ppis)