server/ssplanner.py
branchstable
changeset 8127 96d343a5e01b
parent 8020 52e250f307b6
child 8562 0d2fb4604265
child 8853 f61755c05c89
--- a/server/ssplanner.py	Fri Dec 09 12:57:22 2011 +0100
+++ b/server/ssplanner.py	Mon Dec 12 12:09:49 2011 +0100
@@ -392,7 +392,8 @@
         # cachekey
         if inputmap or self.plan.cache_key is None:
             cachekey = None
-        # union may have been splited into subqueries, rebuild a cache key
+        # union may have been splited into subqueries, in which case we can't
+        # use plan.cache_key, rebuild a cache key
         elif isinstance(self.plan.cache_key, tuple):
             cachekey = list(self.plan.cache_key)
             cachekey[0] = union.as_string()